Skip to content

Conversation

@captainsafia
Copy link
Member

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.

@Copilot Copilot AI review requested due to automatic review settings October 1, 2025 17:37
@github-actions
Copy link
Contributor

github-actions bot commented Oct 1, 2025

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/dotnet/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 11780

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/dotnet/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 11780"

@github-actions github-actions bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Oct 1, 2025
@captainsafia captainsafia added area-deployment and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Oct 1, 2025
Copy link
Contributor

Copilot AI left a 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

@davidfowl
Copy link
Member

video?

@captainsafia
Copy link
Member Author

video?

#11780 (comment) 😄

@davidfowl
Copy link
Member

Needs work.

@maddymontaquila please try

@captainsafia captainsafia force-pushed the safia/publish-activity-ux branch 2 times, most recently from 02b4bbb to 5d7d57a Compare October 8, 2025 21:46
@captainsafia captainsafia merged commit 178d2cd into main Oct 11, 2025
302 checks passed
@dotnet-policy-service dotnet-policy-service bot added this to the 13.0 milestone Oct 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor PublishingActivityReporter and steps/tasks for more concurrent processing

2 participants