Add XAML localization resource regression coverage#534
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Codex review: needs real behavior proof before merge. Reviewed May 24, 2026, 8:28 PM ET / 00:28 UTC. Summary Reproducibility: yes. from source inspection: current main binds x:Uid="ClearButton" to a TextBlock while the resource files include ClearButton.Content and ClearButton.Text. I did not run the Windows UI, but the code/resource combination and the PR's proposed test make the crash class clear. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Proof guidance: Risk before merge
Maintainer options:
Next step before merge Security Review findings
Review detailsBest possible solution: Keep the regression test, but repair the XAML/resources so the visible Clear label still has a non-conflicting x:Uid with matching .Text resources in every locale. Do we have a high-confidence way to reproduce the issue? Yes from source inspection: current main binds x:Uid="ClearButton" to a TextBlock while the resource files include ClearButton.Content and ClearButton.Text. I did not run the Windows UI, but the code/resource combination and the PR's proposed test make the crash class clear. Is this the best way to solve the issue? No. The added coverage is useful, but the XAML fix should preserve localization with a supported resource key instead of dropping x:Uid from visible static text. Full review comments:
Overall correctness: patch is incorrect Codex review notes: model gpt-5.5, reasoning high; reviewed against ef6ac8acbab2. Label changesLabel changes:
Label justifications:
Evidence reviewedWhat I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
|
ClawSweeper PR egg 🎁 Pass real behavior proof to wake the egg and unlock a hatchable treat. Where did the egg go?
|
Summary
Validation
dotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --filter FullyQualifiedName~LocalizationValidationTests.XamlControlsWithXUid_DoNotUseUnsupportedLocalizationProperties.\build.ps1dotnet test .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj --no-restoredotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restoreBase:
master.