Skip to content

fix(ui): avoid duplicate session refreshes during startup - #114764

Merged
vincentkoc merged 6 commits into
openclaw:mainfrom
scotthuang:agent/control-ui-skip-session-refresh-on-metadata
Jul 28, 2026
Merged

vincentkoc merged 6 commits into
openclaw:mainfrom
scotthuang:agent/control-ui-skip-session-refresh-on-metadata

Conversation

@scotthuang

@scotthuang scotthuang commented Jul 27, 2026 •

Copy link
Copy Markdown
Contributor

Related: #114693

What Problem This Solves

Fixes an issue where users refreshing the Control UI would trigger a second identical sessions.list request during startup. Recovery-scope and Canvas metadata publish additional Gateway snapshots on the same connection; the sessions capability treated each snapshot as a reason to queue another list refresh, adding redundant Gateway work and extending the startup tail.

Why This Change Was Made

Only Gateway connection transitions now own connection hydration. Same-client, same-phase snapshot updates no longer refresh the session list; reconnects, client replacements, session events, and explicit mutations keep their existing authoritative refresh paths.

This is intentionally scoped to the snapshot trigger rather than adding request caches or hydration handoff state.

User Impact

Control UI startup now sends one session-list request instead of two in the reproduced refresh path. This removes 50% of the sessions.list request count and avoids one redundant tail request per refresh.

Evidence

Measured against base d3026c3b9038f8fdd8a444ad1b0f70bd0e35e8f9 (2026-07-27T15:40:04-06:00). No session keys, message content, connection IDs, or credentials are included.

Live browser + Gateway proof

A rebuilt Control UI was served from the exact PR branch while Playwright connected to the live local Gateway. Three page starts used the same browser context.

Metric Before After
sessions.list requests per page start 2 (4/4 samples) 1 (3/3 samples)
Duplicate request duration median 582 ms, mean 605 ms (range 521–735 ms) Not issued

The deterministic comparison is request count: 2 → 1 (-50%). The duplicate-duration figures summarize the baseline request that no longer occurs after this change.

Primary-request timings are retained only as diagnostic context. The baseline Gateway durations were 3298 ms, 3158 ms, 2426 ms, and 3214 ms; the exact-branch browser-observed durations are shown below. They are not a valid latency A/B comparison because the captures had different Gateway load, request workloads, and timing boundaries.

Redacted exact-branch output (diagnostic only):

run-1: sessions.list=1; durations_ms=6567
run-2: sessions.list=1; durations_ms=5413
run-3: sessions.list=1; durations_ms=5210

Focused tests

Test Files  22 passed (22)
Tests       169 passed (169)

The regression test holds the initial hydration request open, publishes two same-client metadata snapshots, then proves no queued second list request is issued.

Build and static checks

Control UI build: passed
Precompressed assets: 662 finalized sidecars verified
Startup JS: 8 requests, 272.4 KiB gzip (317.0 KiB limit)
git diff --check: passed

Review

autoreview clean: no accepted/actionable findings
trufflehog: clean
overall: patch is correct (0.91)

AI-assisted: yes. I reviewed the final two-file diff, the Gateway snapshot lifecycle, event-owned refresh paths, focused regression proof, and live request-count evidence.

Maintainer exact-head verification

Verified head: 08dbd1827da0b21b860d4e50b85468b6d7aa8720 on reviewed base cb167acf5e4.

Sanitized direct AWS proof used a fresh public-network lease with no Tailscale, no instance role, no hydration, and the trusted untrusted-source bootstrap. The bootstrap verified the exact PR head before executing repository code.

The removed fallback was not a general session-state freshness owner: after a list existed it was already a no-op, and during an in-flight hydration it only queued an unscoped duplicate. Real disconnect/reconnect transitions still clear state and enter the authoritative connection hydration path, now covered explicitly.

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. labels Jul 27, 2026
@clawsweeper

clawsweeper Bot commented Jul 27, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge. Reviewed July 28, 2026, 3:06 AM ET / 07:06 UTC.

ClawSweeper review

What this changes

The PR stops same-connection Gateway metadata snapshots from triggering duplicate Control UI sessions.list hydration, while adding regression coverage for metadata updates and reconnect behavior.

Merge readiness

⛔ Blocked until stronger real behavior proof is added - 3 items remain

The PR has a narrow, plausible fix for redundant Control UI session hydration and no remaining line-level correctness finding from the reviewed diff. It should stay open because the submitted real-browser evidence is tied explicitly to commit 08dbd1827da0b21b860d4e50b85468b6d7aa8720, while the current PR head is ca3ed8563a0aaeeb26c9fa0e34478c0016ed4e89; refreshed evidence should show both metadata-snapshot suppression and reconnect hydration on the current head before merge.

Priority: P2
Reviewed head: ca3ed8563a0aaeeb26c9fa0e34478c0016ed4e89

Review scores

Measure Result What it means
Overall readiness 🦪 silver shellfish (2/6) The implementation and focused regression coverage are strong enough for normal review, but the current-head real-behavior proof does not yet close the lifecycle-evidence gap.
Proof confidence 🦪 silver shellfish (2/6) Needs stronger real behavior proof before merge: The PR body contains useful redacted live browser and Gateway request-count output, but its explicit exact-head verification stops at 08dbd182; provide current-head evidence that visibly couples metadata-only snapshots to suppression and reconnect to successful hydration, with private identifiers redacted. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Needs proof Needs stronger real behavior proof before merge: The PR body contains useful redacted live browser and Gateway request-count output, but its explicit exact-head verification stops at 08dbd182; provide current-head evidence that visibly couples metadata-only snapshots to suppression and reconnect to successful hydration, with private identifiers redacted. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
Evidence reviewed 4 items Narrow production change: The changed session capability removes the unconditional snapshot-triggered refresh after the connection-transition hydration branch, leaving connection transitions as the list-hydration owner and documenting why recovery-scope, presence, and Canvas metadata must not create duplicate startup work.
Regression coverage: The branch adds a focused unit test that holds the initial sessions.list request, emits same-client metadata snapshots, and checks that no second list request is queued; it also updates reconnect coverage to expect one authoritative hydration.
Provided live proof is not current-head complete: The PR body reports live browser-plus-Gateway request-count evidence and a reconnect regression suite for 08dbd1827da0b21b860d4e50b85468b6d7aa8720, but the current head is ca3ed8563a0aaeeb26c9fa0e34478c0016ed4e89. The earlier ClawSweeper review also requested a trace that directly connects same-client metadata snapshots to suppression while showing a session-relevant reconciliation path.
Findings None None.
Security None None.

How this fits together

The Control UI session sidebar listens to Gateway connection snapshots and session events, then requests the Gateway session list to hydrate its visible rows. Gateway metadata changes can publish additional snapshots on an unchanged connection, so the session capability must distinguish connection transitions from non-session metadata updates.

flowchart LR
  A[Gateway connection] --> B[Gateway snapshot]
  B --> C{Connection changed?}
  C -->|Yes| D[Session hydration]
  C -->|No: metadata only| E[Keep current session list]
  D --> F[sessions.list request]
  F --> G[Control UI session sidebar]
  H[Session events and mutations] --> D
Loading

Before merge

  • Add real behavior proof - Needs stronger real behavior proof before merge: The PR body contains useful redacted live browser and Gateway request-count output, but its explicit exact-head verification stops at 08dbd182; provide current-head evidence that visibly couples metadata-only snapshots to suppression and reconnect to successful hydration, with private identifiers redacted. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
  • Resolve merge risk (P2) - Merging without refreshed current-head lifecycle proof leaves uncertainty that metadata-only snapshots are suppressed without weakening the reconnect/session-reconciliation path; the removed fallback affects session-state refresh ownership.
  • Complete next step (P2) - The remaining merge gate is contributor-provided real behavior proof, not a concrete code repair that an automated fix lane can safely supply.
Agent review details

Security

None.

PR surface

Source 0, Tests +113. Total +113 across 3 files.

View PR surface stats
Area Files Added Removed Net
Source 1 2 2 0
Tests 2 121 8 +113
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 3 123 10 +113

Review metrics

None.

Stored data model

Persistent data-model change detected: serialized state: ui/src/lib/sessions/connection-hydration.test.ts, unknown-data-model-change: ui/src/lib/sessions/connection-hydration.test.ts, vector/embedding metadata: ui/src/lib/sessions/connection-hydration.test.ts. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Refresh lifecycle proof before merge (recommended)
    Capture current-head browser and Gateway evidence that labels the same-client metadata snapshots, shows one sessions.list, and separately proves reconnect hydration still updates visible sessions.
  2. Accept existing branch evidence
    Maintain the current patch if reviewers judge the focused tests and commit-08dbd182 live proof sufficient despite the final current-head test adjustment.

Technical review

Best possible solution:

Keep connection transitions, session events, and explicit mutations as the authoritative refresh owners, then attach one redacted current-head trace or recording that shows metadata-only snapshots do not add a request while reconnect still hydrates the sidebar.

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

No high-confidence fresh reproduction was established in this review. The source and focused tests make the duplicate path reproducible in principle, while the PR body supplies prior live evidence for an earlier verified head.

Is this the best way to solve the issue?

Unclear. Restricting hydration to connection transitions is the narrowest maintainable design if the refreshed proof confirms that session-relevant reconnect and event paths remain authoritative.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against c903ca8158d7.

Labels

Label justifications:

  • P2: This is a bounded Control UI startup-work improvement with no demonstrated data loss, security impact, or user-blocking failure.
  • merge-risk: 🚨 session-state: The patch changes which Gateway lifecycle updates may refresh the in-memory session list, so reconnect and reconciliation behavior needs direct current-head proof.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦪 silver shellfish and patch quality is 🐚 platinum hermit.
  • status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask. Needs stronger real behavior proof before merge: The PR body contains useful redacted live browser and Gateway request-count output, but its explicit exact-head verification stops at 08dbd182; provide current-head evidence that visibly couples metadata-only snapshots to suppression and reconnect to successful hydration, with private identifiers redacted. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.

Evidence

What I checked:

  • Narrow production change: The changed session capability removes the unconditional snapshot-triggered refresh after the connection-transition hydration branch, leaving connection transitions as the list-hydration owner and documenting why recovery-scope, presence, and Canvas metadata must not create duplicate startup work. (ui/src/lib/sessions/index.ts:1894, ca3ed8563a0a)
  • Regression coverage: The branch adds a focused unit test that holds the initial sessions.list request, emits same-client metadata snapshots, and checks that no second list request is queued; it also updates reconnect coverage to expect one authoritative hydration. (ui/src/lib/sessions/connection-hydration.test.ts:59, ca3ed8563a0a)
  • Provided live proof is not current-head complete: The PR body reports live browser-plus-Gateway request-count evidence and a reconnect regression suite for 08dbd1827da0b21b860d4e50b85468b6d7aa8720, but the current head is ca3ed8563a0aaeeb26c9fa0e34478c0016ed4e89. The earlier ClawSweeper review also requested a trace that directly connects same-client metadata snapshots to suppression while showing a session-relevant reconciliation path. (08dbd1827da0)
  • Related direction remains broader: The linked startup-performance issue treats this request-count fix as one stage among separate chat-startup, metadata, and Gateway event-loop investigations, so this PR should remain scoped to session-list hydration rather than absorb that broader work.

Likely related people:

  • vincentkoc: The PR timeline shows Vincent Koc assigned the work, force-pushed the corrective iterations, and authored the reconnect-ownership and final reconnect-proof commits. (role: recent area contributor; confidence: medium; commits: 952c903faa0d, 08dbd1827da0, ca3ed8563a0a; files: ui/src/lib/sessions/index.ts, ui/src/lib/sessions/connection-hydration.test.ts, ui/src/e2e/session-management.sidebar.e2e.test.ts)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Add a redacted current-head trace or recording showing metadata-only snapshots and a stable one-request count.
  • In the same evidence, show a reconnect or session-relevant update that still rehydrates the visible session list.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (6 earlier review cycles)
  • reviewed 2026-07-27T22:01:51.157Z sha 7bab767e2478dd03c923d1d3c3b67a6e6aa1f3c7 :: needs maintainer review before merge. :: none
  • reviewed 2026-07-28T04:29:43.208Z sha 7bab767e2478dd03c923d1d3c3b67a6e6aa1f3c7 :: needs maintainer review before merge. :: none
  • reviewed 2026-07-28T05:47:45.201Z sha 425baadc2ec4e77de92d3df11a96f54501cab199 :: needs real behavior proof before merge. :: [P1] Preserve the non-connected snapshot refresh path
  • reviewed 2026-07-28T06:00:19.488Z sha b8bb37a33e7846df628363090411b36f55bdfac7 :: needs real behavior proof before merge. :: [P1] Retain refreshes required outside connection hydration
  • reviewed 2026-07-28T06:31:55.234Z sha 08dbd18 :: needs real behavior proof before merge. :: none
  • reviewed 2026-07-28T06:44:36.948Z sha 08dbd18 :: needs real behavior proof before merge. :: none

@vincentkoc vincentkoc self-assigned this Jul 28, 2026
@vincentkoc
vincentkoc force-pushed the agent/control-ui-skip-session-refresh-on-metadata branch from 7bab767 to 425baad Compare July 28, 2026 05:43
@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. and removed proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. labels Jul 28, 2026
@vincentkoc
vincentkoc force-pushed the agent/control-ui-skip-session-refresh-on-metadata branch 3 times, most recently from b8bb37a to f957790 Compare July 28, 2026 06:24
@vincentkoc
vincentkoc force-pushed the agent/control-ui-skip-session-refresh-on-metadata branch from f957790 to 08dbd18 Compare July 28, 2026 06:27
@vincentkoc

Copy link
Copy Markdown
Member

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Command router queued. I will update this comment with the next step.

@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Jul 28, 2026
@vincentkoc
vincentkoc force-pushed the agent/control-ui-skip-session-refresh-on-metadata branch from ca3ed85 to 9deaed8 Compare July 28, 2026 13:08
@vincentkoc

Copy link
Copy Markdown
Member

Maintainer repair/proof update for 9deaed89143895f26d226b515b3279bf8cec6a11:

  • Removed the useless startup return that deterministically failed Oxlint.
  • Updated reconnect E2E proof to match the intended single hydration request and assert the request count remains stable.
  • Fresh autoreview: clean, no actionable findings (logical patch confidence 0.88; final formatter-only delta 0.99).
  • Sanitized public-network AWS Crabbox proof: 31/31 focused session tests passed; full session-management.sidebar.e2e.test.ts passed 3/3 runs (24 browser assertions).
  • Browser proof: https://crabbox.openclaw.ai/portal/runs/run_48e2ccc75000
  • Exact-head GitHub CI is running and currently has no failures.

The fix is narrow and removes obsolete test expectations instead of adding fallback behavior.

@vincentkoc

Copy link
Copy Markdown
Member

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Command router queued. I will update this comment with the next step.

@vincentkoc

Copy link
Copy Markdown
Member

Final exact-head CI update: all checks have settled with zero failures and zero pending jobs, including Control UI unit tests, Control UI E2E, and check-lint. Branch remains intentionally unrebased per maintainer instruction.

@vincentkoc

Copy link
Copy Markdown
Member

Maintainer proof reconciliation for current head 9deaed89143895f26d226b515b3279bf8cec6a11:

The live browser + Gateway proof was captured at 08dbd1827da0b21b860d4e50b85468b6d7aa8720. The complete delta from that proof head to current head is one test-only commit (9deaed89143) changing only ui/src/e2e/session-management.sidebar.e2e.test.ts (+2/-8). ui/src/lib/sessions/index.ts and the focused connection-hydration unit suite are byte-identical to the live-proof head.

So the current-head production behavior is exactly the behavior exercised by the live one-request trace. The final test adjustment aligns reconnect expectations with the single authoritative hydration path; exact-head focused tests, lint, autoreview, and remote proof are already clean. The unrelated UI E2E rerun is still settling.

This explicitly addresses the prior rank-up request rather than silently skipping it: duplicating the live Gateway capture would exercise unchanged production bytes.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Command router queued. I will update this comment with the next step.

@vincentkoc

Copy link
Copy Markdown
Member

Exact-head CI follow-up at b5980f897b7:

  • Both failed UI E2E attempts stopped only the first passive catalog test after ~2.44s because its expect.poll used the short default timeout after page.goto.
  • The other six catalog scenarios passed in both runs, including direct sessions.catalog.list request waits and rendered catalog flows.
  • Replaced that incidental count poll with the existing semantic gateway.waitForRequest("sessions.catalog.list") helper, which uses the suite's 10-second request deadline. No production code changed.
  • Focused session hydration tests: 3/3 passed. Formatting and git diff --check: passed. Fresh autoreview: clean, no accepted/actionable findings (0.95).
  • Production bytes remain identical to the previously live-tested 08dbd1827da0b21b860d4e50b85468b6d7aa8720; subsequent commits only adjust E2E synchronization/proof.

This preserves SessionDataController as the catalog hydration owner and avoids restoring the redundant session-list refresh.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Command router queued. I will update this comment with the next step.

@vincentkoc

Copy link
Copy Markdown
Member

Landing-gate follow-up: fixed the unrelated packed-shard order dependency exposed by exact-head CI. panels-tools-skills.browser.test.ts clicked a hash anchor without clearing window.location.hash, which contaminated later config-page.test.ts cases in the shared worker. The owning browser test now resets URL fragment state after every case.

Proof on e9c07608737ec1eaa7abbbd89cebf30b6035c843:

  • panels-tools-skills.browser.test.ts: 8/8 passed
  • paired local config suite: blocked before collection by the shared checkout missing libphonenumber-js/min; no dependency reconciliation was performed in the worktree
  • oxfmt --check: clean
  • git diff --check: clean
  • fresh autoreview: clean, 0.96

Exact-head CI is now the combined packed-shard proof.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Command router queued. I will update this comment with the next step.

@vincentkoc
vincentkoc merged commit 35f0358 into openclaw:main Jul 28, 2026
93 checks passed
vincentkoc added a commit that referenced this pull request Jul 28, 2026
* origin/main:
  test(codex): de-flake attempt turn-watch timing tests (#115258)
  fix: preserve retryable ACPX lease ownership (#115247)
  fix: serialize ACPX lease ownership transitions
  fix: retain ACPX leases across wrapper reconnects
  refactor: parse ACPX lease command identity
  fix: preserve OpenClaw profile env in macOS launch-at-login plist (#99752)
  refactor(config): retire compaction truncateAfterCompaction gate (#115206)
  improve(ui): reduce duplicate chat startup work (#114743)
  fix(ui): keep reconnects, browser tabs, and localized search consistent (#115221)
  perf(pr): cache complete small file lists (#115199)
  perf(sqlite): skip no-op automatic schema repair (#115193)
  docs(browser): correct Docker sandbox setup (#115254)
  fix(ui): avoid duplicate session refreshes during startup (#114764)

# Conflicts:
#	ui/src/pages/agents/panels-tools-skills.browser.test.ts
vincentkoc added a commit that referenced this pull request Jul 28, 2026
* origin/main:
  test(codex): de-flake attempt turn-watch timing tests (#115258)
  fix: preserve retryable ACPX lease ownership (#115247)
  fix: serialize ACPX lease ownership transitions
  fix: retain ACPX leases across wrapper reconnects
  refactor: parse ACPX lease command identity
  fix: preserve OpenClaw profile env in macOS launch-at-login plist (#99752)
  refactor(config): retire compaction truncateAfterCompaction gate (#115206)
  improve(ui): reduce duplicate chat startup work (#114743)
  fix(ui): keep reconnects, browser tabs, and localized search consistent (#115221)
  perf(pr): cache complete small file lists (#115199)
  perf(sqlite): skip no-op automatic schema repair (#115193)
  docs(browser): correct Docker sandbox setup (#115254)
  fix(ui): avoid duplicate session refreshes during startup (#114764)
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 29, 2026
…14764)

* fix(ui): avoid duplicate startup session refreshes

* fix(ui): remove redundant hydration return

* test(ui): prove session hydration reconnect ownership

* test(ui): align reconnect proof with single hydration

* test(ui): wait explicitly for catalog startup

* test(ui): isolate tool anchor navigation state

---------

Co-authored-by: scotthuang <[email protected]>
Co-authored-by: Vincent Koc <[email protected]>
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 merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. P2 Normal backlog priority with limited blast radius. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. size: S status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants