Skip to content

fix(control-ui): show reconnect feedback only for real connection delays - #189645

Merged
steipete merged 5 commits into
mainfrom
steipete/coldload-reconnect-pill-grace
Oct 31, 2026
Merged

steipete merged 5 commits into
mainfrom
steipete/coldload-reconnect-pill-grace

Conversation

@steipete

@steipete steipete commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

The original campaign measured 14 visible startup states over about 15 seconds on a signed-in reload of a dashboard deep link. This PR addresses one remaining warm-reload artifact.

An ordinary signed-in warm reload of a chat or dashboard deep link flashed “Saved conversation · Reconnecting…” despite a healthy connection. Cached history and pending route resolution manufactured this status independently of the Gateway owner.

User Impact

Normal warm reloads retain their cached content without a connection-status flash. Slow and failed connections show feedback inside the header without moving its controls or covering conversation rows. Real socket loss produces feedback immediately and retains it through retries until hello succeeds.

Identity and action hydration remain separate follow-up work. The fully offline dashboard screenshot shows the HTML widget's connection-waiting view; cached transcript, sidebar and chrome remain visible. This PR does not claim the broader cached-page campaign is complete.

Why This Change Was Made

The header now consumes shared Gateway status and its existing two-second initial grace. An observed socket close ends that grace immediately. Cached messages only qualify the label; they no longer invent connection state. The existing action region retains its flexible width and holds feedback in its available gap. Desktop controls stay mounted during recovery.

No new timer, config option, transport/backoff/liveness policy, Gateway protocol or durable state change. The existing grace comfortably covers the normal sub-second handshake. An inexpensive connected check also keeps transcript projection out of connected header rendering.

Release-note context: Control UI warm reloads no longer flash reconnect feedback during an ordinary initial handshake; slow or failed connections remain visible without displacing header controls.

Evidence

Head: b7f9de1604be6c4f7580377ff4dc18e397712455; pinned main: 9e3b867810d470abf8b39af2eafa1a56dd7b49c3.

AWS lease cbx_32579014eeca, fixed c7a.4xlarge, run run_76c22858145aa9efced0ad765236afe3. Both arms use the same Chromium and server; baseline reverses only this PR's six UI runtime files. Team-scale archived-session fixture, live-fast latency, category / involving-me / created, 97 groups, 102 section-order entries, five collapsed sections, empty groups always, preview off, pinned sessions. Unprofiled, 11 interleaved pairs per comparison.

Across all 22 candidate warm reloads, indicator frames were zero (11 chat, 11 dashboard). Every baseline reload showed 8–11 sampled indicator frames. Attributed header shifts decrease from 3 to 2; remaining identity/action hydration belongs to the separate follow-up.

The portal invocation contains the Team-scale comparison and native regression proof. It stopped at fixture readiness: an earlier chat snapshot could satisfy the dashboard setup check. Real outage proof and remaining validation continued on the same retained lease and unchanged head, with clean-tree assertions and active-conversation persistence verified through the existing cache owner.

Dashboard A/A control and secondary gate

The predeclared conservative stop gate is at least 8/11 worse candidate pairs with paired median exceeding the positive A/A upper quartile. Full paired arrays below expose the noise spread.

Metric (ms) A/A paired median [IQR] Base/candidate paired median [IQR] Candidate worse
Hello arrival 7.9 [-45, 48.05] 3.1 [-8.25, 20.25] 7/11
LoAF blocking -31 [-41, 35.5] 1 [-15, 41.5] 6/11

Team-scale bench

All time metrics are milliseconds; shift sum is unitless. Values are median [IQR].

Route Metric Baseline Candidate Paired median Δ Worse pairs
chat Indicator frames 9 [8.5, 10] 0 [0, 0] -9 0/11
chat Attributed header shifts 3 [2.5, 3] 2 [2, 2] -1 0/11
chat Hello arrival 544.2 [528.3, 584.5] 557.1 [524, 584.55] -4.2 4/11
chat FCP 112 [102, 118] 116 [104, 124] 4 8/11
chat First painted rows 504 [498, 514] 492 [478, 520] -4 2/11
chat LoAF blocking 129 [117.5, 154.5] 117 [110.5, 130.5] -15 3/11
chat Layout-shift sum 0.022912 [0.022501, 0.022912] 0.008321 [0.008321, 0.008321] -0.014591 0/11
dashboard Indicator frames 9 [8, 10] 0 [0, 0] -9 0/11
dashboard Attributed header shifts 3 [3, 3] 2 [2, 2] -1 0/11
dashboard Hello arrival 640.7 [606.55, 659.7] 651.4 [638.9, 660.7] 3.1 7/11
dashboard FCP 112 [102, 118] 116 [108, 122] 4 9/11
dashboard First painted rows 480 [476, 492] 484 [466, 496] 0 5/11
dashboard LoAF blocking 184 [152, 197] 192 [161.5, 223.5] 1 6/11
dashboard Layout-shift sum 0.017202 [0.017202, 0.017202] 0.00647 [0.00647, 0.00647] -0.010732 0/11

Real Gateway timing gates

Same box and Chromium, 3,000 synthetic sessions, 80 ms RTT setting, 11 interleaved warm pairs on both routes. Hello handled is the client handler milestone; final rows is DOM completion. Values are median [IQR], milliseconds except CLS.

Route Metric Baseline Candidate Paired median Δ Worse pairs
chat Hello handled 424.22 [414.71, 456.91] 422.85 [411.54, 429.31] -0.41 5/11
chat FCP 1129.52 [1088.9, 1147.04] 1121.59 [1083.28, 1174.51] 32.1 6/11
chat First painted rows 1131.38 [1089.42, 1149.37] 1123.31 [1085.41, 1177.46] 32.04 6/11
chat Final rows DOM 507.4 [468.75, 549.72] 546.84 [500.87, 587.06] 39.44 8/11
chat LoAF blocking 171.8 [156.55, 179.75] 167.6 [156.95, 176.5] 5.5 7/11
chat CLS 0.003384 [0.000138, 0.003384] 0.000138 [0.000138, 0.000138] -0.003246 0/11
dashboard Hello handled 623.51 [602.05, 646.35] 582.52 [548.54, 600.47] -40.5 3/11
dashboard FCP 1067.54 [1041.81, 1095.31] 1097.06 [1049.38, 1133.93] 21.25 9/11
dashboard First painted rows 1071.51 [1045.48, 1095.44] 1099.47 [1051.48, 1135.39] 20.1 9/11
dashboard Final rows DOM 533.23 [518.98, 551.2] 557.9 [506.8, 592.63] -5.15 5/11
dashboard LoAF blocking 228.8 [206.5, 248.85] 212.3 [194.05, 219.25] -24.8 4/11
dashboard CLS 0.002073 [0.002073, 0.002143] 0.000138 [0.000138, 0.000138] -0.001935 0/11

The positive secondary deltas remain visible in these tables. Real-Gateway dashboard FCP and first painted rows are +21.25 / +20.10 ms paired, with 9/11 worse pairs, below their approximately 32 ms (3%) thresholds and with overlapping IQRs. Chat final-row DOM completion is +39.44 ms paired with 8/11 worse pairs and overlapping IQRs. These do not reach the declared regression criteria. The primary improvement is the absent reconnect flash on 22/22 candidate reloads.

All per-pair candidate − baseline deltas
  • Dashboard A/A Hello arrival: -2.1, 109.3, 12.3, 83.8, 7.9, 11.4, -78.7, -66.1, -88.8, -23.9, 136.7; range -88.8…136.7.
  • Dashboard A/A LoAF blocking: -59, 57, -43, -39, -31, 65, -35, -18, -84, 38, 33; range -84…65.
  • bench, chat, indicatorFrames: -9, -8, -8, -10, -9, -10, -9, -10, -9, -10, -8.
  • bench, chat, headerShifts: -1, 0, -1, -1, -1, -1, -1, -1, 0, -1, 0.
  • bench, chat, helloArrivalMs: -9.7, 5.2, -4.2, -19.3, -0.1, 12.9, 29.2, -9.9, 26, -16.5, -6.8.
  • bench, chat, fcpMs: 8, 4, 4, -4, 4, 4, 0, 8, -4, 8, 8.
  • bench, chat, firstPaintedRowsMs: -8, -4, -24, -28, -4, -8, 16, -4, 16, 0, -12.
  • bench, chat, loafBlockingMs: 44, -62, -66, -33, -15, 55, 14, -58, -3, -21, -7.
  • bench, chat, shiftSum: -0.0146, -0.0138, -0.0146, -0.0146, -0.0146, -0.0146, -0.0146, -0.0146, -0.0138, -0.0146, -0.0138.
  • bench, dashboard, indicatorFrames: -11, -10, -10, -9, -9, -9, -8, -8, -10, -8, -8.
  • bench, dashboard, headerShifts: -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1.
  • bench, dashboard, helloArrivalMs: 128.3, -1.1, 17.2, 13.9, 0.1, 23.3, -92.1, -15.4, -16.7, 3.1, 111.6.
  • bench, dashboard, fcpMs: 4, 4, 8, 4, 8, 4, 8, 0, 4, 0, 12.
  • bench, dashboard, firstPaintedRowsMs: 20, 0, -20, -16, -4, 24, -16, -16, 12, 4, 24.
  • bench, dashboard, loafBlockingMs: 70, -4, -13, 15, 45, 73, -54, -17, -26, 1, 38.
  • bench, dashboard, shiftSum: -0.0107, -0.0107, -0.0107, -0.0107, -0.0107, -0.0107, -0.0107, -0.0107, -0.0107, -0.0107, -0.0107.
  • realGateway, chat, helloHandledMs: -45.8, -27.97, -0.41, -54.09, 12.94, 4.2, 28.93, 16.26, -25.78, -69.06, 12.34.
  • realGateway, chat, fcpMs: 46.23, -68.45, 134.48, -98.66, -53.7, 75.75, -51.73, -82.06, 105.51, 32.1, 171.39.
  • realGateway, chat, firstPaintedRowsMs: 43.9, -67.87, 131.89, -99.99, -51.96, 76, -51.97, -79.94, 108.02, 32.04, 171.84.
  • realGateway, chat, finalRowsDomMs: 23, 47.33, 130.39, -50.99, -121.86, 118.8, -36.77, 29.66, 133.62, 39.44, 88.74.
  • realGateway, chat, loafBlockingMs: -44, -38.2, 55.1, -53.4, 20, 2.7, 30.6, 5.5, -46.7, 24.3, 16.4.
  • realGateway, chat, cls: -0.0032, 0, -0.0038, -0.0032, 0, -0.0034, 0, 0, -0.0032, -0.0032, -0.0032.
  • realGateway, dashboard, helloHandledMs: -43.35, -126.75, 6.78, -40.5, -51.04, -26.58, -28.99, -129.93, 99, -109.2, 57.42.
  • realGateway, dashboard, fcpMs: -26.25, 110.18, 11.62, 21.25, 62.21, 26.94, 72.12, -51.83, 1.83, 14.19, 65.4.
  • realGateway, dashboard, firstPaintedRowsMs: -28.15, 112.05, 8.08, 20.1, 59.96, 24.02, 71.81, -47.93, 4, 12.1, 67.92.
  • realGateway, dashboard, finalRowsDomMs: -45.15, -5.15, -7.42, -40.5, 83.46, -29.08, 109.51, 29.77, -30.1, 50.8, 57.02.
  • realGateway, dashboard, loafBlockingMs: -33.2, -85.4, 15.7, -57.5, -12.9, -24.8, 6, -66.8, 64.8, -56.3, 51.4.
  • realGateway, dashboard, cls: -0.0019, -0.0019, -0.0019, -0.0019, -0.0019, -0.0021, -0.0021, -0.0019, -0.0019, -0.0021, -0.0019.

Actual offline and socket-loss proof

Real Chromium against an isolated real loopback Gateway. Before each outage, the fixture waits for the active conversation’s snapshot to persist through its existing owner. Full browser offline mode then exercises the installed service worker and that persisted snapshot. A transparent proxy destroys the established socket and blocks retries until released; it never synthesizes Gateway replies.

Route Normal indicator frames Failed-connect close after reload First indicator after reload Mid-session close → indicator
chat 0/24 sampled 65.6 ms 329.9 ms 27.1 ms
dashboard 0/23 sampled 152 ms 310.9 ms 21.6 ms

The cached page paints during offline reload, with failure feedback well before the full two-second grace. Mid-session feedback remains through failed retries until a real hello. These times describe lifecycle observations, not a speedup comparison. All captures below were inspected in full and contain synthetic data only.

Validation

Exact-head CI run 41239333597 is green on b7f9de1604be6c4f7580377ff4dc18e397712455. Fresh independent Codex autoreview after changed checks is clean through P2, as is the pre-commit review. CSS differential budget passes (+16 B raw, +19 B gzip; no budget raise).

The native two-route regression passes on the candidate; both baseline scenarios fail at the intended initial-indicator assertion (expected zero, received one). The original gateway-status e2e passes all four cases with its mobile drawer assertion unchanged; its pinned-main-runtime control also passes. Focused shell-view, document-title, and Gateway observer consumers pass.

Focused command (--maxWorkers=1) Result Shell wall time
pnpm test ui/src/e2e/chat-header-connection.e2e.test.ts 2 passed 23.148 s
pnpm test ui/src/pages/chat/components/chat-pane-header.browser.test.tsx 17 passed, Chromium 10.174 s
OPENCLAW_UI_WEBKIT=1 pnpm --dir ui test src/pages/chat/components/chat-pane-header.browser.test.tsx --project=webkit 17 passed, WebKit 12.582 s
pnpm test ui/src/e2e/gateway-status.e2e.test.ts 4 passed 32.258 s
pnpm test ui/src/app/gateway-store.retention.test.ts 15 passed 4.395 s
pnpm test ui/src/lib/gateway-status.test.ts 1 passed 3.268 s
pnpm test ui/src/pages/chat/components/chat-pane-header.test.tsx 36 passed 12.389 s

node scripts/check-changed.mjs ran to completion. All gates passed except the production unused-export scan: src/plugins/plugin-source-snapshot-artifact.ts: publishPluginSourceSnapshot. This file is untouched by the PR. The identical scan (pnpm deadcode:exports) on clean, detached pinned main 9e3b867810d470abf8b39af2eafa1a56dd7b49c3 reports the same unused export; this is an inherited main failure.

The full UI suite ran once on the final head with node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts: 878 files passed, 3 failed, 3 skipped (884); 3348 tests passed, 4 failed, 4 skipped (3356), 5555.84 s. The suite's real-Gateway warm chat/dashboard reload and cold-reload composer-geometry files passed.

Failed files are checked individually with the same suite configuration and --maxWorkers=1 from clean pinned main on the same lease:

File Candidate failure Pinned-main control Classification
ui/src/e2e/chat-pull-requests.e2e.test.ts Desktop Details overflow at lines 442 and 581; 2 failed / 9 passed Same two assertions; 2 failed / 9 passed Inherited
ui/src/e2e/quiet-automations.real-gateway.e2e.test.ts Missing verification result in the automation row at line 614 Same expected/received text at line 614 Inherited
extensions/qa-lab/src/control-ui-automation-management.real-gateway.e2e.test.ts Private mutation boundary writable by another POSIX principal Same permission-boundary error; 1 failed / 1 passed Inherited

No retry, expected-failure annotation, test relaxation, or unrelated production repair was made. Full-suite file inventory follows; names omit the common .e2e.test.ts suffix.

Failed: 3 files

extensions/qa-lab/src/

control-ui-automation-management.real-gateway

ui/src/e2e/

chat-pull-requests
quiet-automations.real-gateway
Skipped by existing suite conditions: 3 files

ui/src/e2e/

chat-steer-deferred-custody.real-gateway
deepseek-search.real-gateway
desktop-resize.real-gateway
Passed: 878 files

extensions/qa-lab/src/

control-ui-media-transcript.real-gateway
control-ui-openclaw-delegation.real-gateway
session-host-command-state.real-gateway

ui/src/

app.workshop-contract

ui/src/e2e/

about
action-foreground
activity-answer-candidates
activity-current-work
activity-polish
activity-presence-connections
activity-run-inspector.collection
activity-run-inspector
activity-run-inspector.real-gateway
activity-session-feed.capture
activity-session-git
activity-session-recaps
activity-session-refresh
activity-session-subagents
activity-summaries
agent-channel-runtime-status
agent-config-save
agent-creation-immediate
agent-file-lifecycle
agent-file-lifecycle.real-gateway
agent-github-device-authorization
agent-identity-reconnect
agent-model-fallback-ownership
agent-page-scope
agent-select-avatar-timeout
agent-select-layout
agent-switch-roster
app-chrome-interaction
appearance-accent-selection
appearance-control-layout
appearance-settings-defaults
approval-bootstrap
approval-flow
approval-page
approvals-grants
assistant-panel-context
avatar-initial-emoji
background-presentation
background-startup
background-work.real-gateway
board-fixture
board-mcp-app
board-sandbox-theme
board-split-transcript
boot-module-boundaries
bootstrap-ui-preferences
browser-auth-recovery
browser-bootstrap
browser-capabilities
browser-dictation-status
browser-panel-width
browser-route-handoff
browser-screenshot-body-cancel
browser-stream-startup
browser-tab-preview-urls
browser-talk-microphone-lifetime
browser-talk-ordering
browser-talk-start-stop
browser-talk-start-stop.webrtc-sdp
browser-talk-voice-selection
browser-talk-webkit-error
build-info-unicode
catalog-request-admission
channel-wizard-option-contrast
channels-whatsapp-logout
chat-active-turn-recovery
chat-agent-avatar.real-gateway
chat-agent-run-transcript
chat-async-questions
chat-attachment-announcement
chat-attachment-containment
chat-attachment-errors
chat-attachment-focus
chat-attachment-menu
chat-attachment-read-lifecycle
chat-attachment-remove
chat-attachment-spacing
chat-attributed-identity
chat-audio-transcript
chat-background-invalidation
chat-boot-composer
chat-boot-optional-requests
chat-boot-render-storm
chat-bubble-activity
chat-child-attention
chat-ci-details
chat-cli-history-redaction
chat-close-all
chat-code-block-fences
chat-cold-load-anchor
chat-collaborator-scroll.real-gateway
chat-collapsed-reply-reveal
chat-comment-draft-recovery
chat-comment-lifecycle
chat-comment-pane-retirement
chat-completed-assistant.real-gateway
chat-composer-accessory-focus
chat-composer-boundary
chat-composer-capability-menu-height
chat-composer-capability-menu
chat-composer-catalog
chat-composer-display-snapshot
chat-composer-focus
chat-composer-input-measurement
chat-composer-outbox
chat-composer-picker-layout
chat-composer-pointer-activation
chat-composer-predictions
chat-composer-reconnect
chat-composer-redesign
chat-composer-reverse-tab
chat-composer-size
chat-composer-undo-redo
chat-composer-websearch-kill-switch.real-gateway
chat-content-copy
chat-context-attachment
chat-continue-in-terminal
chat-daybreak-controls
chat-daybreak.real-gateway
chat-details-changes
chat-details-loading
chat-details-panel-navigation
chat-details-pr-loading
chat-details-scrollbar
chat-diagrams
chat-emoji
chat-empty-assistant
chat-error-details
chat-file-editor-recovery
chat-file-links
chat-flow.active-run-follow-ups
chat-flow.automation-prompts
chat-flow.catalog-bootstrap
chat-flow.clipboard
chat-flow.composer-shortcuts
chat-flow.dynamic-catalog
chat-flow.history-issuance
chat-flow.history-recovery
chat-flow.image-handoff
chat-flow.local-media-policy
chat-flow.media-files
chat-flow.messaging
chat-flow.model-picker-refresh
chat-flow.models-reasoning
chat-flow.navigation-presentation
chat-flow.pending-settings
chat-flow.queue-edit
chat-flow.queue-reorder
chat-flow.reactions
chat-flow.session-start
chat-flow.sidebar-presentation
chat-flow.stream-reconciliation
chat-flow.streaming
chat-flow.task-suggestions
chat-footer
chat-github-publication-guest
chat-github-publication
chat-goal-complete-resume
chat-goal-elapsed
chat-goal-recovery
chat-goal-replace
chat-guardian-review
chat-header-axis
chat-header-connection
chat-header-owner-presence.capture
chat-header-session-lineage
chat-header-subagents
chat-header-system-info
chat-heartbeat-activity-rollup
chat-history-loading
chat-history-prepend-anchor
chat-html-csp.real-gateway
chat-html-preview-policy
chat-html-preview
chat-html-publication.real-gateway
chat-image-approval-loading
chat-image-lightbox
chat-image-loading
chat-image-virtual-remount
chat-incognito-expired
chat-interrupted-history
chat-interrupted-reply
chat-json-tree
chat-learned-notice
chat-loading-deadlines
chat-loading-geometry
chat-loading-performance.real-gateway
chat-managed-media-order.real-gateway
chat-markdown-alignment
chat-markdown-table-interactions
chat-media-picker
chat-mention-cache
chat-mention-popover
chat-mention-search
chat-menu-idle-warmup
chat-mermaid-alternatives
chat-mermaid-expand
chat-mermaid-load-errors
chat-message-actions
chat-metadata-observation
chat-mobile-bubble-margin
chat-mobile-environment
chat-mobile-latest-clearance
chat-model-controls
chat-model-picker-composition
chat-model-picker-touch
chat-model-runtime
chat-model-selection-recovery
chat-model-wait
chat-motion
chat-native-runtime-recovery
chat-native-turn-activity
chat-nested-tool-presentation
chat-offline-session-title
chat-omitted-image-placeholder
chat-only-model
chat-outbox-capacity
chat-outbox-migration
chat-outbox-payloads
chat-outbox-recovery
chat-outbox-reload
chat-output-image
chat-pane-state-snapshot
chat-panel-layout
chat-pasted-text-show-in-text-field
chat-permission-refresh
chat-person-reference
chat-picker-interaction-contract
chat-placement-recovery
chat-plugin-steering
chat-position-rail-layout
chat-position-rail-split
chat-position-rail-visibility
chat-position-rail
chat-pr-publication-state
chat-pr-refresh-replay
chat-prepared-identity
chat-prepared-silence
chat-project-media.real-gateway
chat-provider-policy-notice
chat-provider-review
chat-queue-edit-conflict-recovery
chat-queue-reorder-recovery
chat-queue-update-reload
chat-quota-pill-93041
chat-rail-columns
chat-reasoning-stream-follow
chat-reasoning-stream
chat-reasoning-visibility
chat-reconnect-continuity.real-gateway
chat-recovered-search
chat-reply-attribution
chat-reply-preview-recovery
chat-resize-anchor
chat-responsive
chat-retained-pane-escape
chat-retained-pane-eviction
chat-retained-pane-hydration
chat-retry-failure
chat-run-lifecycle
chat-saved-attempt-navigation
chat-scope-read-gates
chat-scroll-dock
chat-scroll
chat-selection-to-main
chat-send-ack-ownership
chat-send-pending-handoff
chat-session-activity
chat-session-companion-clear
chat-session-companion-composer
chat-session-companion-focus
chat-session-companion-footer
chat-session-companion-manual-open-focus
chat-session-companion-private.real-gateway
chat-session-companion-retry
chat-session-diff-folding.real-gateway
chat-session-diff
chat-session-discussion-toggle
chat-session-entry
chat-session-file-pdf
chat-session-prefetch-gating
chat-session-read-coalescing
chat-side-chat-typography
chat-side-panel-clearance
chat-side-panel-helper
chat-sidebar-open-target
chat-sidebar-panel-contract
chat-skill-library
chat-skill-references
chat-slash-command-ranking
chat-snapshot-route
chat-source-previews
chat-split-close-focus
chat-split-dashboard-face
chat-split-narrow
chat-split-saved-owner
chat-stale-busy-follow-up
chat-startup-priority
chat-startup-progress
chat-startup-wait
chat-steer-deferred-custody
chat-stop-finished-run.real-gateway
chat-stop-long-turn.real-gateway
chat-stop-owned-exec.real-gateway
chat-stop-response-ownership
chat-stream-runtime-budgets
chat-subagent-surfaces
chat-subagent-waiting
chat-submit-responsiveness
chat-subscription-recovery
chat-svg-download
chat-swarm-describe-churn
chat-swarm-history
chat-swarm-lifecycle
chat-system-events
chat-terminal-error-reload
chat-text-attachment
chat-text-selection
chat-thinking-arguments
chat-thinking-metadata.real-gateway
chat-tool-output-fidelity
chat-tool-steering-skip
chat-tool-turn-outcome
chat-transcript-disclosure-anchor
chat-transcript-focus
chat-tts-supplement.real-gateway
chat-uploaded-image-recovery
chat-user-avatar-alignment
chat-user-bubble-disclosure
chat-versions
chat-video-attachment-preview
chat-video-compression
chat-video-gallery
chat-voice-transcript
chat-wait-clock.real-gateway
chat-widget-autosize
chat-widget-guest
chat-widget-retention
chat-widget-sandbox
chat-widget-sandbox.real-gateway
chat-widget-scroll
chat-worked-for-visualization
chat-workspace-directory-race
chat-workspace-downloads
chat-workspace-files
chat-yield-acknowledgment
chat-youtube-embed
chrome-extension-status
claude-sessions
cloud-session-disk-space
cloud-session-placement-identity
cloud-workers-settings
cloud-workers-snapshots
cloud-workspace-conflict
codex-sessions
command-palette-avatars
command-palette-catalog.real-gateway
command-palette-composition
command-palette-create
command-palette-drop
command-palette-first-open
command-palette-images
command-palette-mentions
command-palette-search.real-gateway
command-palette-shortcuts
community-invite-showing
compact-identity-menu
composer-control-ink
composer-draft-store
composer-height
composer-layout
composer-recovery-fences
composer-text-readability
config-controls-visual
config-enum-controls
config-form-defaults
config-form-guidance
config-form-integrity
config-form.real-gateway
config-map-removal-names
config-number-controls
config-open-file-feedback
config-quick-thinking-persistence
config-raw-save
config-required-fields
config-safe-write
connection-settings
control-ui-auth-transports
control-ui-boot-capture
control-ui-build-publication
control-ui-credentials
control-ui-route-readiness
control-ui-shell-routing
control-ui-stale-build-reload
cron-descriptions
cron-duration-save.real-gateway
cron-filters
cron-inventory
cron-loading
cron-one-shot-next-run
cron-remove
cron-run-completion
cron-run-feedback
cron-run-filter-typography
cron-run-suppression
cron-search
cron-select-values
cron-trigger-authoring
cron-trigger-filter
cron-validation-focus
csp-jitless
curated-settings-defaults
custodian-auto-setup
custodian-channel-onboarding
custodian-event-nudge
custodian-onboarding-locale
custodian-panel-toggle
custom-snooze
dashboard-cold-load
dashboard-final-reply-recovery
dashboard-fullscreen
dashboard-gallery
dashboard-presentation-defaults
dashboard-session-retention
dashboard-website
dashboards-list-demand
debug-diagnostics
debug-overlay-position
debug-tray-polling
decision-model-settings
desktop-document-mode
desktop-keyboard
desktop-panel-abandonment
desktop-panel-credentials
desktop-panel-fullscreen
desktop-panel
desktop-picture-in-picture
device-alias-rename
device-alias-rename.real-gateway
device-binding-state
device-platform-family.real-gateway
device-scope-upgrade
device-token-reconnect
dynamic-route-loader-count
exec-approvals-dirty-target-switch
external-session-catalogs
file-drop-guard
gateway-foreground-recovery
gateway-retry-feedback
gateway-status
github-link-hovercard
github-panel
guest-personal-groups.real-gateway
guest-self-profile
guest-session-controls
guest-session-rename
guest-welcome-landing
home-attention
home-command-recovery
identity-activity-links
inference-setup-gate
initial-connect-splash
interaction-surfaces
keyboard-shortcuts-focus
lazy-custom-element-recovery
lazy-route-error-layout
link-favicons
link-hover-preview
link-reader-checks
link-reader-loading
linked-session-navigation
lobster-pet
locale-offline-retry
login-gate
logs-autofollow
logs-layout
logs-lifecycle
logs-scroll
managed-image-actions
managed-media-base-path
mantis-chat-proof
markdown-progress-adversarial
mcp-app-conformance
meetings
memory-overview-plugin
memory-overview-source
memory-search-plugin
memory-settings-defaults
memory-settings-engine
meta-muse-picker
mobile-chat-header
mobile-chat-session-menu
mobile-inbox-sheet
mobile-new-conversation
mobile-pairing
mobile-panel-auto-open
mobile-session-panel-persistence
mobile-sheet-motion
mobile-shell-geometry
mobile-sidebar-session-menu
modal-actions
model-agent-scoping
model-alias-display
model-api-keys.real-gateway
model-catalog-partial-refresh
model-catalog-partial-refresh.real-gateway
model-defaults-capabilities
model-defaults-recovery
model-picker-search.real-gateway
model-provider-login
model-provider-read-errors
model-provider-usage-outcomes
model-providers-account-status
model-providers-help
model-providers-layout
model-providers-profile-outcomes
model-providers-progressive
model-providers-studio-shape
model-providers.discovery
model-providers
model-setup-activation-feedback
model-setup-cancel
model-setup-codex-sign-in
model-setup-explicit
model-setup-lmstudio
model-setup-reconnect
model-setup-recovery
model-setup-replacement
model-setup
model-sign-in-unresponsive-gateway
mount-fallback
mount-recovery
native-conversation
native-desktop-appearance
native-desktop-gateways
native-desktop-titlebar
native-device-settings
native-embed-settings
native-link-routing
native-nav-responsive-layout
native-nav-sidebar-toggle
native-notifications-loading
native-page-header-clearance
native-plugin-navigation
native-plugin-ui
native-report-widget
native-session-discovery-settings
native-session-sidebar
new-session-page.agent-identity
new-session-page.attachment-url-lifecycle
new-session-page.capability-menu
new-session-page.catalog-bootstrap
new-session-page.catalog-reconnect
new-session-page.cloud-dispatch
new-session-page.cloud-os
new-session-page.cloud-size
new-session-page.cloud-startup-failure
new-session-page.cloud-startup
new-session-page.cloud-startup.recovery
new-session-page.config-startup
new-session-page.configured-defaults
new-session-page.connect-machine
new-session-page.device-dispatch
new-session-page.device-folder
new-session-page.device-stop
new-session-page.draft-handoff
new-session-page.durable-write-teardown
new-session-page.early-submit
new-session-page.empty-workspace
new-session-page.environment-metadata
new-session-page.environment-picker-loading
new-session-page.fast-mode-preferences
new-session-page.github-projects
new-session-page.host-remediation
new-session-page.hosted-environment
new-session-page.incognito-navigation
new-session-page.input-latency
new-session-page.instant-thread
new-session-page.keyboard
new-session-page.model-catalog
new-session-page.model-picker-spacing
new-session-page.native-destinations
new-session-page.operator-scopes
new-session-page.place-preferences
new-session-page.places-live
new-session-page.places
new-session-page.projects-places
new-session-page.prompt-attachments
new-session-page.provisional-navigation
new-session-page.responsive-welcome
new-session-page.revisit
new-session-page.suggested-cloud
new-session-page.title
new-session-page.transition
new-session-page.workspace-memory
new-session-page.workspace-validation
new-session-pending-sidebar
new-session-session-writer
new-session-sidebar-visibility
nostr-settings-plugin
operator-admin
people-activity-card
people-activity-filters
personal-background
personal-session-groups
phone-stale-build-recovery
placement-error-unicode
plugin-bundled-view-recovery
plugin-inline-view
plugin-inline-view.real-gateway
plugin-tab-slugs
plugins-config-mutation
plugins-credentials
plugins-help
plugins-hub-navigation
plugins-request-ownership
plugins-schema-controls
plugins-settings-admin
plugins-settings-composition
plugins-settings-keyboard
plugins-settings-refresh
portals-layout
post-deploy-session-entry
presentation-primitives
profile-page
profile-page.real-gateway
provider-browser-login.real-gateway
pwa-manifest-credentials
question-flow
question-guest
quota-reset-status.real-gateway
required-worker-routing
resize-handles
route-css
screen-requester-routing
secret-reveal-focus
service-worker-update
session-active-resources
session-automation-inspection
session-catalog-involvement
session-catalog-pending-host
session-channel-hovercard
session-color
session-context-breakdown
session-context-meter
session-dashboard-active-panel
session-dashboard
session-dashboard.grant-failure
session-detail-values-keyboard
session-details-background-work
session-details-progress
session-github-preview
session-kinds
session-link-not-found
session-link-reconnect
session-list-filter
session-list-row-events
session-management.account-label
session-management.archive-automation
session-management.archive-batch
session-management.archive-undo
session-management.archive
session-management.archived-actions
session-management.bulk-delete-scope
session-management.child-failures
session-management.copy-session-id
session-management.created-sort
session-management.delete
session-management.draft-indicator
session-management.filtered-errors
session-management.group-defaults
session-management.group-identity
session-management.group-return
session-management.groups
session-management.hidden-run-read
session-management.mutation-scope
session-management.nested-archive
session-management.new-group
session-management.operator-scopes
session-management.promotion
session-management.queue
session-management.rename-composition
session-management.rename-identity
session-management.rename
session-management.sidebar-reconnect
session-management.sidebar
session-management.trailing-state
session-management.unread
session-manager-history
session-mention-involvement
session-observer-model-catalog-recovery
session-owner-assignment
session-owner-filter-empty-section
session-owner-filter-guest-default
session-owner-filter-header
session-owner-filter-keyboard
session-owner-first
session-ownership
session-person-grouping-presence
session-placement.menu
session-placement.move
session-pr-reader-lifetime.real-gateway
session-prefetch
session-progress-disclosure
session-progress-hovercard-catalog
session-progress-hovercard
session-progress-hovercard.navigation
session-progress-hovercard.real-gateway
session-progress-live-placement
session-progress-motion
session-progress-polish
session-progress-preference
session-progress-refresh
session-progress-runtime
session-progress-scroll
session-progress-startup
session-progress-submit
session-progress-widget
session-pull-requests
session-reconnect-existence
session-roster-event-scope
session-roster-request-rate.real-gateway
session-runtime-freshness
session-scoped-delivery
session-shortcuts
session-sources
session-status-keyboard
session-storage-settings
session-suggestions
session-transcript-search
session-viewer-presence
sessions-navigation-identity
settings-agent-selector
settings-config-recovery
settings-exit-layout-shift
settings-layout
settings-loading-skeletons
settings-media-permission
settings-message-width
settings-prefs-reconnect
settings-redirect-history
settings-reload-devices-draft
settings-search-focus
settings-search-keyboard
settings-typography-search
settle
shell-module-loading
shell-presentation
sidebar-account-footer
sidebar-agent-first
sidebar-attention-scope
sidebar-background-work
sidebar-boot-imports
sidebar-catalog-scope
sidebar-child-expansion
sidebar-complete-roster
sidebar-cron-inventory
sidebar-customization
sidebar-dev-branch
sidebar-inbox-latency
sidebar-interactions
sidebar-involvement
sidebar-load-more
sidebar-name-marquee
sidebar-new-conversation
sidebar-outbox
sidebar-pages-archive
sidebar-per-tab-visibility.capture
sidebar-pin-placement
sidebar-pin-priority
sidebar-pinned-agents
sidebar-profileless-scope
sidebar-pull-requests
sidebar-rail-alignment
sidebar-rail-toggles.capture
sidebar-rail
sidebar-refresh-availability
sidebar-roster
sidebar-running-counts.real-gateway
sidebar-selection-overflow
sidebar-session-stability
sidebar-settings
sidebar-shortcut-badges
sidebar-show-all
sidebar-transient-surfaces
sidebar-users-filter
skills-any-bin-requirements
skills-clawhub-external-install
skills-library
skills-owner-selection
solo-widget-chrome
stale-build-recovery
stale-build-recovery.production
subagent-task-notice
subagents-panel
systems-workspace
task-pull-requests.real-gateway
team-scale-cold-load
terminal-docking
terminal-embedded
terminal-fonts
terminal-page
terminal-panel-layout
terminal-repaint
terminal-runtime
terminal-upload
theme-background
theme-boot
theme-branding-proof
theme-muted-contrast
theme-plugin-background
theme-selection-defaults
theme-surfaces
theme-typography
tool-titles
tooltip-first-activation
transcript-library
tweet-card
update-coalesced
update-confirmation
update-git-revisions
update-lifecycle
update-native-authority
update-run
update-stale-git-refresh-proof
update-triage
updates-settings
uploads-policy
usage-calendar-boundaries
usage-cost-analysis
usage-export-recovery
usage-known-zero-cost
usage-overview
usage-query-recovery
usage-reconnect
usage-session-unicode
usage-sessions-owner-attribution
warm-boot
warm-history-subscription
workboard-board-widget-layout
workboard-lazy-page
workboard-locale
worker-inference
worker-initial-setup.real-gateway
workspace-panel-startup
worktrees
x-plugin

ui/src/pages/agents-home/

templates-catalog

ui/src/pages/chat/

critical-observer-notice

ui/src/pages/chat/components/

chat-clawhub-card

ui/src/pages/cron/

run-transcript

ui/src/pages/lobsterdex/

lobsterdex-page

ui/src/pages/plugins/

install-progress
plugin-banners
plugin-deprecated-sdk
plugin-overview
plugin-skills
plugins-base-path
plugins-catalog
plugins-lifecycle
plugins-runtime
plugins

ui/src/pages/secrets/

secrets

ui/src/pages/templates/

creator-review

ui/src/pages/workboard/

workboard-distribution
workboard-native-bundle
workboard-notes
workboard-routing
workboard-scroll
workboard-selection-focus
workboard-sidebar
workboard-status-persistence
workboard

ui/src/test-helpers/

control-ui-e2e-readiness

Production and test cost

UI runtime net +13 lines, reusable diagnostic +10. The requested non-test/non-doc stat is 144 additions / 118 deletions, net +26, including the two-line allocation and one added narrow browser fixture line. Runtime/diagnostic source growth is +23 lines. The small growth reserves the flexible feedback slot and makes observed failure immediate while deleting the competing cached-history status fallback and desktop menu-hiding policy. Existing late-action reservation remains covered in Chromium and WebKit.

The exact test allocation is 155 net LF lines, with no slack or shared scalar bump: owner normal/slow/failed grace regression, updated status table, and native two-route lifecycle/geometry/containment regression, plus offline feedback in the existing narrow desktop fixture. The diagnostic stays because bench-control-ui-cold-load.ts calls it through --pane-chrome-probe; indicator frames and identity attribution are reusable by the follow-up lane.

Inspected synthetic screenshots

All captures are synthetic and were inspected in full. Native before/after images deliberately hold hello to expose boot feedback; identity hydration is separate from this indicator assertion.

Route Baseline boot Candidate boot Candidate slow connect
Chat Baseline cached chat boot Candidate cached chat boot Candidate slow chat feedback stays in header
Dashboard Baseline cached dashboard boot Candidate cached dashboard boot Candidate slow dashboard feedback stays in header
Real Gateway Normal reload Offline reload Socket destroyed
Chat Real Gateway normal chat reload Real Gateway offline chat reload Real Gateway chat after socket loss
Dashboard Real Gateway normal dashboard reload Real Gateway offline dashboard reload Real Gateway dashboard after socket loss

@clawsweeper

clawsweeper Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui scripts Repository scripts size: M labels Oct 31, 2026
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 31, 2026
@clawsweeper

clawsweeper Bot commented Oct 31, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge.

What this changes

This PR suppresses brief initial connection feedback and retains desktop header controls during connection failures.

Example: A cached conversation reconnects 800 ms after a warm reload.

  • Before: The header briefly shows “Saved conversation · Reconnecting…” and its controls move.
  • After: The controls remain mounted and no connection indicator appears during the initial grace period.

Review scores

Measure Result What it means
Overall readiness 🦪 silver shellfish (2/6) The implementation is focused and has useful earlier behavior evidence, but an accessibility defect remains and the declared final validation is unfinished.
Proof confidence 🦪 silver shellfish (2/6) Real behavior proof is not required for maintainer- or bot-authored pull requests.
Patch quality 🦐 gold shrimp (3/6) 2 actionable review findings remain.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Ordinary warm reloads briefly show reconnect feedback and move header controls during a healthy initial connection.
Reason: The maintainer-authored direction addresses the indicator flash through existing owners, explicitly leaving separate identity and action hydration movements outside scope.

Merge readiness

⛔ Needs changes before merge - 2 items remain

Keep this maintainer-authored PR open: the focused fix addresses a current presentation problem, but duplicate connection announcements and contradictory documentation need correction.

Priority: P2
Reviewed head: 7aab54b4d55d1cdd2954117d818f980c0e97ecc3

Before merge

  • Keep desktop connection announcements with the shell owner (P2) - On desktop, app-host supplies null mobileGatewayStatus, so this new fallback now gives even an empty conversation a connecting status after two seconds and outage statuses after a close. ChatPaneHeaderChrome renders that status in its own role=status, aria-live=polite span, while app-shell-view.tsx:424 independently announces the same connection transitions. This introduces duplicate announcements for desktop conversations that previously had neither injected status nor cached-message fallback. Preserve the visible header feedback, but leave connection announcements with the existing shell owner, as established in feat(ui): show the Gateway connection state in the sidebar footer #174022, and cover the single-announcement contract.
  • Update the existing warm-reload indicator description (P3) - The new paragraph says history loading and route resolution do not imply a lost connection, but the same guide still says at lines 193–195 that the header indicator remains visible until live history and route confirmation finish. This PR removes those inputs from savedConversation and gatewayStatus, so a connected Gateway with pending history or route confirmation no longer follows that documented behavior. Update the existing Warm reload paragraph to describe the connection-only indicator and remove the contradictory promise.

Findings

  • [P2] Keep desktop connection announcements with the shell owner — ui/src/pages/chat/chat-pane-header.ts:453-454
  • [P3] Update the existing warm-reload indicator description — docs/web/control-ui/offline-and-reconnect.md:13-17

Tests

  • Missing end-to-end proof: Complete the declared current-head browser proof for normal cached reloads, slow connection, cached offline reload, and mid-session failure with stable header geometry; the predecessor reports base-red regressions, but this head's completed validation remains pending.
Agent review details

How this fits together

The Gateway store publishes connection facts, the shared status resolver derives feedback, and the shell and conversation header present it alongside cached content.

flowchart LR
  A[Gateway client] --> B[Gateway store]
  B --> C[Shared status resolver]
  C --> D[Shell feedback and announcements]
  C --> E[Conversation header]
  F[Cached conversation] --> E
  E --> G[Retained controls]
Loading

Technical review

Best possible solution:

Keep the shared grace and retained controls, preserve the shell as the sole announcement owner, and align the warm-reload guide.

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

The base header derives reconnecting from cached messages independently of connection grace, establishing the flash path in source; this review ran no target code.

Is this the best way to solve the issue?

Reusing the Gateway store timer and shared resolver is the smallest complete approach, provided visible header feedback does not become a second announcement owner.

Full review comments:

  • [P2] Keep desktop connection announcements with the shell owner — ui/src/pages/chat/chat-pane-header.ts:453-454
    On desktop, app-host supplies null mobileGatewayStatus, so this new fallback now gives even an empty conversation a connecting status after two seconds and outage statuses after a close. ChatPaneHeaderChrome renders that status in its own role=status, aria-live=polite span, while app-shell-view.tsx:424 independently announces the same connection transitions. This introduces duplicate announcements for desktop conversations that previously had neither injected status nor cached-message fallback. Preserve the visible header feedback, but leave connection announcements with the existing shell owner, as established in feat(ui): show the Gateway connection state in the sidebar footer #174022, and cover the single-announcement contract.
    Confidence: 0.97
  • [P3] Update the existing warm-reload indicator description — docs/web/control-ui/offline-and-reconnect.md:13-17
    The new paragraph says history loading and route resolution do not imply a lost connection, but the same guide still says at lines 193–195 that the header indicator remains visible until live history and route confirmation finish. This PR removes those inputs from savedConversation and gatewayStatus, so a connected Gateway with pending history or route confirmation no longer follows that documented behavior. Update the existing Warm reload paragraph to describe the connection-only indicator and remove the contradictory promise.
    Confidence: 0.99

Overall correctness: patch is incorrect
Overall confidence: 0.96

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against a31d9039928c.

Provenance checked

  • Cached-conversation reconnect inference changes intended behavior with a stated reason (368b9dc: Display saved conversations before connection while clearly identifying their reconnecting state.)
  • Shared connection lifecycle presentation changes intended behavior with a stated reason (017eb0d: Consolidate lifecycle status and suppress transient initial recovery presentation.)
  • Desktop session-action visibility changes intended behavior with a stated reason (1894bb9: Coordinate responsive header actions and retained Details navigation, including hiding session actions while disconnected.)
  • Retained mobile menu composition changes intended behavior with a stated reason (c78f168: Keep one compact retained menu, preserve focus, and retain local navigation while session commands become unavailable.)
  • Gateway presentation through transport loss keeps the original intent (98d893a: Keep readable presentation through disconnects while live action authority remains independently gated.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

Acceptance criteria:

  • pnpm test ui/src/pages/chat/components/chat-pane-header.test.tsx --maxWorkers=1
  • pnpm test ui/src/app/app-shell-view.test.ts --maxWorkers=1
  • pnpm test ui/src/app/gateway-store.retention.test.ts --maxWorkers=1
  • pnpm test ui/src/lib/gateway-status.test.ts --maxWorkers=1
  • pnpm test:ui:e2e ui/src/e2e/chat-header-connection.e2e.test.ts

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit 017eb0d adds ui/src/lib/gateway-status.ts:22 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 017eb0db64cc; files: ui/src/lib/gateway-status.ts)

PR surface

Source +2, Tests +148, Docs +7, Other +12. Total +169 across 13 files. Added test files: 1.

View PR surface stats
Area Files Added Removed Net
Source 6 39 37 +2
Tests 4 152 4 +148
Docs 1 8 1 +7
Config 0 0 0 0
Generated 0 0 0 0
Other 2 12 0 +12
Total 13 211 42 +169

Root-cause cluster

Relationship: canonical
Canonical: #189645
Summary: This PR carries forward the predecessor experiment's indicator-only repair under an explicitly narrower scope.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Labels

Label changes:

  • add P2: This is a bounded connection-feedback improvement with an introduced accessibility defect and no demonstrated message-delivery or availability impact.
  • add rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦪 silver shellfish and patch quality is 🦐 gold shrimp.
  • add status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.

Label justifications:

  • P2: This is a bounded connection-feedback improvement with an introduced accessibility defect and no demonstrated message-delivery or availability impact.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦪 silver shellfish and patch quality is 🦐 gold shrimp.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed October 31, 2026, 2:40 PM ET / 18:40 UTC.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-31T23:29:34.979284Z 7ce3ea5 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@steipete
steipete force-pushed the steipete/coldload-reconnect-pill-grace branch from a70828e to 98fa417 Compare October 31, 2026 20:11
Use the existing initial connection grace for the chat header and show observed failures immediately. Retain desktop actions and float outage feedback without moving header geometry. Cached history and route resolution no longer produce reconnect state.
@steipete
steipete force-pushed the steipete/coldload-reconnect-pill-grace branch from 98fa417 to b7f9de1 Compare October 31, 2026 20:31
The desktop header indicator now renders without its own live region; the shell's sr-only status remains the single announcer. Align the warm-reload guide with the indicator inputs.
@steipete
steipete merged commit f075c11 into main Oct 31, 2026
23 of 24 checks passed
@steipete
steipete deleted the steipete/coldload-reconnect-pill-grace branch October 31, 2026 23:27
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 1, 2026
…ays (openclaw#189645)

Warm reloads no longer flash "Saved conversation · Reconnecting…" or shift header controls during a healthy initial connection: the initial connection keeps the Gateway store's two-second grace, while an observed close/failure shows feedback immediately and through retries. History loading and route resolution no longer imply a lost connection. Cached conversations keep their header controls; the indicator fills the header's existing gap without moving controls. The app shell's live region remains the single connection announcer.

Surface: Control UI chat/dashboard header (desktop + mobile), offline/reconnect docs.
Evidence: indicator flash removed on 22/22 warm reloads (median indicator frames 9 -> 0), dashboard LoAF/hello within A/A, real Chromium outage proof (Gateway stopped at reload, mid-session socket loss) with screenshots in the PR; exact-head CI green on b7f9de1; runtime +23 LOC.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui docs Improvements or additions to documentation P2 Normal backlog priority with limited blast radius. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. scripts Repository scripts size: M status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant