Repository navigation
Stabilize accessibility navigation readiness - #1228
Conversation
Co-authored-by: Copilot App <[email protected]>
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 25, 2026, 7:18 PM ET / 23:18 UTC. ClawSweeper reviewWhat this changesThe PR adds an app-owned navigation-ready signal so WinUI accessibility tests wait for a newly completed navigation before checking the existing UI Automation marker. Regression provenancePossible regression — suspected (reviewed change). No predecessor PR is attributed. Merge readinessKeep open. This collaborator-authored PR is a coherent, focused fix for the intermittent accessibility navigation race, and current main does not contain its readiness acknowledgement. Priority: P2 Review scores
Verification
Live VerificationCommand: Result: FAIL (failed) — execution before step 1 Assertions:
How this fits togetherThe tray app accepts hub deep links, resolves each page through the hub page registry, and loads it in the WinUI content frame. Accessibility tests wait for the resolved page before scanning its controls through UI Automation. flowchart LR
A[Hub deep link] --> B[Page registry]
B --> C[WinUI content frame]
C --> D[Page loaded]
D --> E[Readiness acknowledgement]
E --> F[UI Automation marker]
F --> G[Accessibility scan]
Before merge
Agent review detailsSecurityNone. Review metrics
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Technical reviewBest possible solution: Merge this narrow harness reliability fix after ordinary maintainer review, retaining HubPageRegistry as the sole tag-to-page authority and the UIA marker as the independent visible-state check. Do we have a high-confidence way to reproduce the issue? Yes, source-reproducible with high confidence: current main waits only for an existing UIA marker, while this patch adds a fresh app-owned post-navigation acknowledgement before that marker check. Is this the best way to solve the issue? Yes. Requiring a newly appended resolved-page acknowledgement and then retaining the independent UIA marker is a narrow, maintainable way to remove the stale-marker race. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 8ff0353919cf. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
Fixes #1137
Summary
HubPageRegistryThis is the exact six-file snapshot from
afa4ed08b8555b0fc230df990d33f132a914f2b2onorigin/recover-maintainer-patches.HubPageRegistryremains the authoritative owner of tag-to-page resolution.HubWindowonly publishes readiness after applying the resolved navigation.Validation
./build.ps1: passed, all 5 build targets succeededdotnet test ./tests/OpenClaw.Shared.Tests/OpenClaw.Shared.Tests.csproj --no-restore: passed, 3,813 passed, 32 skipped, 0 faileddotnet test ./tests/OpenClaw.Tray.Tests/OpenClaw.Tray.Tests.csproj --no-restore: passed, 2,712 passed, 0 skipped, 0 faileddotnet build tests\OpenClaw.Tray.UITests -c Debug -r win-x64: passed, 0 warnings, 0 errorsdotnet test tests\OpenClaw.Tray.UITests -c Debug -r win-x64 --no-build --filter Category=Accessibility: passed, 21 passed, 0 skipped, 0 failedReal behavior proof
Current-head x64 accessibility lane output:
The lane exercised the real WinUI process. Each navigation now waits for a newly appended app-owned acknowledgement matching the resolved page type, then independently requires the expected UIA marker before scanning or collecting proof.