Skip to content

Prevent dotnet-watch RenameSourceFile test hangs - #55981

Draft
nagilson with Copilot wants to merge 2 commits into
mainfrom
copilot/ai-discovered-ci-rename-source-file-hang
Draft

Prevent dotnet-watch RenameSourceFile test hangs#55981
nagilson with Copilot wants to merge 2 commits into
mainfrom
copilot/ai-discovered-ci-rename-source-file-hang

Conversation

Copilot AI commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

RenameSourceFile(false) could hang when its restart response was sent before the timing-dependent rude-edit prompt began listening for input.

  • Deterministic restart
    • Run the test with --non-interactive, which automatically restarts after rude edits.
    • Remove the race-prone SendKey('a') interaction.
    • Preserve coverage of both hot-reload and restart outcomes through the existing > Renamed.cs assertion.

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
3 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

Co-authored-by: nagilson <23152278+nagilson@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix timeout issue in dotnet-watch RenameSourceFile on Windows Prevent dotnet-watch RenameSourceFile test hangs Aug 28, 2026
Copilot AI requested a review from nagilson August 28, 2026 02:44
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.

[AI discovered CI] dotnet-watch RenameSourceFile hangs in Windows Helix test work item

2 participants