Repository navigation
chore(ui): retain evidence for descendant PR hydration failures - #181989
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
Contributor
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Contributor
Author
|
Merged via squash auto-merge.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 24, 2026
…claw#181989) * test(ui): capture descendant PR hydration failure evidence * fix(gateway): keep session PR diagnostics dependency-free
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
The real-Gateway case “shows three persisted descendant PRs while keeping the parent branch unpublished” intermittently times out with durable receipts present but no hydrated PR metadata. The failures on #181477 and #181868 did not identify which awaited stage stopped progressing.
Related: #181868.
User Impact
No UI behavior, timeout, assertion, subscription policy, or publication policy changes. The next failure of this one case carries the missing diagnostic evidence in its existing, CI-uploaded
failure.public.jsonreport.Why This Change Was Made
Reuse Node diagnostic channels and the existing E2E failure-facts recorder. An opt-in Gateway channel marks loader import, checkout context, branch cache/facts, receipt and metadata reads, snapshot publication, and broadcast. The test combines these with the existing Gateway RPC and Git-operation channels and its already-decoded WebSocket messages.
Each stage retains at most 128 Gateway events and 128 subscription frames, with timestamps and eviction counts. The failure-only browser read records the session owner's PR summaries and roster membership for the parent and three descendants, plus badge/card/link projection state. Session keys become indexes (0 = parent, 1–3 = descendants); PR numbers are restricted to the fixture. Titles, URLs, paths, credentials, frame IDs, and payload content are omitted.
Passing runs add only bounded in-memory observations: no extra RPC, browser probe, wait, log, or artifact write. Production channels are inactive without subscribers. The watched-state type moves beside its base type to keep the subscription module within its existing line cap.
Evidence
pnpm tsgo:uiandpnpm tsgo:coregit diff --checkProduction LOC: 1,937 → 1,989 (+52). Test/helper LOC: 1,670 → 1,915 (+245). No browser production source changed, so no startup bundle or visual change. The existing runtime/bundle preparation ran through the focused E2E command; no additional performance or visual suite was run.
This is evidence collection, not a flake fix. The next matching failure should distinguish a pending read from completed work that failed to reach the UI.