Repository navigation
test(ui): diagnose roster state after browser back - #200832
Closed
vincentkoc wants to merge 1 commit into
Closed
vincentkoc wants to merge 1 commit into
vincentkoc wants to merge 1 commit into
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
8ccb8ef267e37b02d8f3f425af6a7ea1ebfba39c: sole failed testapplies real row events in the page and sidebar without periodic list reads; line287 waits for the selected sidebar row afterpage.goBack(). 45 tests passed, 3 skipped.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.no-shadowerrors 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.Close this diagnostic after attribution, or replace it with a reviewed regression fix. No hosted dispatch is requested.