Skip to content

perf(test): admit isolated Gateway readers to the existing worker pool - #146550

Merged
steipete merged 3 commits into
mainfrom
codex/ci-real-gateway-parallel-readers
Sep 13, 2026
Merged

steipete merged 3 commits into
mainfrom
codex/ci-real-gateway-parallel-readers

Conversation

@steipete

@steipete steipete commented Sep 12, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Eleven isolated real-Gateway fixtures still run serially despite having their own mutable state, and failed CI runs can lose the browser state needed to diagnose readiness failures.

User Impact

The complete Gateway workload uses the existing two-worker pool more efficiently, with no added jobs or shards. Failed waits emit bounded, safe status/count summaries before artifact writes; raw credentials, IDs, URLs, frames, draft contents and body text stay out of those summaries. Runtime behavior, configuration and deadlines are unchanged.

Why This Change Was Made

Admit the eleven audited fixtures through the existing allowlist and update its independent native discovery guard. Fixtures retain private HOME, state, ports and cleanup; built UI bytes are read-only and lifetime-owned by the invocation or prepared Gateway child. Four conditional fixtures remain serial. Ordinary local and frozen-target execution keep their existing paths.

The shared failure-capture owner records Gateway/document readiness and composer state, and can summarize already-recorded model/auth responses. Quota capture supplies those observations without an extra RPC. Original errors survive screenshot or storage failures.

Evidence

A controlled AWS Linux baseline/candidate/reversal ran genuine original scheduling commits b137b10e / a7b6cbdf / b137b10e. All arms passed the same 28 files and 56 cases, with matching case multisets and two workers.

Arm Test execution Artifact build
Baseline 798.592 s 118.877 s
Candidate 638.073 s 119.330 s
Reversal 791.117 s 116.423 s

Test execution improved 19.72% against the controls' mean; control spread was 0.94%. This is same-host evidence with eight usable CPUs, 33.09 GB RAM, Node 24.19.0, pnpm 12.3.4 and managed Chromium, not a Blacksmith or eight-minute CI forecast. Sampled summed RSS was 8.57/8.77/8.33 GB and includes shared pages. Available cgroup OOM counters did not increase; the root counter was unavailable. Generation/source verification, child joins and scratch cleanup passed; all 112 archived evidence members were independently verified, and both temporary machines are released. Earlier failed browser/observer setup attempts are retained separately.

The native guard protects all 29 discovered files, including desktop resize, with 24 parallel and five serial. CI proves desktop resize separately and selects the other 28. All 56 configuration/readiness owner checks and 12 real-loopback HTTP checks pass. The failure-capture owner has nine passing checks, including actual DOM extraction, missing-versus-empty model results, safe-label/status projection, non-disclosure, repeated artifact retention, screenshot/storage failures and original-error preservation. Actual recorded quota frames also passed through the real summary implementation.

Scoped gates and independent P2 reviews passed. The final seven changed files match the reviewed bytes after refresh onto main 004332fc; the equivalent MCP assertion repair is now on main through #146667 and is no longer duplicated here. Runtime LOC is unchanged; scheduling/diagnostic support is +129 and tests net +129, with documentation net unchanged.

Full CI on the preceding head f976fcb3 passed in run 34737598229, attempt 2. All 28 Gateway files and 56 cases passed in 412.55 seconds on attempt 1. Twelve Node jobs initially never acquired runners and executed zero steps; the existing failed-only hosted fallback passed all twelve without code changes. Exact-head CI for the refreshed 05bc18dc candidate passed on attempt 1 in run 34740944573, with all 101 jobs successful or skipped. Its full Gateway suite passed all 28 files and 56 cases in 424.03 seconds. The job also passed separate real desktop resize checks over both Node and SSH; total assigned job time was 10m14s. No test retry was needed on this head.

Integration history and limits: the original retained scheduler expectations and MCP cache assertion failed before their repairs. The catalog-request synchronization repair is now on main via #146644, so its equivalent local commit was dropped. The quota-recovery runtime repair is owned by #146691 and is included through the refreshed base. A separate browser-extension target-closure failure passed one unchanged hosted retry; its cause remains an identified follow-up. A local two-case Gateway diagnostic passed the original quota/approval assertions but failed its artifact-path contract, so that overall run remains failed and is not CI or timing proof. The later full Gateway run passed all 56 cases; the local diagnostic and unchanged browser retry are not timing or root-cause proof.

@clawsweeper

clawsweeper Bot commented Sep 12, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

ClawSweeper review complete

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

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation size: XS maintainer Maintainer-authored PR labels Sep 12, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. 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. labels Sep 12, 2026
@clawsweeper

clawsweeper Bot commented Sep 12, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 13, 2026, 1:48 AM ET / 05:48 UTC (Revision 5).

ClawSweeper review

What this changes

Allows eleven additional isolated Gateway browser fixtures to share the existing test worker pool and adds safe failure-state summaries to CI logs.

Merge readiness

✅ Ready for maintainer review

This remains a useful, supported optimization absent from current main. The earlier scheduling-guard finding is resolved, and no blocking correctness or security findings remain.

Priority: P2
Reviewed head: 05bc18dc2e09f1d76841243307f3c09f937aee7e

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused implementation with strong controlled scheduling evidence, repaired prior feedback, and no remaining actionable findings.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (live_output): Recorded AWS Linux runs exercise the real prebuilt scheduler and Gateway/browser fixtures with matching inventories and observed improvement; GitHub confirms a later real-Gateway CI pass on the preceding head whose seven changed files match this head exactly. Diagnostic fault checks supplement that evidence.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (live_output): Recorded AWS Linux runs exercise the real prebuilt scheduler and Gateway/browser fixtures with matching inventories and observed improvement; GitHub confirms a later real-Gateway CI pass on the preceding head whose seven changed files match this head exactly. Diagnostic fault checks supplement that evidence.
Evidence reviewed 9 items Change remains necessary: Fetched main retains 13 allowlisted fixtures; this branch expands that existing owner to 24 without changing the root worker cap or ordinary local scheduling.
Latest-release comparison: The supplied latest release also retains the smaller allowlist; it does not already provide this scheduling expansion.
Prior finding resolved: The native discovery guard now expects 24 parallel and five serial files, preserves complete inventory and uniqueness assertions, and checks both the default worker cap and a one-worker override.
Findings None None.
Security None None.

How this fits together

OpenClaw’s browser test runner prepares Gateway and Control UI artifacts, then schedules isolated fixtures within a shared worker limit. Its diagnostic helper captures failed browser waits for CI troubleshooting.

flowchart TD
  A[Prepared Gateway and UI artifacts] --> B[Readiness and generation checks]
  B --> C[Fixture allowlist]
  C --> D[Serial fixtures]
  C --> E[Shared two-worker pool]
  D --> F[Browser assertions]
  E --> F
  F --> G[Results and safe failure diagnostics]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Tests +258, Docs 0. Total +258 across 7 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 5 380 122 +258
Docs 2 3 3 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 7 383 125 +258

Review metrics

Metric Value Why it matters
Controlled execution improvement 19.72% faster; 0.94% control spread The baseline/candidate/reversal comparison holds case inventory and worker count constant, supporting a bounded scheduling benefit.
Scheduling coverage 24 parallel, 5 serial; at most 2 workers The updated native guard preserves all 29 discovered files while expanding admission within the existing resource budget.
Runtime versus validation growth Production runtime +0; scheduling/diagnostic support +129; tests +129 Growth is confined to the stated scheduling and failure-diagnosis work rather than shipped runtime behavior.

Technical review

Best possible solution:

Retain the single audited scheduling allowlist and shared diagnostic owner, preserving isolated fixture state, complete coverage, and the existing worker budget.

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

Not applicable as a product bug reproduction: this is test infrastructure optimization, supported by a controlled real-Gateway scheduling comparison and focused diagnostic checks.

Is this the best way to solve the issue?

Yes. Extending the existing audited allowlist and failure-capture helper preserves ownership and avoids new workers, duplicate schedulers, or runtime configuration.

AGENTS.md: found and applied where relevant.

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

Labels

Label justifications:

  • P2: This is a measured, bounded CI efficiency and diagnosability improvement without an urgent user-facing regression.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (live_output): Recorded AWS Linux runs exercise the real prebuilt scheduler and Gateway/browser fixtures with matching inventories and observed improvement; GitHub confirms a later real-Gateway CI pass on the preceding head whose seven changed files match this head exactly. Diagnostic fault checks supplement that evidence.
  • proof: sufficient: Contributor real behavior proof is sufficient. Recorded AWS Linux runs exercise the real prebuilt scheduler and Gateway/browser fixtures with matching inventories and observed improvement; GitHub confirms a later real-Gateway CI pass on the preceding head whose seven changed files match this head exactly. Diagnostic fault checks supplement that evidence.

Evidence

What I checked:

  • Change remains necessary: Fetched main retains 13 allowlisted fixtures; this branch expands that existing owner to 24 without changing the root worker cap or ordinary local scheduling. (test/vitest/vitest.ui-e2e-prebuilt.config.ts:9, c23e1b27abd8)
  • Latest-release comparison: The supplied latest release also retains the smaller allowlist; it does not already provide this scheduling expansion. (test/vitest/vitest.ui-e2e-prebuilt.config.ts:9, 3a9d69db306c)
  • Prior finding resolved: The native discovery guard now expects 24 parallel and five serial files, preserves complete inventory and uniqueness assertions, and checks both the default worker cap and a one-worker override. (test/vitest-ui-e2e-config.test.ts:513, 05bc18dc2e09)
  • Controlled scheduling proof: The captured PR body at source revision f84d58bc34de01e487874568a21ba169933148f78d432a69391bcbaa0ead8eda reports AWS Linux baseline/candidate/reversal runs with identical 28-file, 56-case inventories and two workers: 798.592/638.073/791.117 seconds. It records memory observations, generation checks, child joins, cleanup, and explicitly limits the 19.72% improvement to test execution on that host.
  • Review continuity and integration evidence: GitHub’s complete tree for the preceding reviewed head matches all seven current changed-file blob hashes. Its CI run succeeded on attempt 2, and the real-Gateway job succeeded on attempt 1. Current-head real-Gateway CI was still running when checked; preceding-head success is not presented as current-head CI. (f976fcb3b74f)
  • Diagnostic safety and error preservation: The shared helper emits allowlisted statuses, booleans, lengths, and aggregate model/auth counts before artifact writes. Its extended tests exercise actual DOM extraction, unknown values, missing versus empty responses, repeated captures, screenshot/storage failures, non-disclosure, and preservation of the original error. (ui/src/test-helpers/control-ui-e2e.ts:3488, 05bc18dc2e09)

Likely related people:

  • Peter Steinberger: Raw commit d37ed30 adds test/vitest/vitest.ui-e2e-prebuilt.config.ts:9 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: d37ed30158b5; files: test/vitest/vitest.ui-e2e-prebuilt.config.ts)

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 (4 earlier review cycles)
  • reviewed 2026-09-12T23:11:22.299Z sha a7b6cbd :: blocked before merge. :: [P2] Update the native discovery guard for the expanded allowlist
  • reviewed 2026-09-13T01:45:23.355Z sha e4722f4 :: needs changes before merge. :: [P2] Update the native discovery guard for the expanded allowlist
  • reviewed 2026-09-13T02:15:19.698Z sha a625386 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-13T04:48:20.460Z sha f976fcb :: needs maintainer review before merge. :: none

@steipete
steipete force-pushed the codex/ci-real-gateway-parallel-readers branch from a7b6cbd to e4722f4 Compare September 13, 2026 01:38
@steipete steipete self-assigned this Sep 13, 2026
@steipete
steipete marked this pull request as ready for review September 13, 2026 01:39
@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. and removed merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. 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. labels Sep 13, 2026
@steipete
steipete force-pushed the codex/ci-real-gateway-parallel-readers branch from a625386 to f976fcb Compare September 13, 2026 04:19
@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui size: L and removed size: XS labels Sep 13, 2026
@steipete
steipete force-pushed the codex/ci-real-gateway-parallel-readers branch from f976fcb to 05bc18d Compare September 13, 2026 05:41
@fuller-stack-dev

Copy link
Copy Markdown
Member

I’m taking responsibility for following this canonical scheduling prerequisite through review, required checks and landing for #145043. I will preserve the existing branch and contributor attribution, not create a competing scheduler.

Current head: 05bc18dc2e09f1d76841243307f3c09f937aee7e, not the older f976fcb3. I’ve checked the seven-file delta and the unchanged root worker cap, ordinary-local serial path, generation guard and failure-summary boundaries. Run 34740944573 and the fresh ClawSweeper review are already active; I’m leaving both intact rather than dispatching another run or resetting the head.

Next: finish the exact-head review/check reconciliation, resolve any actionable findings through the supported maintainer path, and verify the merge SHA before bringing the relevant canonical behavior into #145043. I will recheck the branch head and active-writer state before any source change. If you have unpushed edits or another live branch writer, please identify that boundary here.

@steipete
steipete merged commit 3c16ced into main Sep 13, 2026
138 of 139 checks passed
@steipete
steipete deleted the codex/ci-real-gateway-parallel-readers branch September 13, 2026 06:03
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

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]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 14, 2026
openclaw#146550)

* perf(test): admit isolated Gateway readers to the existing worker pool

* test: align Gateway scheduling and sandbox cache expectations

* test(ui): retain safe Gateway failure state in CI logs
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 docs Improvements or additions to documentation maintainer Maintainer-authored PR P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: L 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