Skip to content

[dotnet test MTP]: Only use test progress when ANSI terminal#52550

Merged
Youssef1313 merged 1 commit intomainfrom
dev/ygerges/progress
Jan 20, 2026
Merged

[dotnet test MTP]: Only use test progress when ANSI terminal#52550
Youssef1313 merged 1 commit intomainfrom
dev/ygerges/progress

Conversation

@Youssef1313
Copy link
Member

@Youssef1313 Youssef1313 requested a review from a team as a code owner January 19, 2026 13:00
Copilot AI review requested due to automatic review settings January 19, 2026 13:00
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 simplifies the test progress reporting mechanism to only display progress when ANSI terminal capabilities are available. The changes sync with a corresponding update in the microsoft/testfx repository.

Changes:

  • Simplified TestProgressStateAwareTerminal constructor by removing configurable update cadence parameters
  • Disabled progress display for non-ANSI terminals (SimpleAnsi and NonAnsiTerminal)
  • Removed the ForceAnsi enum value from AnsiMode that was only used for testing

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
TestProgressStateAwareTerminal.cs Simplified constructor to only accept showProgress parameter, hardcoded ANSI update cadence to 500ms, and removed conditional progress rendering logic
TerminalTestReporterOptions.cs Updated documentation to clarify progress is never shown for non-ANSI terminals, removed ForceAnsi enum value
TerminalTestReporter.cs Updated constructor logic to disable progress for SimpleAnsi mode and non-ANSI terminals, simplified terminal instantiation

@Youssef1313 Youssef1313 merged commit f878c8d into main Jan 20, 2026
34 of 35 checks passed
@Youssef1313 Youssef1313 deleted the dev/ygerges/progress branch January 20, 2026 11:31
@Youssef1313
Copy link
Member Author

/backport to release/10.0.2xx

@github-actions
Copy link
Contributor

Started backporting to release/10.0.2xx (link to workflow run)

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.

3 participants