Skip to content

Fix TestContentMapperOpenFileExcludedByConfigChange race - #64137

Merged
Jake Bailey (jakebailey) merged 1 commit into
microsoft:mainfrom
jakebailey:fix-content-mapper-test-race
Sep 2, 2026
Merged

Fix TestContentMapperOpenFileExcludedByConfigChange race#64137
Jake Bailey (jakebailey) merged 1 commit into
microsoft:mainfrom
jakebailey:fix-content-mapper-test-race

Conversation

@jakebailey

Copy link
Copy Markdown
Member

@github-project-automation github-project-automation Bot moved this from Not started to Needs merge in PR Backlog Sep 2, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The focused test-only change matches the established fix for the same deferred-cleanup race.

Pull request overview

Makes TestContentMapperOpenFileExcludedByConfigChange deterministic by accounting for deferred inferred-project cleanup.

Changes:

  • Waits for the configuration update to finish.
  • Opens another file to trigger deferred cleanup before assertions.
File summaries
File Description
tsc/internal/project/contentmapper_test.go Synchronizes project updates and cleanup in the test.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Balanced

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

@jakebailey
Jake Bailey (jakebailey) added this pull request to the merge queue Sep 2, 2026
Merged via the queue into microsoft:main with commit f6b1667 Sep 2, 2026
26 checks passed
@jakebailey
Jake Bailey (jakebailey) deleted the fix-content-mapper-test-race branch September 2, 2026 17:54
@github-project-automation github-project-automation Bot moved this from Needs merge to Done in PR Backlog Sep 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants