Repository navigation
fix(winui-sync): Leave mirrored files out of the code diff - #26484
Merged
Merged
Conversation
A mirrored file inside an upstream source folder was diffed as code too, so the agent was asked to port a file the sync copies anyway. Exclude mirrored paths the way the Strings folder is (fixes #26483). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TXMNtzW3o9yaCzcTjhsgHm
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TXMNtzW3o9yaCzcTjhsgHm
Contributor
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
Contributor
|
Claude finished @MartinZikmund's task in 14s —— View job Review of #26484Verdict: ship. I found no blocking issues, and I posted no inline comments.
I read the What I checked
Minor
Cross-cutting notes
|
Contributor
|
This pull request is merged. |
This was referenced Nov 14, 2026
This was referenced Nov 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GitHub Issue: closes #26483
PR Type:
What changed? 🚀
Follow-up to #26481. A mirrored file can sit inside one of the area's upstream source folders: a MUX control's verbatim theme XAML lives in
controls/dev/<Name>. The area's tree diff excluded only theStringsfolder, so such a file was handled twice. The workflow copied it, and the port agent was also handed its diff as code to port. That diff drives two things:Get-AreaTreeDiffsnow leaves mirrored files out the same way it leaves outStrings::(exclude)pathspec on that folder's diff.Detection and the agent's diff commands both read from that function, so they change together. The README notes that a mirror may sit inside a source folder.
PR Checklist ✅
Screenshots Compare Test Runresults.Other information ℹ️
Runtime (tooling): 132 Pester tests pass. Three are new:
':(exclude)Foo.xaml'next to':(exclude)Strings'.Both new tests failed before the fix (
codeChangedwas true, and the exclude was missing).Runtime (real data, local): a scratch area mirroring
controls/dev/SplitButton/SplitButton.xaml, with a 1.8.4 baseline, detected against 2.6.5:masterSplitButton.xamlSplitButton.vcxitemsandSplitButton_themeresources.xamlTracked areas: no area in
areas.jsonhas a mirror inside a source folder yet, so no current detection result changes. This unblocks mapping verbatim MUX theme XAML as mirrors, which ProgressRing and PipsPager onboarding both ran into.🤖 Generated with Claude Code
https://claude.ai/code/session_01TXMNtzW3o9yaCzcTjhsgHm