Repository navigation
feat(winui-sync): Catch up ports on onboarding - #26474
Conversation
Onboarding now brings the port up to the latest stable WinUI release locally before recording the area at that release: it ports the diff since the port's baseline, reviews the whole port line by line against the release, re-justifies or removes each Uno workaround with evidence, and runs the control's tests. The weekly workflow then only ports later releases. A track-only mode keeps the old behaviour for areas too large for one session. Closes #26473 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TXMNu2Uow7dC9EJ2fL3Hkw
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.
|
Claude finished @MartinZikmund's task in 24s —— View job Review of #26474: catch-up on onboardingVerdict: ship. I found 0 blocking issues and posted no inline comments. The change is Markdown only, in the skill and the README. I checked the PowerShell calls in the new Phase 4 and Phase 7 against
I did not run the new flow. The PR description says the same: only the prompt-rendering snippet was run. Non-blocking suggestions
|
|
This pull request is merged. |
The catch-up works from a scratch copy of areas.json, so a starting-point entry is never left in the repository's manifest; the real entry is written once, at the latest tag. Also maps the control's FluentTheme XAML and, for core controls, its upstream CommonStyles file. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TXMNu2Uow7dC9EJ2fL3Hkw
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.
|
Claude finished @MartinZikmund's task in 12s —— View job Review of #26474: catch-up on onboardingVerdict: ship, with a few non-blocking suggestions. I found 0 blocking issues. I posted no inline comments. The change is Markdown only, in the skill and the README. I did not run the new flow. Non-blocking suggestions
|
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-26474/docs/index.html |
The seed now finds a control's theme XAML and adds it to the entry: Uno's FluentTheme copies, and for core controls the upstream CommonStyles file they come from. A file belongs to the area when its MUX Reference header names an upstream file of the area, or by name (folder areas: the folder's own XAML; file areas: <Name>_Partial implies CommonStyles/<Name>_themeresources.xaml, case-insensitively, perf variants excluded). -NoThemeXaml opts out. Header scans also read .xaml files now; a XAML file without a header is not reported as missing a commit. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TXMNu2Uow7dC9EJ2fL3Hkw
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TXMNu2Uow7dC9EJ2fL3Hkw
Adds the FluentTheme styles of TabView, BreadcrumbBar and SelectorBar to their areas, so the port agent is told where they are. Their upstream XAML is already inside the mapped folders and their baselines predate Uno's copies, so no upstream change is skipped. NavigationView and the button controls get theirs in their open sync PRs. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TXMNu2Uow7dC9EJ2fL3Hkw
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.
|
Claude finished @MartinZikmund's task in 25s —— View job Review of #26474: catch-up on onboardingVerdict: ship, with minor fixes. There are 0 blocking issues and 2 minor ones, both posted inline. I did not run the Pester suite or the new onboarding flow. Cross-cutting concerns
|
The CommonStyles lookup only matched letters, so a _Partial file whose name has a digit or underscore got no theme file. Also restores a missing space in seed-area.ps1. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TXMNu2Uow7dC9EJ2fL3Hkw
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TXMNu2Uow7dC9EJ2fL3Hkw
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-26474/docs/index.html |
- A failed Phase 7 writes no entry; the scratch manifest leaves the repository untouched - The skipped-items issue is filed with the PR; without a PR the items are listed and offered - An unattended run states the subagent count in its report - README: theme XAML headers count towards the derived baseline Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TXMNu2Uow7dC9EJ2fL3Hkw
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.
|
Claude finished @MartinZikmund's task in 14s —— View job Review of #26474: catch-up on onboardingVerdict: ship. 0 blocking issues, no new inline comments. I read the current branch head. I did not run Pester or the onboarding flow. Earlier inline findings
Still open
|
|
Addressed the suggestions from the three review summaries:
Tooling tests: 116 pass. |
Once an area is tracked, areas.json records its version, so MUX Reference headers in it name only the upstream file. A tag in every header was a second record that drifted (SplitButton's said 1.4.2 for code matching 2.6.5). - Remove-MuxReferenceVersion drops ', tag <ref>' and ', commit <sha>' from header comments, keeping each file's BOM and line endings - onboarding runs it after writing the entry - the port agent no longer bumps tags and removes any it finds - code-style rule and the winui-port skill state the exception Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TXMNu2Uow7dC9EJ2fL3Hkw
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TXMNu2Uow7dC9EJ2fL3Hkw
TabView, BreadcrumbBar and SelectorBar: their MUX Reference headers now name only the upstream file; the areas' baselines record the version. One header line per file, 45 files. NavigationView and the button controls get theirs in their open sync PRs. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TXMNu2Uow7dC9EJ2fL3Hkw
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.
|
Claude finished @MartinZikmund's task in 18s —— View job Review of #26474: catch-up on onboardingVerdict: ship, with minor notes. There are 0 blocking issues and I posted no inline comments. I read the three commits added since the last review ( Cross-cutting notes
|
GitHub Issue: closes #26473
PR Type:
What changed? 🚀
Onboarding an area to the
WinUI Port Syncused to record the port's current baseline and leave the whole catch-up to the weekly workflow. The workflow's port agent has a 3 USD cap per area, runs no tests, and is meant for small incremental diffs. Now the/winui-sync-onboardskill does the catch-up locally and records the area at the latest stable release in the same PR, so the workflow only ever ports what later releases change.New flow in
.claude/skills/winui-sync-onboard/SKILL.md:seed-area.ps1now finds a control's theme XAML and adds it to the entry: Uno's FluentTheme copies and, for core controls, the upstreamcontrols/dev/CommonStyles/<Name>_themeresources.xamlthey come from. A file belongs to the area when itsMUX Referenceheader names an upstream file of the area, or by name (folder areas: the folder's own XAML, not test pages; file areas:<Name>_Partialimplies the CommonStyles file, case-insensitively,_perf2026variants excluded).-NoThemeXamlopts out. Header scans read.xamltoo.areas.json(the repository's manifest is written once, at the latest tag, so a starting-point entry is never left behind), sizes the diff withdetect.ps1, and renders the workflow's ownprompt.mdfor the area (Expand-SyncPrompt), so the port rules and the Ported / Not applicable / Skipped report are the same as CI's. Locally the session may run tests, commit, port larger dependencies and change project files (called out in the PR). Strings are mirrored withSync-AreaStrings. Skipped items get their own issue, since the baseline moves past them.MUX Referenceheader bumped to the latest tag, so headers become trustworthy for later seeds. Large areas may split the review across subagents per file pair; only the main session edits.TODO Uno,#if HAS_UNO,// Uno specific,// Uno workaround, platform#ifs,OperatingSystem.Is*(), Uno-only members, disabled tests) is judged obsolete (removed, with build and tests as proof), still needed (concrete reason, tried without it when cheap) or unclear (kept and reported). Disabled tests are re-enabled and rerun.UnoFastDevBuild), the control's runtime tests, WinUI parity tests where behaviour is unclear, the real entry written at the latest tag, then detection must show no remaining change.refactor(<id>): Remove obsolete Uno workaroundscommit between the fix and test commits./winui-portmarker.build/winui-sync/README.mddescribes the new onboarding flow.Existing areas:
tabview,breadcrumbbarandselectorbarnow list their FluentTheme styles (their upstream XAML is already inside the mapped folders and their baselines predate Uno's copies, so nothing is skipped).navigationviewandbuttonsgot theirs in their open sync PRs, #26456 and #26470, after checking every copy matches WinUI 2.6.5;buttonsalso gained the six upstream CommonStyles files, so the area now tracks the button styles at all.Tracked headers carry no version: once an area is tracked,
areas.jsonrecords its version, soMUX Referenceheaders in it name only the upstream file.Remove-MuxReferenceVersiondrops, tag .../, commit ...from header comments (BOM and line endings kept); onboarding runs it after writing the entry, the port agent's prompt no longer bumps tags and removes any it finds, andcode-style.md//winui-portstate the exception. Applied here to TabView, BreadcrumbBar and SelectorBar (45 files, one header line each); NavigationView (#26456), buttons (#26470) and SplitButton (#26476) got theirs on their branches.PR Checklist ✅
Screenshots Compare Test Runresults.Other information ℹ️
Get-SyncAreas→Get-LatestStableTag→Expand-SyncPrompt) was run against the trackedbuttonsarea and a full WinUI clone; it produced the per-file diff commands from the area's baseline towinui3/release/2.6.5.seed-area.ps1adding and-NoThemeXamlomitting them.WinUISync.psm1(Find-AreaThemeXaml, XAML headers inGet-MuxReferences),seed-area.ps1(theme XAML mapping,-NoThemeXaml) andareas.json.TODO Unoand#if HAS_UNOare the most common) and the conventions of the/winui-portskill.🤖 Generated with Claude Code
https://claude.ai/code/session_01TXMNu2Uow7dC9EJ2fL3Hkw