-
Notifications
You must be signed in to change notification settings - Fork 709
Revamp activity reporter to support multiple steps and tasks in parallel #11780
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
Conversation
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/dotnet/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 11780Or
iex "& { $(irm https://raw.githubusercontent.com/dotnet/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 11780" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR revamps the publishing activity reporter to support multiple steps and tasks running in parallel, removing the previous limitation where interactions were blocked when steps were in progress. The changes enable a more flexible deployment pipeline UI that can handle concurrent operations.
Key changes:
- Removed blocking behavior for user interactions during step execution
- Replaced the progress-based UI with a log-style output renderer that supports parallel operations
- Simplified the activity processing logic by removing complex progress context management
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
tests/Aspire.Hosting.Tests/Publishing/PublishingActivityReporterTests.cs |
Updated test to verify interactions are now allowed during step execution instead of being blocked |
src/Aspire.Hosting/Publishing/PublishingActivityReporter.cs |
Removed the blocking logic that prevented interactions when steps were in progress |
src/Aspire.Cli/Commands/PublishCommandBase.cs |
Completely rewrote the UI rendering system from progress bars to a log-style output with spinner and color-coded messages |
|
video? |
|
|
Needs work. @maddymontaquila please try |
02b4bbb to
5d7d57a
Compare
48a37ce to
ef8576f
Compare
Closes #11524 and contributes towards #11750.
We want to make it easier to model steps and tasks in a deployment pipeline. One of the concrete limitatiosn is the way we map PublishingSteps/PublishingTasks to UI elements. This adjusts the CLI UI so that we can do parallel steps and create new steps while others are in progress.