Skip to content

perf(ui): reduce idle native session catalog polling - #174404

Merged
steipete merged 2 commits into
mainfrom
steipete/perf-micro-polling-audit-20260919
Oct 16, 2026
Merged

steipete merged 2 commits into
mainfrom
steipete/perf-micro-polling-audit-20260919

Conversation

@steipete

@steipete steipete commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Every visible Control UI tab repeatedly enumerates native session catalogs, even when idle. The 30-second polling path is always used: sessions.catalog.changed was handled and mocked in the UI but is neither emitted nor advertised by the Gateway.

User Impact

Idle catalog discovery drops from 2 to 0.5 requests per minute per visible tab. Sessions created outside OpenClaw can take up to two minutes, plus native discovery time, to appear while a tab remains visible. Returning to a hidden tab catches up through the existing paced refresh; explicit refreshes, catalog actions, reconnects, progressive host results, pagination, and retry behavior remain intact. Hidden tabs keep polling paused. There is no visual layout change.

Why This Change Was Made

Use one two-minute discovery cadence and delete the unused catalog-change event mode, its ten-minute safety branch, and its fixtures. Existing tests now exercise real visibility and refresh triggers. Production code: +3 / -39 lines (net -36); no new cache, configuration, server state, or protocol fields.

The accompanying audit found no periodic models.list or sessions.describe timer in the Control UI. Metadata invalidations can fetch both as a pair; hidden panes already defer those reads and unchanged session model revisions retain cached choices. Some server catalog publications still emit broad chat.metadata.changed notifications without agent scope, so that remains a separate potential source of fan-out. This PR does not change those freshness contracts.

Conditional unchanged responses are deferred: external native catalog mutations have no complete Gateway-owned revision, so comparing a result hash would still require provider enumeration. An untracked revision would risk hiding external changes.

Evidence

  • Production sidebar fixture with fake time and a synthetic transport: the original code issued 5 requests through 120 seconds (initial + 4 polls); the changed code issues 2 (initial + 1 poll). The regression failed on the original cadence for that reason. Over ten minutes the changed fixture issues 6 total requests, including initial load: 0.5 periodic requests/minute/tab, 75% fewer than the original 2/minute. These are request-count results, not CPU/latency measurements.
  • 116 tests passed across five focused files, run with pnpm test <files> --maxWorkers=1: app-sidebar.catalog-events.test.ts, app-sidebar.catalog-discovery.test.ts, app-sidebar.catalog-import.test.ts, app-sidebar.catalog.test.ts, and app-sidebar-session-catalog-live.test.ts. Combined wrapper wall time approximately 36 seconds; individual Vitest durations 6.81 s, 11.70 s for discovery/import together, 7.54 s for the existing catalog composition, and 1.43 s for progressive-host ownership.
  • Changed-file oxfmt, repository run-oxlint.mjs, and git diff --check passed. Existing Vite config and Solid tracking diagnostics appeared in focused tests; no test failures remain.
  • PR CI run 38930298775 on production-change head 061a24c0e91123bf658017efa85a2f7c695137a4 passed all three UI shards, the selected UI E2E shard, Control UI performance, production/test type checks, lint, docs, and the planned Node/boundary/source-contract checks. The only failed jobs were the two inherited guards below. Final head 1f721552bce887dd5e46d13e3c568d137fedf702 completed run 38932271626: both earlier guards passed, as did UI shards 2/3 and 3/3, UI E2E, Control UI performance, types, lint, docs, security, and all remaining planned jobs. UI shard 1/3 failed only in the unrelated native harness file documented below. No Testbox/Crabbox lease or production-state benchmark was used.
  • Independent Codex autoreview: scoped-clean through P2, no accepted/actionable findings. The simplification pass retained one discovery cadence and removed the unsupported event mode end to end.

CI failure attribution

Run 38930298775 compared against an older scheduled main run and labeled both guard failures new. Focused reproduction against its actual main parent bb642e181e130153894a45f141a5368123bcd487 and tested merge d5f894dae5c5e3574125048fac767b7a93d70b7c instead reproduced both failures identically:

  • check-guards: canonical node scripts/check-duplicates.mts --coverage exits 1 on both revisions because cli-parent-lifetime.mjs is outside the scan targets and intentional excludes. The inventory-only mode stops before duplicate scanning.
  • checks-fast-baseline-ratchets: the canonical mock scanner, parser, and import resolver, applied only to src/flows/doctor-plugin-source-captures.test.ts, reject its line 32 mock of ../process/supervisor/darwin-bun-process-census.js on both revisions. The same exact factory identity is absent from both baseline ledgers.

This focused Linux proof verified 85 original source blobs and the full 56,600-path tracked inventory for each revision without a full checkout or suite run; the relevant guard, resolver, baseline, and offending source inputs are identical across base and merge. TypeScript and its native Linux binary were pinned to the repository version. All four expected guard rejections reproduced; the proof driver exited 0. These failures are not marked green.

The PR review identified two additional stale cadence references in the Anthropic provider and Codex specification docs. Both were corrected in 1f721552bce887dd5e46d13e3c568d137fedf702; changed-file formatting and independent review of that documentation delta passed, and the review thread is resolved.

Final-head unrelated harness timeout

Run 38932271626, UI shard 1/3, reported one failed file and 625 passed files. ui/src/test-helpers/control-ui-e2e-suite.test.ts timed out in scenario-timeout after its native Vitest child printed only its startup banner. Seven subsequent cases refused to reuse the unjoined fixture. The changed catalog tests in this shard passed. The failure table labeled this new against an older scheduled main run; it did not establish attribution to this PR.

Focused attribution used OPENCLAW_VITEST_RUNTIME=bun pnpm test ui/src/test-helpers/control-ui-e2e-suite.test.ts --maxWorkers=1, sequentially and without running a suite:

Revision Result Per-run Vitest duration
PR head 1f721552bce887dd5e46d13e3c568d137fedf702 5/5 runs passed, 20/20 cases each 51.32, 44.14, 37.31, 28.73, 29.34 s
CI main parent aded33b0cef1a063fa68e6fb4e1fc4b099d04241 5/5 runs passed, 20/20 cases each 29.39, 30.87, 30.21, 28.76, 35.84 s

The main-parent runs used the actual detached baseline in the task checkout, then restored the PR branch. Runtime and dependency manifests are identical; both use the same pinned Bun revision as CI (1.4.3-canary.1+c45839085). The failing test, native fixture helper, process-shutdown owner, and test-state helper are identical between the CI main parent and tested merge 4a558019759e6ca186837544b50ef277fab6dd41. This synthetic harness does not import or render the changed sidebar controllers, and no changed production code is on its path.

This satisfies the authorized five-run baseline/head rule for an unrelated flake. The original Linux shard timeout remains unresolved; passing focused macOS replays do not claim a fix or a green CI run. Landing uses the unrelated-failure exception. No CI rerun, update-branch request, or unrelated repair commit was used.

Refresh visible native catalogs every two minutes while retaining visibility catch-up, explicit refresh, retries, and progressive results. Remove the catalog-change event mode because the Gateway neither advertises nor emits that event. Fixture periodic calls fall from 2 to 0.5 per minute per tab; external discovery can take up to two minutes plus native indexing time.
@clawsweeper

clawsweeper Bot commented Oct 16, 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.

@steipete
steipete marked this pull request as ready for review October 16, 2026 16:13
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui extensions: codex size: M labels Oct 16, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 16, 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-16T16:31:20.984377Z 1f72155 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.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 061a24c0e9

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 16, 2026
@clawsweeper clawsweeper Bot added clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. 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 16, 2026
@clawsweeper

clawsweeper Bot commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge.

What this changes

This PR changes visible native-session catalog polling from 30 seconds to two minutes and removes an unused catalog-change event path.

Example: A Control UI tab stays visible and idle for ten minutes with fast catalog responses.

  • Before: One initial catalog request plus 20 periodic requests.
  • After: One initial catalog request plus five periodic requests.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) A focused, source-supported optimization with useful fixture coverage and no code finding; evidence remains synthetic and exact-head CI has an unclassified failure.
Proof confidence 🦐 gold shrimp (3/6) This maintainer-authored PR is outside the ordinary contributor proof gate; its supplied evidence exercises the production sidebar with fake time and synthetic transport, supporting request counts but not live CPU or latency claims.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Performance · Worth it: Yes · Fix scope: Complete
User problem: Each visible idle Control UI tab repeatedly enumerates native catalogs, adding avoidable Gateway and provider work.
Reason: The area owner explicitly accepts slower external discovery in exchange for fewer requests, and the patch preserves the existing refresh mechanisms.

Merge readiness

⛔ Needs changes before merge - 1 item remains

Keep this PR open: it delivers a useful, maintainer-approved polling reduction that main does not contain, with no actionable code finding.

Priority: P2
Reviewed head: 1f721552bce887dd5e46d13e3c568d137fedf702

Before merge

  • Complete next step - Investigate the native fixture timeout in checks-ui (1/3) on run 38932271626 and establish whether it is caused by this PR or an outside failure.

Findings

None.

Tests

  • Missing end-to-end proof: Supplied cadence evidence uses fake time and a synthetic Gateway transport rather than a shipped Control UI connected to a real Gateway.
Agent review details

How this fits together

The Control UI session-data controller schedules catalog reads through the Gateway and merges local and paired-host results into sidebar rows.

flowchart LR
  A[Visible Control UI tab] --> B[Session data controller]
  B --> C[Catalog refresh lifecycle]
  C --> D[Gateway catalog RPC]
  D --> E[Native catalog providers]
  E --> F[Sidebar catalog rows]
  F --> B
Loading

Technical review

Best possible solution:

Retain one two-minute catalog cadence with the existing visibility catch-up, explicit refresh, retry, and progressive-result lifecycle.

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

Source establishes the existing 30-second polling path, and the supplied production-sidebar fixture reports the expected before/after request counts; no live Gateway reproduction was run during this review.

Is this the best way to solve the issue?

The small change uses the existing refresh owner, removes the unsupported event branch completely, and documents the accepted freshness tradeoff without adding another cache or setting.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Advertised catalog-change event mode changes intended behavior with a stated reason (bdf8960: Prepare for a companion Gateway event producer while avoiding scans from ordinary session churn; current source still has no producer.)
  • Periodic native-session discovery and freshness documentation changes intended behavior with a stated reason (7819130: Discover externally created sessions without reloading while showing host results progressively; this PR retains discovery and explicitly changes its latency budget.)
  • Visibility, coalescing, and queued refresh ownership keeps the original intent (4bf0bd3: Suppress redundant focus and presence scans while retaining a queued refresh after real tab return.)
  • Catalog permission and stale-result boundaries keeps the original intent (898f7f4: Avoid unauthorized catalog reads and retire retained catalog state when current connection authority changes.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

Likely related people:

  • Shakker: Raw commit 898f7f4 adds ui/src/components/app-sidebar-session-catalog-live.ts:32 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 898f7f49b97c; files: ui/src/components/app-sidebar-session-catalog-live.ts)

PR surface

Source -36, Tests +1, Docs +1. Total -34 across 21 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 4 3 39 -36
Tests 12 99 98 +1
Docs 5 11 10 +1
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 21 113 147 -34

Review metrics

Metric Value Why it matters
Periodic catalog cadence 30 seconds → 120 seconds Reduces idle periodic requests by 75% per visible tab while deliberately increasing external-session discovery latency.

Labels

Label changes:

  • add P2: A bounded performance improvement reduces repeated Gateway work without an urgent availability or delivery defect.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • add status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.

Label justifications:

  • P2: A bounded performance improvement reduces repeated Gateway work without an urgent availability or delivery defect.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • 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 16, 2026, 12:46 PM ET / 16:46 UTC.

@steipete
steipete merged commit fb6a79a into main Oct 16, 2026
115 of 118 checks passed
@steipete
steipete deleted the steipete/perf-micro-polling-audit-20260919 branch October 16, 2026 17:05
@steipete

Copy link
Copy Markdown
Contributor Author

Landed under the authorized unrelated-CI-failure exception for run 38932271626, head 1f721552bce887dd5e46d13e3c568d137fedf702.

The sole failed file was ui/src/test-helpers/control-ui-e2e-suite.test.ts: its nested scenario-timeout Vitest process timed out, then seven cases rejected reuse of the unjoined fixture. Five sequential focused runs passed all 20 cases on the PR head and five passed on CI's exact main parent aded33b0cef1a063fa68e6fb4e1fc4b099d04241, using the same pinned Bun revision. The PR changes no production code on that harness's path. This establishes unrelated-flake attribution under the standing rule; it does not fix or relabel the original Linux CI failure.

The catalog regressions, UI E2E, UI performance, all types/lint/docs/security checks, and remaining planned jobs passed. Independent review is clean and the documentation review finding is resolved. No CI rerun or unrelated source change was used. Full attribution and timings are in the PR body.

vincentkoc added a commit that referenced this pull request Oct 16, 2026
…158510

* commit '236ceb85e92ac8cb5bdc58a4a70bd79cbebd1094': (24 commits)
  feat(decisions): run typed tasks with prepared model credentials (#157225)
  fix(gateway): retain observer slots until model work settles (#174262)
  refactor(ui): own assistant content subscriptions in Solid (#174035)
  refactor(logging): remove package and snapshot debug instrumentation (#174431)
  fix: show native Talk speech separately from completed answers (#172598)
  test(ui): forbid new controller host consumers (#174446)
  chore(deps): refresh dependencies with a seven-day cutoff (#174410)
  perf(ui): reduce idle native session catalog polling (#174404)
  refactor(test): remove unused Signal fixture overrides (#174445)
  fix: surface DNS zone and Linux camera read failures (#174424)
  fix(doctor): keep at most three standalone Doctor captures (#174415)
  perf(cron): reuse session writer for completed run alias cleanup (#174413)
  feat(database): legacy SQLite migrations complete before PostgreSQL port (#174399)
  perf(channels): avoid rereading ingress queue mutations (#174393)
  feat(control-ui): keep link readers scoped to their pane session (#173652)
  test(ui): wait for desktop widget placement before pinning (#174439)
  refactor(ui): compose remaining plugin classes (#174441)
  perf(control-ui): shrink transcript overscan and settle skipped row sizes synchronously (#173690)
  fix(sessions): quietly settle archived delivery endpoints (#174442)
  perf(sessions): keep config loading out of transcript workers (#174414)
  ...
vincentkoc added a commit that referenced this pull request Oct 16, 2026
…esafe-decision-native

* commit '236ceb85e92ac8cb5bdc58a4a70bd79cbebd1094': (24 commits)
  feat(decisions): run typed tasks with prepared model credentials (#157225)
  fix(gateway): retain observer slots until model work settles (#174262)
  refactor(ui): own assistant content subscriptions in Solid (#174035)
  refactor(logging): remove package and snapshot debug instrumentation (#174431)
  fix: show native Talk speech separately from completed answers (#172598)
  test(ui): forbid new controller host consumers (#174446)
  chore(deps): refresh dependencies with a seven-day cutoff (#174410)
  perf(ui): reduce idle native session catalog polling (#174404)
  refactor(test): remove unused Signal fixture overrides (#174445)
  fix: surface DNS zone and Linux camera read failures (#174424)
  fix(doctor): keep at most three standalone Doctor captures (#174415)
  perf(cron): reuse session writer for completed run alias cleanup (#174413)
  feat(database): legacy SQLite migrations complete before PostgreSQL port (#174399)
  perf(channels): avoid rereading ingress queue mutations (#174393)
  feat(control-ui): keep link readers scoped to their pane session (#173652)
  test(ui): wait for desktop widget placement before pinning (#174439)
  refactor(ui): compose remaining plugin classes (#174441)
  perf(control-ui): shrink transcript overscan and settle skipped row sizes synchronously (#173690)
  fix(sessions): quietly settle archived delivery endpoints (#174442)
  perf(sessions): keep config loading out of transcript workers (#174414)
  ...
vincentkoc added a commit that referenced this pull request Oct 16, 2026
…/decision-tool-v2-proof-20261016

* commit '236ceb85e92ac8cb5bdc58a4a70bd79cbebd1094': (24 commits)
  feat(decisions): run typed tasks with prepared model credentials (#157225)
  fix(gateway): retain observer slots until model work settles (#174262)
  refactor(ui): own assistant content subscriptions in Solid (#174035)
  refactor(logging): remove package and snapshot debug instrumentation (#174431)
  fix: show native Talk speech separately from completed answers (#172598)
  test(ui): forbid new controller host consumers (#174446)
  chore(deps): refresh dependencies with a seven-day cutoff (#174410)
  perf(ui): reduce idle native session catalog polling (#174404)
  refactor(test): remove unused Signal fixture overrides (#174445)
  fix: surface DNS zone and Linux camera read failures (#174424)
  fix(doctor): keep at most three standalone Doctor captures (#174415)
  perf(cron): reuse session writer for completed run alias cleanup (#174413)
  feat(database): legacy SQLite migrations complete before PostgreSQL port (#174399)
  perf(channels): avoid rereading ingress queue mutations (#174393)
  feat(control-ui): keep link readers scoped to their pane session (#173652)
  test(ui): wait for desktop widget placement before pinning (#174439)
  refactor(ui): compose remaining plugin classes (#174441)
  perf(control-ui): shrink transcript overscan and settle skipped row sizes synchronously (#173690)
  fix(sessions): quietly settle archived delivery endpoints (#174442)
  perf(sessions): keep config loading out of transcript workers (#174414)
  ...
vincentkoc added a commit that referenced this pull request Oct 16, 2026
…157433

* commit '3dd7f576829fd8ec1fd395acb59f3d4f9e999166': (24 commits)
  feat(decisions): run typed tasks with prepared model credentials (#157225)
  fix(gateway): retain observer slots until model work settles (#174262)
  refactor(ui): own assistant content subscriptions in Solid (#174035)
  refactor(logging): remove package and snapshot debug instrumentation (#174431)
  fix: show native Talk speech separately from completed answers (#172598)
  test(ui): forbid new controller host consumers (#174446)
  chore(deps): refresh dependencies with a seven-day cutoff (#174410)
  perf(ui): reduce idle native session catalog polling (#174404)
  refactor(test): remove unused Signal fixture overrides (#174445)
  fix: surface DNS zone and Linux camera read failures (#174424)
  fix(doctor): keep at most three standalone Doctor captures (#174415)
  perf(cron): reuse session writer for completed run alias cleanup (#174413)
  feat(database): legacy SQLite migrations complete before PostgreSQL port (#174399)
  perf(channels): avoid rereading ingress queue mutations (#174393)
  feat(control-ui): keep link readers scoped to their pane session (#173652)
  test(ui): wait for desktop widget placement before pinning (#174439)
  refactor(ui): compose remaining plugin classes (#174441)
  perf(control-ui): shrink transcript overscan and settle skipped row sizes synchronously (#173690)
  fix(sessions): quietly settle archived delivery endpoints (#174442)
  perf(sessions): keep config loading out of transcript workers (#174414)
  ...
vincentkoc added a commit that referenced this pull request Oct 16, 2026
…/decision-onnx-v2-proof-20261016

* commit '3dd7f576829fd8ec1fd395acb59f3d4f9e999166': (24 commits)
  feat(decisions): run typed tasks with prepared model credentials (#157225)
  fix(gateway): retain observer slots until model work settles (#174262)
  refactor(ui): own assistant content subscriptions in Solid (#174035)
  refactor(logging): remove package and snapshot debug instrumentation (#174431)
  fix: show native Talk speech separately from completed answers (#172598)
  test(ui): forbid new controller host consumers (#174446)
  chore(deps): refresh dependencies with a seven-day cutoff (#174410)
  perf(ui): reduce idle native session catalog polling (#174404)
  refactor(test): remove unused Signal fixture overrides (#174445)
  fix: surface DNS zone and Linux camera read failures (#174424)
  fix(doctor): keep at most three standalone Doctor captures (#174415)
  perf(cron): reuse session writer for completed run alias cleanup (#174413)
  feat(database): legacy SQLite migrations complete before PostgreSQL port (#174399)
  perf(channels): avoid rereading ingress queue mutations (#174393)
  feat(control-ui): keep link readers scoped to their pane session (#173652)
  test(ui): wait for desktop widget placement before pinning (#174439)
  refactor(ui): compose remaining plugin classes (#174441)
  perf(control-ui): shrink transcript overscan and settle skipped row sizes synchronously (#173690)
  fix(sessions): quietly settle archived delivery endpoints (#174442)
  perf(sessions): keep config loading out of transcript workers (#174414)
  ...
vincentkoc added a commit that referenced this pull request Oct 16, 2026
Match the two-minute refresh contract introduced by #174404 (fb6a79a). Keep the existing cursor replay, retained-host, and history assertions.
vincentkoc added a commit that referenced this pull request Oct 16, 2026
* refactor(memory): move overview into Memory Core

* fix(memory): qualify Settings contract integration

* fix(memory): prepare Settings presentation for UI-only delivery

* test(ui): align catalog refresh clock with polling interval

Match the two-minute refresh contract introduced by #174404 (fb6a79a). Keep the existing cursor replay, retained-host, and history assertions.

* test(ui): exercise optional hover loading outside Chat

Chat eagerly imports the hover provider since #173652 (8e95a76). Use the real About Docs link to retain the failed-download, reload, title fallback, no-card, and no-preview-RPC assertions.

* test(ui): count nested assets in compression progress

Include nested packaged plugin assets in the observed sidecar totals and emit nested fixture assets so the exact cadence and failure assertions cover this layout.

* test(ui): type recursive compression filenames as UTF-8
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 17, 2026
* perf(ui): reduce idle native session catalog polling

Refresh visible native catalogs every two minutes while retaining visibility catch-up, explicit refresh, retries, and progressive results. Remove the catalog-change event mode because the Gateway neither advertises nor emits that event. Fixture periodic calls fall from 2 to 0.5 per minute per tab; external discovery can take up to two minutes plus native indexing time.

* docs(ui): align native catalog freshness guidance
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 17, 2026
…aw#174452)

* refactor(memory): move overview into Memory Core

* fix(memory): qualify Settings contract integration

* fix(memory): prepare Settings presentation for UI-only delivery

* test(ui): align catalog refresh clock with polling interval

Match the two-minute refresh contract introduced by openclaw#174404 (bd43f1f). Keep the existing cursor replay, retained-host, and history assertions.

* test(ui): exercise optional hover loading outside Chat

Chat eagerly imports the hover provider since openclaw#173652 (adbbb40). Use the real About Docs link to retain the failed-download, reload, title fallback, no-card, and no-preview-RPC assertions.

* test(ui): count nested assets in compression progress

Include nested packaged plugin assets in the observed sidecar totals and emit nested fixture assets so the exact cadence and failure assertions cover this layout.

* test(ui): type recursive compression filenames as UTF-8
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 extensions: anthropic extensions: codex P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. 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