Skip to content

Stabilize Sessions page navigation in UI accessibility lane #1137

Closed

Description

@shanselman

Problem

The Accessibility lane intermittently times out while SessionTitleBehaviorProofTests.DuplicateTitles_RenderDistinctly_AndOpenChatUsesOriginalKeys waits for SessionsPageMarker after navigating to the Sessions page.

Observed on PR #1135 exact head during the first CI attempt:

System.TimeoutException: The 'sessions' page did not expose its 'SessionsPageMarker' marker within 10 seconds.

The same run subsequently navigated to Sessions successfully for the Axe page scan, and the rerun moved past this failure, indicating an intermittent navigation/readiness race rather than a persistent page failure.

Scope

Investigate Sessions page deep-link/navigation readiness and replace timeout-sensitive synchronization with a deterministic state signal. Keep this separate from the Chat composer accessibility fix.

Activity

  1. added
    P2
    impact:other
    no-stale
    issue-rating: 🦞 diamond lobster
    clawsweeper:source-repro
    clawsweeper:queueable-fix
    clawsweeper:fix-shape-clear
    on Aug 8, 2026
  2. clawsweeper commented on Aug 8, 2026

    @clawsweeper

    Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed August 25, 2026, 6:32 PM ET / 22:32 UTC.

    Summary
    Current main still relies on the reported timeout-based UI Automation polling, so this collaborator-owned issue remains necessary; a maintainer should choose the cross-process readiness boundary before repair work begins.

    Reproducibility: no. live current-main reproduction was run in this read-only Linux review, but the exact 10-second marker polling path remains in source and the issue supplies an observed timeout from the real accessibility lane.

    Regression provenance
    Possible regression — suspected (failure trace; reviewed change). No predecessor PR is attributed.

    Ways to help us reproduce this

    • Add a screenshot or short recording showing the behavior.
    • Add expected vs actual behavior.
    • Include redacted logs or terminal output.

    Maintainer decision needed

    Question Recommendation
    Should the accessibility suite use a test-scoped deep-link completion acknowledgement from Hub content readiness, or retain UIA-only synchronization with a different deterministic event boundary? Add a scoped completion acknowledgement: Expose a test-only, isolated-process acknowledgement after Hub content readiness and keep UIA marker verification as the observable assertion.

    Why: The current in-process Hub readiness task is only consumed for window activation, while the test runs in a separate process; choosing whether to expose a test-only acknowledgement is an ownership and test-boundary decision.

    Next step
    Maintainer selection of the isolated cross-process readiness boundary is required before a safe focused repair can be routed.

    Review details

    Best possible solution:

    Define a test-scoped cross-process navigation-completion contract tied to Hub content readiness, retain the final UIA marker assertion, and prove it with repeated isolated accessibility-lane runs.

    Do we have a high-confidence way to reproduce the issue?

    No live current-main reproduction was run in this read-only Linux review, but the exact 10-second marker polling path remains in source and the issue supplies an observed timeout from the real accessibility lane.

    Is this the best way to solve the issue?

    Unclear: replacing polling is appropriate, but maintainers must choose the safe cross-process readiness contract before a focused implementation can be evaluated.

    AGENTS.md: found and applied where relevant.

    Remaining risk / open question:

    • A readiness acknowledgement that completes before the Sessions page is observable in UI Automation could hide the race rather than prove navigation completed.

    Codex review notes: model internal, reasoning high; reviewed against 8ff0353919cf.

    Label changes

    Label changes:

    • add issue-rating: 🐚 platinum hermit: Current issue advisory state selects this label.
    • add clawsweeper:needs-live-repro: Current issue advisory state selects this label.
    • add clawsweeper:needs-product-decision: Current issue advisory state selects this label.
    • remove issue-rating: 🦞 diamond lobster: Current issue advisory state no longer selects this label.
    • remove clawsweeper:source-repro: Current issue advisory state no longer selects this label.

    Label justifications:

    • P2: This is an intermittent accessibility-lane reliability defect with bounded CI and maintainer impact.
    • impact:other: The concrete impact is flaky native UI accessibility validation, outside the more specific owned impact classes.
    Evidence reviewed

    What I checked:

    Likely related people:

    • Scott Hanselman: Current-line blame attributes the fixture’s deep-link and marker-polling path to this commit. (role: introduced accessibility test harness; confidence: high; commits: 4206611f2b2e; files: tests/OpenClaw.Tray.UITests/AccessibilityAppFixture.cs, tests/OpenClaw.Tray.UITests/SessionTitleBehaviorProofTests.cs, src/OpenClaw.Tray.WinUI/Pages/SessionsPage.xaml)
    • Barbara Kudiess: Recent refactors extracted Hub lifecycle and WindowManager navigation, including the current content-ready activation path. (role: recent navigation owner; confidence: high; commits: 3a097bc85f7b, 17a8b0363a82; files: src/OpenClaw.Tray.WinUI/Windows/HubWindow.xaml.cs, src/OpenClaw.Tray.WinUI/Services/WindowManager.cs)
    How this review workflow works
    • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
    • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
    • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
    • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
    • Maintainers can also comment @clawsweeper review to request a fresh review only.
    • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
    • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
    • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.
  3. added
    clawsweeper:no-new-fix-pr
    clawsweeper:needs-maintainer-review
    clawsweeper:needs-product-decision
    and removed
    clawsweeper:queueable-fix
    no-stale
    clawsweeper:fix-shape-clear
    clawsweeper:needs-product-decision
    on Aug 9, 2026
  4. 14 remaining items

  5. added
    issue-rating: 🦞 diamond lobster
    on Aug 9, 2026
  6. added
    status: 🚢 actively landing
    on Aug 18, 2026
  7. added
    clawsweeper:needs-product-decision
    and removed
    clawsweeper:fix-shape-clear
    on Aug 18, 2026
  8. removed
    status: 🚢 actively landing
    on Aug 18, 2026
  9. removed
    clawsweeper:needs-product-decision
    on Aug 18, 2026
  10. added
    status: 🚢 actively landing
    on Aug 25, 2026
  11. added
    clawsweeper:needs-live-repro
    clawsweeper:needs-product-decision
    issue-rating: 🐚 platinum hermit
    and removed
    issue-rating: 🦞 diamond lobster
    clawsweeper:source-repro
    on Aug 25, 2026
  12. removed
    status: 🚢 actively landing
    on Aug 26, 2026
  13. locked as resolved and limited conversation to collaborators on Aug 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2clawsweeper:needs-live-reproclawsweeper:needs-maintainer-reviewclawsweeper:needs-product-decisionclawsweeper:no-new-fix-primpact:otherissue-rating: 🐚 platinum hermit

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions