Skip to content

test(ui): diagnose roster state after browser back - #200832

Closed
vincentkoc wants to merge 1 commit into
mainfrom
chore/diagnose-roster-history-20261118
Closed

vincentkoc wants to merge 1 commit into
mainfrom
chore/diagnose-roster-history-20261118

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Investigation only — DO NOT MERGE or mark ready. The real-Gateway roster test times out waiting for a sidebar row after browser Back. Its current failure output does not distinguish a wrong history destination from an incorrect sidebar state.

User Impact

No production behavior change or claimed fix. This temporary diagnostic exists to collect the missing state at the failing boundary.

Why This Change Was Made

Record only route enums, sidebar visibility/mode flags and row-presence flags before Back and after its existing wait fails. Preserve the original timeout, assertions and exception. No URL, token, session key or page content is logged. The extra pre-Back observation may affect timing; a passing replay is only a bounded nonreproduction.

Evidence

  • Main run 44189969601, source 8ccb8ef267e37b02d8f3f425af6a7ea1ebfba39c: sole failed test applies real row events in the page and sidebar without periodic list reads; line287 waits for the selected sidebar row after page.goBack(). 45 tests passed, 3 skipped.
  • Failed test source is unchanged on this frozen main baseline. The failure already includes the navigation change from #199831; this is distinct from the earlier initial-navigation repair.
  • Focused current-source native run at 05739763e7808719497106352ea3dadf6cdfde37: 1/1 test passed (11.733s case, 35.06s Vitest). Private Gateway runtime build and UI bundle completed. This is a bounded nonreproduction with the additional pre-Back observation await; no failure-state record was emitted and no cause or fix is established.
  • Formatting passed. Type-aware lint reported two introduced no-shadow errors for the diagnostic callback locals; these exact tested bytes are retained without a cosmetic repush because the diagnostic is being closed, not merged. Independent full-context source review found no P0–P2 correctness/privacy findings.
  • Separate queued checkout consumers have finished: benchmark diagnostic passed; worker probe stopped during declaration setup before its test. Neither changes the roster result.

Close this diagnostic after attribution, or replace it with a reviewed regression fix. No hosted dispatch is requested.

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

clawsweeper Bot commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@vincentkoc

Copy link
Copy Markdown
Member Author

Closing this investigation-only draft without merging. The exact current-source roster case passed once; no failing route/sidebar snapshot was emitted, so the original browser-Back failure remains unresolved. The extra pre-Back observation may affect timing. Formatting passed; the diagnostic has two local-shadow lint errors and is not a landing candidate. No production change, assertion weakening, or additional retry 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