-
Notifications
You must be signed in to change notification settings - Fork 496
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exclude the dashboard from the manifest #3601
Conversation
f25f4d0
to
b5dbc98
Compare
/backport to release/8.0 |
Started backporting to release/8.0: https://github.com/dotnet/aspire/actions/runs/8643722508 |
@davidfowl backporting to release/8.0 failed, the patch most likely resulted in conflicts: $ git am --3way --ignore-whitespace --keep-non-patch changes.patch
Applying: Exclude the dashboard from the manifest when its a project - Added a test
Using index info to reconstruct a base tree...
M src/Aspire.Hosting/DistributedApplicationBuilder.cs
M tests/Aspire.Hosting.Tests/Dashboard/DashboardResourceTests.cs
Falling back to patching base and 3-way merge...
Auto-merging tests/Aspire.Hosting.Tests/Dashboard/DashboardResourceTests.cs
CONFLICT (content): Merge conflict in tests/Aspire.Hosting.Tests/Dashboard/DashboardResourceTests.cs
Auto-merging src/Aspire.Hosting/DistributedApplicationBuilder.cs
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 Exclude the dashboard from the manifest when its a project - Added a test
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
Error: The process '/usr/bin/git' failed with exit code 128 Please backport manually! |
@davidfowl an error occurred while backporting to release/8.0, please check the run log for details! Error: git am failed, most likely due to a merge conflict. |
/backport to release/8.0 |
Started backporting to release/8.0: https://github.com/dotnet/aspire/actions/runs/8647982682 |
This is a regression from the refactoring. We used to always exclude the dashboard resource which made it work for the playground samples. After the change, we don't look at the dashboard if we're not in run mode, this stops our playground samples from being deployed because we explicitly add the dashboard as a project resource.
This change excludes the dashboard if it is a project resource.