Skip to content

[content mappers] Always use canonical source file paths for composite project root checks - #64407

Merged
Andrew Branch (andrewbranch) merged 1 commit into
microsoft:mainfrom
andrewbranch:content-mapper-composite-root-but
Sep 23, 2026
Merged

Andrew Branch (andrewbranch) merged 1 commit into
microsoft:mainfrom
andrewbranch:content-mapper-composite-root-but

Conversation

@andrewbranch

Copy link
Copy Markdown
Member

Fixes #64350

Copilot AI balanced review requested due to automatic review settings September 23, 2026 16:10
@github-project-automation github-project-automation Bot moved this to Not started in PR Backlog Sep 23, 2026
@typescript-automation typescript-automation Bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Sep 23, 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.

Copilot review overview

🟢 Approval recommended

The focused fix matches the reported behavior and includes positive and negative regression coverage.

Review effort: Balanced
Findings: None

What changed in this PR

Fixes composite-project TS6307 errors for supplemental content-mapper outputs by checking their canonical source paths.

Changes:

  • Resolve supplemental files to canonical paths during root checks.
  • Add coverage for listed and imported canonical files.
File Description
tsc/​internal/​compiler/​program.go Uses canonical paths for composite root validation.
tsc/​internal/​compiler/​contentmapper_test.go Tests supplemental-root diagnostic behavior.

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

@github-project-automation github-project-automation Bot moved this from Not started to Needs merge in PR Backlog Sep 23, 2026
@andrewbranch
Andrew Branch (andrewbranch) added this pull request to the merge queue Sep 23, 2026
Merged via the queue into microsoft:main with commit fe4714c Sep 23, 2026
29 checks passed
@andrewbranch
Andrew Branch (andrewbranch) deleted the content-mapper-composite-root-but branch September 23, 2026 17:41
@github-project-automation github-project-automation Bot moved this from Needs merge to Done in PR Backlog Sep 23, 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

3 participants