Skip to content

Retry transient directory cleanup in LocalizeTemplateTests - #56223

Closed
nagilson with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-localize-template-tests
Closed

nagilson with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-localize-template-tests

Conversation

Copilot AI commented Sep 9, 2026 •

Copy link
Copy Markdown
Contributor

LocalizeTemplateTests.CanRunTask intermittently fails on Windows when cleanup encounters a transient file lock after running dotnet build.

  • Resilient cleanup
    • Retry recursive directory deletion on IOException.
    • Use bounded incremental backoff.
    • Preserve the final exception when the lock persists.
    • Apply the same cleanup behavior across all localization task tests.

@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.

Copilot AI changed the title [WIP] Fix LocalizeTemplateTests.CanRunTask fails cleaning locked directory Retry transient directory cleanup in LocalizeTemplateTests Sep 9, 2026
Copilot AI requested a review from nagilson September 9, 2026 21:25
@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Due to lack of recent activity, this PR has been labeled as 'Stale'. It will be closed if no further activity occurs within 7 more days. Any new comment will remove the label.

@github-actions github-actions Bot added the stale label Nov 9, 2026
@github-actions github-actions Bot closed this Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[AI discovered CI] LocalizeTemplateTests.CanRunTask fails cleaning locked directory

2 participants