Repository navigation
chore(winui-sync): One manifest file per area - #26653
Merged
Merged
Conversation
build/winui-sync/areas.json becomes build/winui-sync/areas/<id>.json, so onboarding PRs only add a file and sync PRs only edit their own area's file: PRs for different areas no longer conflict on the manifest. Detection still reads a sync branch's baseline from the single-file manifest when the branch predates the split. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TXMNtzaC5dx4oo2ZVG5BHB
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TXMNtzaC5dx4oo2ZVG5BHB
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TXMNtzaC5dx4oo2ZVG5BHB
Contributor
|
Claude finished @MartinZikmund's task in 23s —— View job Review summaryVerdict: looks good, with one low-severity suggestion.
I read the diff of
|
Contributor
|
This pull request is merged. |
MartinZikmund
added a commit
that referenced
this pull request
Nov 23, 2026
Moves the branch's baseline into build/winui-sync/areas/buttons.json, which replaced areas.json on master (#26653). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TXMNtzaC5dx4oo2ZVG5BHB
MartinZikmund
added a commit
that referenced
this pull request
Nov 23, 2026
Moves the branch's baseline into build/winui-sync/areas/breadcrumbbar.json, which replaced areas.json on master (#26653). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TXMNtzaC5dx4oo2ZVG5BHB
MartinZikmund
added a commit
that referenced
this pull request
Nov 23, 2026
Moves the branch's baseline into build/winui-sync/areas/tabview.json, which replaced areas.json on master (#26653). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TXMNtzaC5dx4oo2ZVG5BHB
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 #26652
PR Type:
What changed? 🚀
The WinUI port sync manifest moves from one file,
build/winui-sync/areas.json, to a folder with one file per area,build/winui-sync/areas/<id>.json.Every onboarding PR used to append its entry to the end of the same JSON array, so each time one merged, every other open onboarding PR conflicted on
areas.jsonand needed a manual rebase (#26601, #26600 and #26612 each needed two in one day). The weekly sync PRs also all edited that one file when moving their baseline. Now an onboarding PR only adds a file and a sync PR only edits its own area's file, so PRs for different areas can't conflict over the manifest.Tooling (
WinUISync.psm1)Get-SyncAreas*.jsonin the folder, sorted by name. Rejects a file whoseiddoesn't match its file name, and a missing folder.Get-SyncArea(new)$null. Used byPublish-SyncAreaand the workflow's port job.Write-SyncArea(new) /Write-SyncAreasidmust be lower-case letters and digits, since it is now a file name (it already names thesync/winui/<id>branch).Set-AreaBaselineGet-SyncAreaAtRef(new)areas.jsonthere.Get-SyncPlanGet-SyncAreaAtRef. If the branch has no entry for the area, it now uses master's baseline instead of reporting an error.Get-CommitGroupsAlso updated:
seed-area.ps1,detect.ps1andpublish.ps1default to the folder.seed-area.ps1 -Writewrites just the new area's file.winui-port-sync.ymlreads the area withGet-SyncArea.build/winui-sync/areas/. The patch guard needs no change: it already refuses anything outsidesrc/./winui-sync-onboardand/winui-portskills, the code-style rule andAGENTS.mddescribe the folder. The onboarding skill's scratch manifest becomes a copied folder.specs/winui-port-sync/are left as written.Migration
The 18 entries were written out with the module's own
Write-SyncAreasand read back. They are field-for-field identical toareas.jsonbefore it was deleted.Validation
build/winui-sync/tests/run.ps1passes 138, 0 failed (134 before).Get-SyncArea, unsafe ids,Set-AreaBaselineleaving other areas' files untouched, and a sync branch that still has the single-file manifest.detect.ps1against a fullmicrosoft-ui-xamlclone gives the same plan as master's tooling on master'sareas.json. All 18 rows are the same (status, baselines, open PRs fix(buttons): Sync Button controls with WinUI 2.6.5 #26470/fix(breadcrumbbar): Sync BreadcrumbBar with WinUI 2.6.5 #26502/fix(tabview): Sync TabView with WinUI 2.6.5 #26504), with an empty matrix and no errors. Only the row order changes, from manifest order to alphabetical by file name.master. After merging, a single-area dispatch (selectorbar) will confirm it.After merging
areas/<id>.json.areas.json. Merging master into them hits a modify/delete conflict on that file, so the workflow will skip them until their branch is updated the same way.PR Checklist ✅
Screenshots Compare Test Runresults.🤖 Generated with Claude Code
https://claude.ai/code/session_01TXMNtzaC5dx4oo2ZVG5BHB