Skip to content

Buffer console logs during interactive prompts#15959

Open
Victor-johnsson wants to merge 1 commit intomicrosoft:mainfrom
Victor-johnsson:buffer-console-logs
Open

Buffer console logs during interactive prompts#15959
Victor-johnsson wants to merge 1 commit intomicrosoft:mainfrom
Victor-johnsson:buffer-console-logs

Conversation

@Victor-johnsson
Copy link
Copy Markdown

@Victor-johnsson Victor-johnsson commented Apr 8, 2026

Description

Pause terminal debug logging while interactive prompts are active so prompt UI stays readable, then replay buffered lines when the prompt completes. Apply prompt scopes to all ConsoleInteractionService prompt methods and add tests covering buffering and nested scope flush behavior.

Fixes #15936

Checklist

  • Is this feature complete?
    • Yes. Ready to ship.
    • No. Follow-up changes expected.
  • Are you including unit tests for the changes and scenario tests if relevant?
    • Yes
    • No
  • Did you add public API?
    • No
  • Does the change make any security assumptions or guarantees?
    • No
  • Does the change require an update in our Aspire docs?
    • No

Pause terminal debug logging while interactive prompts are active so prompt UI stays readable, then replay buffered lines when the prompt completes.
Apply prompt scopes to all ConsoleInteractionService prompt methods and add tests covering buffering and nested scope flush behavior.
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 8, 2026

🚀 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/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 15959

Or

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

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 8, 2026

Re-running the failed jobs in the CI workflow for this pull request because 1 job was identified as retry-safe transient failures in the CI run attempt.
GitHub was asked to rerun all failed jobs for that attempt, and the rerun is being tracked in the rerun attempt.
The job links below point to the failed attempt jobs that matched the retry-safe transient failure rules.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

aspire init --log-level debug : Select language does not appear at the bottom of the terminal.

2 participants