Skip to content

test(ui): capture roster state after Back timeout - #200893

Closed
vincentkoc wants to merge 3 commits into
mainfrom
chore/diagnose-roster-back-visibility-20261118
Closed

vincentkoc wants to merge 3 commits into
mainfrom
chore/diagnose-roster-back-visibility-20261118

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Diagnostic investigation only — DO NOT MERGE. The real-Gateway roster test repeatedly times out waiting for a sidebar row after browser Back returns to Sessions. Existing timeout evidence confirms the route and roster are ready but does not identify the sidebar view or row visibility.

User Impact

No product fix or user-visible behavior change. This branch only adds failure context to the existing test.

Why This Change Was Made

After the original wait fails, capture fixed sidebar state labels, row counts/visibility, the displayed owner-filter category, and the last requested owner-filter category through the existing failure-artifact owner. No reads or awaits are added before Back or on the successful path. Capture is bounded; the original error is rethrown even if diagnostics fail. No IDs, URLs, or user content are emitted.

Evidence

  • Full main run 44210261951, real-Gateway job 134487342210 fails the original selected.waitFor after page.goBack at line 287.
  • Its existing failure artifact records /sessions, successful route settlement, ready roster, and two sessions. It contains no sidebar-view/filter state, screenshot, or trace.
  • Prior local diagnostic with a pre-Back observation passed; that is a bounded non-reproduction and may have changed timing. This version leaves the success path unchanged.
  • Existing test assertions, timeouts, clock operations, and cleanup remain unchanged. Production code is untouched.
  • At final head 1214cc39fee0d703e77a3585a058d73ee8db7bf9, the single existing roster case passed locally (1/1; 12.509 s case, 37.94 s Vitest invocation) on macOS/Node 26.13.0 with a fresh frozen dependency install and Chromium 1248. This is a bounded non-reproduction; the failure-only capture did not run.
  • Targeted type-aware lint, formatting, the owning UI E2E test typecheck, and diff checks passed. Full-source independent review found no actionable issues.
  • Ordinary exact-head draft CI 44213621351 completed as skipped, including runtime tests. Linux reproduction and the new failure facts remain unverified. This PR is marked ready solely to let one ordinary exact-head CI run exercise the diagnostic, because draft gating skipped every test. It remains DO NOT MERGE, with no auto-merge intent, manual dispatch, rerun, or production-fix claim. The investigation will be closed after that evidence or a bounded non-reproduction.

Investigation outcome

Closed without merging. The focused local case passed, so the sidebar-state failure remains unresolved. Ready-event CI 44214306246 also omitted the target: ordinary PR selection explicitly removes real-Gateway targets, and its real-Gateway job was skipped. Marking this diagnostic ready therefore supplied no Linux target proof. No full-suite dispatch, rerun, label override, or further push was used. Revisit only with a qualified targeted Linux route or new main-run evidence.

@vincentkoc vincentkoc self-assigned this Nov 18, 2026
@clawsweeper

clawsweeper Bot commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@vincentkoc
vincentkoc marked this pull request as ready for review November 18, 2026 01:14
@vincentkoc

Copy link
Copy Markdown
Member Author

Closing this diagnostic without merging. The existing focused case passed locally (bounded non-reproduction), while ready-event CI 44214306246 skipped the real-Gateway target. Ordinary PR selection removes real-Gateway tests even after readiness, so no Linux sidebar-state evidence was collected. The underlying failure remains unresolved; no rerun, full-suite dispatch, or production change was made.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant