Repository navigation
feat(winui-sync): Allow file-level area paths - #26463
Conversation
Core controls live in upstream folders shared with hundreds of other types, so an area can now list individual files in upstream sources and tests. A listed file that upstream adds or removes counts as a change. Closes #26460 Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_01TXMNu2Uow7dC9EJ2fL3Hkw
Co-Authored-By: Claude Fable 5.2 <[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 21s —— View job Review of #26463: file-level area paths for WinUI syncVerdict: ship. I found no blocking issues. I have no inline findings: 0 critical, 0 major, 0 minor. I read the diff by inspection only. I did not run the Pester suite or What I checked
Cross-cutting notes (non-blocking)
|
|
This pull request is merged. |
Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_01TXMNtzAfj5NwgUdt5mstWu
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 15s —— View job Review of #26463: file-level area paths for WinUI syncVerdict: ship. 0 critical, 0 major, 0 minor. I posted no inline comments. I reviewed the diff against Checked
Non-blocking notes
|
When the port agent fails part-way (a crash or the spend cap), the files it changed were dropped. They are now pushed to the sync branch behind a draft PR titled "[port incomplete]" that says not to merge. The baseline stays where it was, so the next run continues the port on that branch. Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_01TXMNtzAfj5NwgUdt5mstWu
Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_01TXMNtzAfj5NwgUdt5mstWu
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 13s —— View job Review of #26463: file-level area paths for WinUI syncVerdict: ship, with one description fix. I found 0 critical, 0 major and 1 minor issue, and posted no inline comments. I read the diff against Minor: the PR description no longer matches the code.
Cross-cutting notes (non-blocking)
|
|
🤖 Your WebAssembly Sample App stage site is ready! Visit it here: |
GitHub Issue: closes #26460
PR Type:
What changed? 🚀
The
WinUI Port Synctooling could only track whole upstream folders. Core controls such asButton,ButtonBaseandToggleButtonare loose files in folders shared with hundreds of other types (dxaml/xcp/dxaml/libhas over 1,100 entries), so they could not be onboarded without every unrelated change counting as theirs.An area's
upstream.sourcesandupstream.testscan now name a single file as well as a folder. Folders behave as before.A listed file that upstream adds or removes counts as a change, and the run summary says which.
The port agent's prompt gets one
git diff(orgit showfor an added or removed file) per listed file.A path that is a file at one commit and a folder at the other is rejected.
README.mdand the/winui-sync-onboardskill describe when to list files instead of a folder.Unrelated to file paths: each port is now capped at 3 USD (
--max-budget-usd 3on the agent step).Also unrelated to file paths: when the port agent fails part-way (a crash or the spend cap), the files it had changed are no longer dropped. They are pushed to the sync branch behind a draft PR titled
[port incomplete] ...that says not to merge. The baseline does not move, so the next run continues the port on that branch and clears the flag once it finishes. A failed agent that changed nothing, and a cancelled one, are still not published.Trade-off: with file-level paths, a new upstream file is not picked up until someone adds it to the area. Strings paths are still folders only.
No area is added here;
areas.jsonis unchanged. Onboarding the button controls follows once this is merged.PR Checklist ✅
Screenshots Compare Test Runresults.Other information ℹ️
build/winui-sync/tests/run.ps1). The new ones failed before their change.detect.ps1againstwinui3/release/2.6.5. It reported three changed files, 5 lines each way in total, from a 1.4.2 baseline.// MUX Reference(as inButtonBase.mux.cs). That is existing behaviour and is left alone here.🤖 Generated with Claude Code
https://claude.ai/code/session_01TXMNu2Uow7dC9EJ2fL3Hkw