Skip to content

test(ui): wait for pointer delivery in inline widget controls - #146664

Merged
fuller-stack-dev merged 4 commits into
mainfrom
codex/test-mcp-app-cache-contract
Sep 13, 2026
Merged

fuller-stack-dev merged 4 commits into
mainfrom
codex/test-mcp-app-cache-contract

Conversation

@steipete

@steipete steipete commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

Related: #139635

What Problem This Solves

The widget browser test can click an outer iframe during layout changes without delivering the action to its nested control, causing conformance checks to time out.

User Impact

Restores the widget interaction check without changing production behavior or weakening authentication, isolation, and state-retention assertions.

Why This Change Was Made

Use the existing pointer-delivery helper for inline expand, collapse, and Refresh. It observes native hover inside the control before clicking once. Keep every other click, assertion, and timeout unchanged.

The earlier MCP cache-expectation repair is superseded by #146667 and has been removed from this PR; that file is preserved exactly as it appears on main.

Evidence

Retained Linux and local failures show clicks missing the inner widget. The full widget case passes locally, and the identical widget source passed the Linux CI case in 7.5 seconds. Isolation, retained frames and notes, the exact chat prompt, and the board event remain asserted.

Existing mapped checks passed for these unchanged widget bytes. A fresh review covers the final widget-only subset. New exact-head required CI, including quota recovery after the separate mainline repair, remains mandatory before landing. The final diff adds nine test lines and no new test cases or production code.

@clawsweeper

clawsweeper Bot commented Sep 13, 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 September 13, 2026 02:36
@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui size: XS maintainer Maintainer-authored PR labels Sep 13, 2026
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. 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. labels Sep 13, 2026
@clawsweeper

clawsweeper Bot commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 13, 2026, 2:10 AM ET / 06:10 UTC (Revision 4).

ClawSweeper review

What this changes

The widget browser test waits for native pointer delivery before expanding, collapsing, or refreshing an inline widget.

Merge readiness

✅ Ready for maintainer review

The focused repair remains useful on current main, and no actionable defect was found. The earlier cache overlap has been removed, and explicit maintainer sponsorship supports retaining this test-only PR.

Priority: P3
Reviewed head: 78daa663761bcf96ebb81c00791f367da0c128d0

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused use of an established helper preserves meaningful coverage and introduces no identified correctness defect.
Proof confidence 🌊 off-meta tidepool Not applicable: The supplied maintainer classification exempts this test-only repair from the external-contributor proof gate; reported browser runs exercise inline expansion and chat refresh through real Chromium with mocked Gateway data.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The supplied maintainer classification exempts this test-only repair from the external-contributor proof gate; reported browser runs exercise inline expansion and chat refresh through real Chromium with mocked Gateway data.
Evidence reviewed 8 items Verified introduced patch: The pinned base-to-head diff replaces only three direct clicks with the existing helper; assertions, fixtures, production code, and timeout definitions are unchanged. Whitespace checking passed.
Existing pointer-delivery owner: The helper moves out and back into the control, observes native :hover, and performs one click after readiness. It throws when readiness remains absent; it does not retry the action or suppress downstream failures.
Repair remains absent from current main: Fetched main retains direct clicks for both Toggle details actions and Refresh via chat.
Findings None None.
Security None None.

How this fits together

Control UI browser tests exercise interactive widgets inside isolated nested frames. Pointer delivery must reach the inner control before the tests can verify resizing, retained state, and outgoing chat requests.

flowchart LR
  A[Browser test] --> B[Move pointer into widget]
  B --> C{Inner control observes hover}
  C -->|No| B
  C -->|Yes| D[Click once]
  D --> E[Widget resize or chat request]
  E --> F[Assert behavior and retained state]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Tests +9. Total +9 across 1 file.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 12 3 +9
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 1 12 3 +9

Review metrics

None.

Root-cause cluster

Relationship: canonical
Canonical: #146664
Summary: This PR owns the remaining inline-control repair; the earlier helper and separately merged cache correction do not supersede it.

Members:

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

Technical review

Best possible solution:

Use the shared native-pointer readiness helper at the affected inline controls while retaining the existing behavioral and isolation assertions.

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

No deterministic current-main reproduction was established in this read-only review; the PR reports Linux and local failures, and the earlier merged helper documents the same browser pointer-routing mechanism.

Is this the best way to solve the issue?

Yes. Reusing the established helper preserves a single readiness owner and all downstream assertions without retrying clicks or adding production behavior.

AGENTS.md: found and applied where relevant.

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

Labels

Label justifications:

  • P3: This is a bounded browser-test reliability repair with no production behavior change.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The supplied maintainer classification exempts this test-only repair from the external-contributor proof gate; reported browser runs exercise inline expansion and chat refresh through real Chromium with mocked Gateway data.

Evidence

What I checked:

Likely related people:

  • unknown: The claimed source-line change could not be verified from bounded local history. (role: source history unknown; confidence: low)
  • fuller-stack-dev: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

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 (3 earlier review cycles)
  • reviewed 2026-09-13T02:43:56.815Z sha b75009d :: needs maintainer review before merge. :: none
  • reviewed 2026-09-13T03:16:21.959Z sha 25e6044 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-13T04:22:48.961Z sha f6e968f :: needs maintainer review before merge. :: none

@steipete steipete changed the title test(mcp): align history cache checks with versioned sandbox test(ui): repair sandbox cache and pointer-delivery checks Sep 13, 2026
@steipete

steipete commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor Author

The quota blocker is now repaired on main by #146691, merged as a13a0105deaa6258ff2fd46eba4e4ab386b2d87b.

Fresh real-Gateway CI for #146587, based on that commit, passes both unchanged quota cases: automatic recovery in 16.434 seconds and saved-clear in 15.847 seconds. The run finishes with 55 of 56 tests passing; its only failure is the stale no-store expectation for the versioned /mcp-app-sandbox response at mcp-app-conformance.e2e.test.ts:925.

I verified the current HTTP owner deliberately grants immutable caching only to the matching shell fingerprint, with sibling coverage retaining no-store for stale, unversioned, and policy-mismatched requests. This existing repair (also covered by #146677) is the appropriate owner; I am keeping the preview branch free of a duplicate test patch. Refreshing this repair onto the landed quota fix can now exercise both contracts together.

Update: #146667 has now landed the same cache assertion fix on main at 2f663805b4c76be46199eb5b524bb1f3372f853d. After comparing the complete test and finding no remaining behavioral difference, I closed the cache-only #146677 as already fixed and canceled its obsolete CI. #146587 is refreshed onto that canonical fix. This PR's separate pointer-delivery changes remain with its existing workflow; I am not changing or closing this branch.

@fuller-stack-dev

Copy link
Copy Markdown
Member

I’m taking responsibility for following this canonical repair through review, required checks and landing as part of the #145043 prerequisite work, without creating a replacement PR.

Current head: f6e968f26c6824781b0688b04d5a674d1e59e3c7. I checked the complete two-file patch and its pointer-delivery helper. The public sandbox cache correction is already present on main through #146667 (2f663805b4c76be46199eb5b524bb1f3372f853d); this branch’s remaining pointer-delivery changes and version assertion will be reconciled explicitly, not discarded by a marker-only conflict resolution. The failed Gateway job’s annotation identifies the historical quota-status assertion, which is separate from the pointer patch.

Next: coordinate any active edits, resolve the current conflict on this existing branch with attribution preserved, then verify the affected Linux/browser contract and required exact-head checks before a pinned maintainer merge. I will recheck the live head before contributing and won’t overwrite concurrent work. If you have unpushed edits or a live branch writer, please identify that boundary here.

…4-prep

# Conflicts:
#	ui/src/e2e/mcp-app-conformance.e2e.test.ts
@steipete steipete changed the title test(ui): repair sandbox cache and pointer-delivery checks test(ui): wait for pointer delivery in inline widget controls Sep 13, 2026
@fuller-stack-dev

fuller-stack-dev commented Sep 13, 2026 •

Copy link
Copy Markdown
Member

The branch is now at 78daa663761bcf96ebb81c00791f367da0c128d0, and I am preserving its existing CI run 34741815180. The pointer file is byte-identical to the earlier Linux-passing version.

One conflict-resolution delta needs reconciliation: the accurate cache headers from merged #146667 are retained, but the former observation and assertion that the immutable sandbox URL carries a 64-hex fingerprint are absent. I am reviewing that against the existing cache-contract tests before making a narrow contribution on this branch. No reset, competing PR, CI cancellation, or duplicate run.

Please identify any currently unpushed edits or active source-writing lease. The earlier ownership coordination remains in effect; I will re-read the head before contributing.

Resolved after reading the current PR description and the actual HTTP-owner test: the cache file was deliberately removed from this PR because #146667 owns it. src/gateway/mcp-app-sandbox-http.test.ts already asserts the 64-hex version on the generated public URLs, immutable GET/HEAD only for the matching version, and no-store for stale, unversioned, and altered-policy requests. The browser test independently retains no-store for authenticated app/view and the exact immutable public-shell header. I will preserve this smallest widget-only patch and will not reintroduce a duplicate cache change or restart its existing CI.

@fuller-stack-dev fuller-stack-dev self-assigned this Sep 13, 2026
@fuller-stack-dev
fuller-stack-dev merged commit 8dccc29 into main Sep 13, 2026
83 of 84 checks passed
@fuller-stack-dev
fuller-stack-dev deleted the codex/test-mcp-app-cache-contract branch September 13, 2026 06:17
steipete added a commit that referenced this pull request Sep 13, 2026
Reconcile the shared catalog when a publication retires a route preload
before the Models page subscribes. Keep catalog errors visible and use the
existing loader to consume current models without changing badge semantics.

The route-to-page gap was introduced by c9c856c (#146396). It matches
the automatic quota-recovery badge failures in checks-ui-e2e-real-gateway
on #146246 (run 34733358595) and #146664 (run 34733471778).

Prove the same Signed in/Ready failure before the fix and recovery after it.
All 134 focused tests, both real-Gateway quota scenarios, the UI build, and
changed-file checks pass. Keep usage-preload fixtures complete and retain
quota badge transitions and catalog events for diagnosis.
steipete added a commit that referenced this pull request Sep 13, 2026
Catalog discovery captures auth before awaiting provider I/O. If an ordinary
turn clears a quota block meanwhile, the published catalog can retain the
old cooldown despite successful recovery. Background inventory renewal in
65c9f24 (#146317) exposes this overlap in the quota real-Gateway CI cases
reported on #146246 and #146664.

Materialize current in-memory usage only for unchanged discovery credentials.
Keep credential ownership and standalone read-only behavior intact. Remove
the earlier UI-only candidate from the final change.

A held synthetic catalog response proves the original stale cooldown and
Signed in badge, then proves available models and Ready after the repair.
Preserve all existing assertions and poll deadlines. Add credential-identity
coverage and document recovery behavior; no persistent-state changes.
fuller-stack-dev pushed a commit that referenced this pull request Sep 13, 2026
Integrate the scoped changes from canonical #146550 and #146664 and only
the MCP cache assertion from #146667. Preserve the reviewed admitted
preview lifetime changes and document shared output reuse.

Co-authored-by: Peter Steinberger <[email protected]>
steipete added a commit that referenced this pull request Sep 13, 2026
Reconcile the shared catalog when a publication retires a route preload
before the Models page subscribes. Keep catalog errors visible and use the
existing loader to consume current models without changing badge semantics.

The route-to-page gap was introduced by c9c856c (#146396). It matches
the automatic quota-recovery badge failures in checks-ui-e2e-real-gateway
on #146246 (run 34733358595) and #146664 (run 34733471778).

Prove the same Signed in/Ready failure before the fix and recovery after it.
All 134 focused tests, both real-Gateway quota scenarios, the UI build, and
changed-file checks pass. Keep usage-preload fixtures complete and retain
quota badge transitions and catalog events for diagnosis.
steipete added a commit that referenced this pull request Sep 13, 2026
Catalog discovery captures auth before awaiting provider I/O. If an ordinary
turn clears a quota block meanwhile, the published catalog can retain the
old cooldown despite successful recovery. Background inventory renewal in
65c9f24 (#146317) exposes this overlap in the quota real-Gateway CI cases
reported on #146246 and #146664.

Materialize current in-memory usage only for unchanged discovery credentials.
Keep credential ownership and standalone read-only behavior intact. Remove
the earlier UI-only candidate from the final change.

A held synthetic catalog response proves the original stale cooldown and
Signed in badge, then proves available models and Ready after the repair.
Preserve all existing assertions and poll deadlines. Add credential-identity
coverage and document recovery behavior; no persistent-state changes.
steipete added a commit that referenced this pull request Sep 13, 2026
Add a real-Gateway regression that holds model catalog discovery across an ordinary quota-recovery turn, then verifies model availability and the provider's Ready badge without restarting the Gateway.

Keep quota freshness with the existing generation-bound, physical-owner-aware usage reader. The final change adds fixture support, browser coverage, and recovery documentation; the duplicate production overlay was removed during review.

Refs #146317. Refs #146246. The sandbox-cache half is tracked separately in #146664.

Validation: 64 focused owner/catalog tests and all three real-Gateway quota cases passed in the retained behavior proof. Exact-head CI passed at https://github.com/openclaw/openclaw/actions/runs/34755008537. The clean rebase preserves the approved patch byte-for-byte; the whitespace check and native hosted-CI prepare gates passed. Lead and ClawSweeper reviews have no actionable findings.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 14, 2026
…aw#146664)

Use the existing pointer-delivery readiness helper for inline widget expand, collapse, and Refresh, followed by one native click. Preserve authentication, isolation, retained frames and notes, exact chat prompts, and board-event assertions.

The cache-only change is already owned by openclaw#146667. This merge retains the focused widget-only patch.

Exact-head CI: https://github.com/openclaw/openclaw/actions/runs/34741815180
Completed exact-head ClawSweeper review found no actionable defect. Native hosted gates, supported preparation, and merge verification passed.

Co-authored-by: Peter Steinberger <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 14, 2026
…#146708)

Add a real-Gateway regression that holds model catalog discovery across an ordinary quota-recovery turn, then verifies model availability and the provider's Ready badge without restarting the Gateway.

Keep quota freshness with the existing generation-bound, physical-owner-aware usage reader. The final change adds fixture support, browser coverage, and recovery documentation; the duplicate production overlay was removed during review.

Refs openclaw#146317. Refs openclaw#146246. The sandbox-cache half is tracked separately in openclaw#146664.

Validation: 64 focused owner/catalog tests and all three real-Gateway quota cases passed in the retained behavior proof. Exact-head CI passed at https://github.com/openclaw/openclaw/actions/runs/34755008537. The clean rebase preserves the approved patch byte-for-byte; the whitespace check and native hosted-CI prepare gates passed. Lead and ClawSweeper reviews have no actionable findings.
steipete added a commit that referenced this pull request Sep 25, 2026
)

* fix(update): prevent stale Codex migrations from blocking upgrades

* test(update): preserve historical child validation coverage

* test(update): narrow the readiness fixture to supported lanes

* fix(doctor): migrate retained state before retiring plugin locators

* test(update): align finalization fixtures with migration completion

* fix(doctor): preserve safe repairs before plugin convergence

* fix(ui): repair picker cursor and static check regressions

* test(ui): align picker and account flows with current contracts

* test: bind post-plugin Doctor fixtures and retain Windows cleanup ownership

* fix(tooling): settle Windows npm shim descendants before cleanup

* test: await lazy Inbox panel and provision desktop SSH runtime

Join the panel module after opening before asserting top-layer ownership.
Provision only an absent CI privsep runtime directory; refuse unsafe paths
without normalizing them and verify the newly created directory.

* fix: settle npm Windows Job resources before sandbox cleanup

Join the owned root and pipe EOF within the existing cleanup budget.
Preserve command deadlines, single-attempt removal and original errors.

* test: split reasoning normalization from thinking suite

* test: synchronize catalog assertions and expose workspace failures

Wait for catalog publication before terminal assertions and distinct recovery.
Wait for the model trigger to be enabled before the real browser click.
Reject the retention barrier when a fixture upload fails so the original
outcome assertion can surface the initiating error instead of timing out.

Keep provider routing, production behavior, assertions and deadlines unchanged.

* test: expose pre-upload workspace reconciliation failures

* perf: trim cold Bash and catalog worker imports

* test: compile source cache helper inside catalog worker fixture

* fix: bound SDK report memory and isolate UI proof timing

Deduplicate shared declaration sections without retaining all repeated keys.
Keep the complete evaluated SDK surface and unchanged child memory limit.
Await host and nested sandbox layout within one existing polling deadline.
Disable unrelated startup update checks in the real-Gateway catalog fixture.

* test(ui): reuse admitted prebuilt previews

* test(ui): compose landed Gateway qualification fixes

Integrate the scoped changes from canonical #146550 and #146664 and only
the MCP cache assertion from #146667. Preserve the reviewed admitted
preview lifetime changes and document shared output reuse.

Co-authored-by: Peter Steinberger <[email protected]>

* test: isolate admitted preview ownership and catalog build identity

Keep borrowed UI output fixture-owned and match default mock Gateway build
identity to the served client while retaining explicit stale-build scenarios.
Capture catalog startup failure diagnostics before context teardown.

Carry the exact routing fixture loader/command-recorder correction from
Peter Steinberger's canonical #146810 at e62d242.
No unrelated canonical changes imported.

* test(ui): bind catalog refreshes to their test owner

* test(ui): preserve browser failure diagnostics

* fix: keep Doctor convergence effect guard synchronous

Align the startup adapter with the synchronous post-core convergence and
plugin lifecycle lease refusal contract. Both production callers already
use synchronous guards. This annotation-only correction resolves the
current pull-request CI no-misused-promises failure without runtime changes.

* fix: complete shared schema under current Doctor authority

Use the existing checkpoint-required shared-schema migration step only
for the shipped post-install IPC and compatibility handoff. Preserve
maintenance authority, schema fences, publication policy and plugin/agent
deferral. Cover real v16 state, old-driver publication and guarded refusals.

Revalidate optional delegated executor/requester authority before maintenance
effects and immediately before the synchronous shared-schema writer.
Preserve original refusal identity and grantless shipped-driver support.

Repair the existing refusal fixture to enter post-core maintenance and
clear unused one-shot contribution mocks between cases.

Accept only the typed post-install Doctor advisory in the survivor success
assertion; preserve failed-core-step and plugin-convergence refusals.

* test: call synchronous convergence guard directly

Remove the obsolete await from the private-root containment fixture.
The guard is synchronous; production code and refusal assertions remain
unchanged. Retain CI34799045580 core1 failure as the red evidence.

* test: respect cloud row clocks and plugin admission retries

Give each cloud reconciliation fixture transition a current timestamp.
Honor only the explicit retryable plugin-admission busy response, with a
30-second bound and retained observations. Keep all lifecycle and channel
identity assertions; change no runtime code or CI timeout policy.

* fix(doctor): preserve planned references through early repair

Unpublished source successor for #145043. Retains original contributor ancestry,
all 38 withdrawals, and the prior pending composition. Contextual supplier
7f5a90b source provenance is retained in the companion recovery record.
Three exact owner contracts still block whole-composition qualification.

* fix(config): retain acquisition environment through Doctor writes

Narrowly integrate published supplier 3b2140f
with its exact authored-value and paired-write regressions. Preserve the
retained Doctor APIs and current-main composition. Source review is scoped
clean; native, exact-head CI and installed acceptance remain separate.

* test(doctor): distinguish deferred and post-core load diagnostics

Preserve no-execution and structured-advisory behavior for shipped-parent
deferral while covering actual post-core plugin failures. Main diagnostics
remain intact for standalone and writable-parent lint calls.

* fix(doctor): complete state migration after install-record repair

Use the validated post-convergence repair config for core state migrations
while retaining source locators for plugin migrations. This prevents startup
from repairing retired install records and then refusing unfinished workspace
state. Cover the real startup child, archived bytes, and SQLite setup state.

* test(update): match current deferred plugin warnings

* test(doctor): distinguish readers from staging workers

Observe real child requests so the fixture requires one reusable reader while separately checking balanced staging lifetimes and clean native closure for every child.

---------

Co-authored-by: Peter Steinberger <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 26, 2026
…claw#145043)

* fix(update): prevent stale Codex migrations from blocking upgrades

* test(update): preserve historical child validation coverage

* test(update): narrow the readiness fixture to supported lanes

* fix(doctor): migrate retained state before retiring plugin locators

* test(update): align finalization fixtures with migration completion

* fix(doctor): preserve safe repairs before plugin convergence

* fix(ui): repair picker cursor and static check regressions

* test(ui): align picker and account flows with current contracts

* test: bind post-plugin Doctor fixtures and retain Windows cleanup ownership

* fix(tooling): settle Windows npm shim descendants before cleanup

* test: await lazy Inbox panel and provision desktop SSH runtime

Join the panel module after opening before asserting top-layer ownership.
Provision only an absent CI privsep runtime directory; refuse unsafe paths
without normalizing them and verify the newly created directory.

* fix: settle npm Windows Job resources before sandbox cleanup

Join the owned root and pipe EOF within the existing cleanup budget.
Preserve command deadlines, single-attempt removal and original errors.

* test: split reasoning normalization from thinking suite

* test: synchronize catalog assertions and expose workspace failures

Wait for catalog publication before terminal assertions and distinct recovery.
Wait for the model trigger to be enabled before the real browser click.
Reject the retention barrier when a fixture upload fails so the original
outcome assertion can surface the initiating error instead of timing out.

Keep provider routing, production behavior, assertions and deadlines unchanged.

* test: expose pre-upload workspace reconciliation failures

* perf: trim cold Bash and catalog worker imports

* test: compile source cache helper inside catalog worker fixture

* fix: bound SDK report memory and isolate UI proof timing

Deduplicate shared declaration sections without retaining all repeated keys.
Keep the complete evaluated SDK surface and unchanged child memory limit.
Await host and nested sandbox layout within one existing polling deadline.
Disable unrelated startup update checks in the real-Gateway catalog fixture.

* test(ui): reuse admitted prebuilt previews

* test(ui): compose landed Gateway qualification fixes

Integrate the scoped changes from canonical openclaw#146550 and openclaw#146664 and only
the MCP cache assertion from openclaw#146667. Preserve the reviewed admitted
preview lifetime changes and document shared output reuse.

Co-authored-by: Peter Steinberger <[email protected]>

* test: isolate admitted preview ownership and catalog build identity

Keep borrowed UI output fixture-owned and match default mock Gateway build
identity to the served client while retaining explicit stale-build scenarios.
Capture catalog startup failure diagnostics before context teardown.

Carry the exact routing fixture loader/command-recorder correction from
Peter Steinberger's canonical openclaw#146810 at e62d242.
No unrelated canonical changes imported.

* test(ui): bind catalog refreshes to their test owner

* test(ui): preserve browser failure diagnostics

* fix: keep Doctor convergence effect guard synchronous

Align the startup adapter with the synchronous post-core convergence and
plugin lifecycle lease refusal contract. Both production callers already
use synchronous guards. This annotation-only correction resolves the
current pull-request CI no-misused-promises failure without runtime changes.

* fix: complete shared schema under current Doctor authority

Use the existing checkpoint-required shared-schema migration step only
for the shipped post-install IPC and compatibility handoff. Preserve
maintenance authority, schema fences, publication policy and plugin/agent
deferral. Cover real v16 state, old-driver publication and guarded refusals.

Revalidate optional delegated executor/requester authority before maintenance
effects and immediately before the synchronous shared-schema writer.
Preserve original refusal identity and grantless shipped-driver support.

Repair the existing refusal fixture to enter post-core maintenance and
clear unused one-shot contribution mocks between cases.

Accept only the typed post-install Doctor advisory in the survivor success
assertion; preserve failed-core-step and plugin-convergence refusals.

* test: call synchronous convergence guard directly

Remove the obsolete await from the private-root containment fixture.
The guard is synchronous; production code and refusal assertions remain
unchanged. Retain CI34799045580 core1 failure as the red evidence.

* test: respect cloud row clocks and plugin admission retries

Give each cloud reconciliation fixture transition a current timestamp.
Honor only the explicit retryable plugin-admission busy response, with a
30-second bound and retained observations. Keep all lifecycle and channel
identity assertions; change no runtime code or CI timeout policy.

* fix(doctor): preserve planned references through early repair

Unpublished source successor for openclaw#145043. Retains original contributor ancestry,
all 38 withdrawals, and the prior pending composition. Contextual supplier
7f5a90b source provenance is retained in the companion recovery record.
Three exact owner contracts still block whole-composition qualification.

* fix(config): retain acquisition environment through Doctor writes

Narrowly integrate published supplier 3b2140f
with its exact authored-value and paired-write regressions. Preserve the
retained Doctor APIs and current-main composition. Source review is scoped
clean; native, exact-head CI and installed acceptance remain separate.

* test(doctor): distinguish deferred and post-core load diagnostics

Preserve no-execution and structured-advisory behavior for shipped-parent
deferral while covering actual post-core plugin failures. Main diagnostics
remain intact for standalone and writable-parent lint calls.

* fix(doctor): complete state migration after install-record repair

Use the validated post-convergence repair config for core state migrations
while retaining source locators for plugin migrations. This prevents startup
from repairing retired install records and then refusing unfinished workspace
state. Cover the real startup child, archived bytes, and SQLite setup state.

* test(update): match current deferred plugin warnings

* test(doctor): distinguish readers from staging workers

Observe real child requests so the fixture requires one reusable reader while separately checking balanced staging lifetimes and clean native closure for every child.

---------

Co-authored-by: Peter Steinberger <[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 maintainer Maintainer-authored PR P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants