Skip to content

ci: select SDK consumers instead of the whole Node suite - #154668

Closed
steipete wants to merge 8 commits into
mainfrom
ci-burden/c3-sdk-impact
Closed

steipete wants to merge 8 commits into
mainfrom
ci-burden/c3-sdk-impact

Conversation

@steipete

@steipete steipete commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Historical safety condition remains blocked; this PR is unarmed and must not be treated as ready to merge. The current-tree guard passes, but original-tree evidence leaves 1,667 historical failed-file observations unmatched, as detailed below.

Problem and behavior

PR Node planning treated a core change reaching the public Plugin SDK as a reason to select the complete core and plugin plan. All 15 SDK-triggered runs in C2's census reached that surface transitively; none directly edited SDK files.

The planner now resolves both SDK package-alias namespaces through canonical public, private, and QA entry registries, including type imports, re-exports, and literal dynamic imports. It retains complete canonical rows containing affected consumers, affected plugin test envelopes, SDK contract suites, and borrowers of the shared real SDK/worker compiler fixture. Selected rows preserve their complete inventories, isolation, environments, workers, and timing floors. Canonical file ownership also prevents duplicate raw-target rows when local aggregate config names differ from CI split configs.

Broad fallback remains for the SDK registry identities, removed root index, API baseline, missing sources, unresolved production aliases, and independent broad inputs. Ordinary named barrels have enumerable consumers. The wrapper extraction manifest includes the new registry dependency and its JSON inputs.

This branch includes C2's three prerequisite commits from #154162 and preserves current main's process-proof tiering. The separate release tooling-tier proposal is outside this change. The native run also exposed an existing memory-child EOF/signal race; its bounded repair and proof are recorded below.

Repaired publication head: d813d49cdd5e695eb2671dbff9dc6ffa871ca3a6. Main base: 761725d03f294aaddc399a759a0755d34a0e1ecf. Auto-merge is disabled; no landing was requested or performed.

Historical safety condition: blocked

The current-tree guard passes, but it does not establish the requested absolute historical-failure condition. A stronger follow-up recovered ten exact historical merge trees as data and projected the reviewed consumer policy from first head 16d461bb5e5 onto their recorded native rows. The repaired-head current-tree replay is a separate proof. Across eleven failure-bearing scopes, that projection retains 36,193 of 37,860 failed file/run observations and leaves 1,667 unmatched. No original paths are unavailable in this projection.

  • 1,664 observations belong to locale-only run 35453889536, under C2's inherited UI narrowing. The original locale file exists; the current-tree replay's missing-file broad fallback cannot prove historical coverage. Its other changed inputs have bounded owners and no independent broad reason.
  • Three observations name the older test/scripts/run-vitest-state-cleanup.test.ts in runs 35454502929, 35454248166, and 35453952736. Those versions launched compilation through filesystem paths and did not import today's shared prepared-worker fixture. The current implementation imports that fixture and is retained by the current planner.

Of the 56 observations of eleven files absent from the publication checkout, 53 have original-tree witnesses: 46 SDK dependency paths, two affected extension envelopes, and five retained UI row memberships. Three remain unmatched in the locale run. The expanded projection above also checks the other original failed files, exposing the larger gap rather than treating absent files as the only uncertainty.

The original job failures include compiled-subprocess and module-link failures, including the missing rejectConfigNonFiniteNumbers export. They are not demonstrated assertion defects caused by the changed UI/SDK source. They still count under the requested all-failures oracle. No run-specific production exception, relaxed assertion, or historical-failure allowlist was added.

This is a trusted graph and recorded-row projection, not a complete historical planner execution on every backend. Independent broad reasons were checked and credited first: target-count overflow, unbounded E2E plans, and a changed workspace package. The original archives were read only as data; no historical contributor code or configuration was executed. All forty SDK registry comparisons preserved the original aliases. Exact trees, hashes, dependency witnesses, row inventories, and unmatched-job causes are retained in the task evidence.

This PR remains unarmed and is not ready to merge under the absolute historical safety condition. Resolving that condition requires a decision about the inherited C2 UI scope and historical dynamic compilation dependencies.

Selection evidence

C2’s fixed 40-run cohort contains 25 runs with Node work, 2 docs-only runs, and 13 runs skipped before preflight. The 13 skipped scopes stay N/A: they have no observed changed set or executed tests. Exact paths, checkout/base SHAs, routing flags, and failed-job provenance are retained in the fixed corpus.

All 15 runs inferred by C2 to have public SDK impact changed zero SDK entry/barrel/canary/API-baseline files. Every one reached the SDK transitively from core. The labels remain inferred triggers, not historical preflight reason strings.

Run PR Changed paths Direct SDK files Changed owner
35456568835 150536 2 0 session transcript access
35456329034 152892 11 0 delivery queue/state workers
35454834838 153027 8 0 Doctor/plugin updates
35454502929 152727 5 0 update interruption
35454248166 153023 2 0 terminal file upload
35454142991 150898 99 0 service/update lifecycle
35454136903 140743 4 0 embedded run loop
35454021670 140743 4 0 embedded run loop
35453974910 153020 5 0 update service maintenance
35453952736 152727 5 0 update interruption
35453935887 152979 16 0 config mutation/Control UI
35453674776 153007 2 0 config mutation
35452181593 148582 27 0 config/process/Control UI
35450760030 152975 1 0 update repair inference
35450319146 141843 16 0 model failover

Canonical file membership is credited before focused config routing. A file’s local aggregate config can differ from its CI split config (unit versus unit-src, or gateway versus its canonical child configs); those names must not cause a second raw-target process for a file already selected in an SDK group.

Current-tree failure guard

The fixed corpus binds losslessly to all 40 original C2 runs: changed paths, base/checkout/head SHAs, routing flags, profiles, expanded failed paths, and failed Node job ids. Thirteen runs stopped before preflight and remain N/A. The failure oracle includes test assertions and suite/collection failures from actual job logs, with 5,637 distinct Node failed files and 37,946 file/run observations.

On the repaired current checkout, every one of the 37,882 present failed-file/run observations remains selected on each backend. There are zero present-file omissions, planner errors, or duplicate raw targets across the 123 replay cells (40 runs × three profiles, plus one direct-entry spot per profile). The baseline replay took 118.25s and the candidate 185.40s command wall; these are planner costs, not suite or CI timings.

64 observations across 13 historical files are absent from this checkout, and are not counted as covered by this replay. The original-tree investigation below is separate and exposes a substantive safety gap. The upstream rebase newly removed src/infra/update-repair-agent-worker.test.ts and src/infra/update-repair-candidate-runtime.test.ts in 545089c61a85 (#154453); this explains eight more unavailable observations than the first publication replay.

The guard exercises the registered planner and native-shard completeness. It exposed omitted real compiler consumers during development; the production fix records their shared compiler fixture dependency rather than a run-id or historical-test allowlist. The first native CI run passed all 14 corpus cases; its measured cost is recorded with that run below.

Matched current-tree planner replay

Baseline: d8dd61d53794ee96b93f016d3326b66cb902cae5 (C2 prerequisite parent). Candidate: d813d49cdd5e695eb2671dbff9dc6ffa871ca3a6. Both use the same main base and the exact same recorded changed sets and flags. Each revision uses its own canonical inventory, including the candidate's new guard cost. Upstream changed 304 baseline files since the first publication pair, so this is a fresh matched comparison, not a selector-only experiment with identical inventories.

Same 40 C2 runs, each checkout’s current canonical inventory. Node wall is LPT/96 predicted-seconds only; excludes queue/setup/preflight and other lanes. Untimed rows make it a lower bound. Absent historical files are not covered by this current-tree replay. Non-Node failures retain separate existing owners.

Profile Node rows before→after Change Sum modeled Node wall before→after Untimed rows before→after New omitted failures
hybrid 2378→2345 -33 210m34s→210m34s 2→2 0
github 2553→2508 -45 157m14s→157m37s 2→1 0
blacksmith 2445→2445 +0 250m49s→250m49s 2→2 0
hybrid: all 40 recorded runs
Run Mode before→after Rows before→after Modeled wall before→after Untimed before→after Present failed files omitted before→after Missing historical files
35457971318 not-observed→not-observed N/A→N/A N/A→N/A N/A→N/A 0→0 0
35457966711 not-observed→not-observed N/A→N/A N/A→N/A N/A→N/A 0→0 0
35457435914 broad→broad 69→69 8m38s→8m38s 0→0 0→0 0
35456568835 broad→changed-set 113→109 8m38s→8m38s 0→0 0→0 0
35456329034 broad→broad 113→113 8m38s→8m38s 0→0 0→0 0
35455241025 not-observed→not-observed N/A→N/A N/A→N/A N/A→N/A 0→0 0
35454938239 docs-only→docs-only 0→0 0m00s→0m00s N/A→N/A 0→0 0
35454912618 not-observed→not-observed N/A→N/A N/A→N/A N/A→N/A 0→0 0
35454834838 broad→changed-set 113→109 8m38s→8m38s 0→0 0→0 5
35454816308 broad→broad 66→66 8m38s→8m38s 0→0 0→0 2
35454791857 broad→broad 77→77 8m38s→8m38s 0→0 0→0 0
35454678496 docs-only→docs-only 0→0 0m00s→0m00s N/A→N/A 0→0 0
35454553412 not-observed→not-observed N/A→N/A N/A→N/A N/A→N/A 0→0 0
35454511618 not-observed→not-observed N/A→N/A N/A→N/A N/A→N/A 0→0 0
35454506959 not-observed→not-observed N/A→N/A N/A→N/A N/A→N/A 0→0 0
35454502929 broad→changed-set 113→109 8m38s→8m38s 0→0 0→0 8
35454442664 not-observed→not-observed N/A→N/A N/A→N/A N/A→N/A 0→0 0
35454248166 broad→changed-set 113→109 8m38s→8m38s 0→0 0→0 8
35454142991 broad→broad 113→113 8m38s→8m38s 0→0 0→0 5
35454136903 broad→broad 113→113 8m38s→8m38s 0→0 0→0 8
35454021670 broad→broad 113→113 8m38s→8m38s 0→0 0→0 2
35453974910 broad→changed-set 113→109 8m38s→8m38s 0→0 0→0 5
35453952736 broad→changed-set 113→109 8m38s→8m38s 0→0 0→0 8
35453949245 broad→broad 113→113 8m38s→8m38s 0→0 0→0 5
35453935887 broad→changed-set 113→109 8m38s→8m38s 0→0 0→0 0
35453889536 broad→broad 65→65 8m38s→8m38s 0→0 0→0 8
35453889152 broad→broad 113→113 8m38s→8m38s 0→0 0→0 0
35453674776 broad→changed-set 113→109 8m38s→8m38s 0→0 0→0 0
35452181593 broad→broad 113→113 8m38s→8m38s 0→0 0→0 0
35451458879 not-observed→not-observed N/A→N/A N/A→N/A N/A→N/A 0→0 0
35451368167 not-observed→not-observed N/A→N/A N/A→N/A N/A→N/A 0→0 0
35450760030 broad→changed-set 113→109 8m38s→8m38s 0→0 0→0 0
35450634079 changed-set→changed-set 25→26 6m00s→6m00s 1→1 0→0 0
35450497500 not-observed→not-observed N/A→N/A N/A→N/A N/A→N/A 0→0 0
35450461233 broad→broad 65→65 8m38s→8m38s 0→0 0→0 0
35450416918 not-observed→not-observed N/A→N/A N/A→N/A N/A→N/A 0→0 0
35450353778 changed-set→changed-set 25→27 6m00s→6m00s 1→1 0→0 0
35450319146 broad→broad 113→113 8m38s→8m38s 0→0 0→0 0
35450189109 not-observed→not-observed N/A→N/A N/A→N/A N/A→N/A 0→0 0
35450121971 broad→broad 65→65 8m38s→8m38s 0→0 0→0 0
github: all 40 recorded runs
Run Mode before→after Rows before→after Modeled wall before→after Untimed before→after Present failed files omitted before→after Missing historical files
35457971318 not-observed→not-observed N/A→N/A N/A→N/A N/A→N/A 0→0 0
35457966711 not-observed→not-observed N/A→N/A N/A→N/A N/A→N/A 0→0 0
35457435914 broad→broad 80→80 5m30s→5m30s 0→0 0→0 0
35456568835 broad→changed-set 124→119 7m06s→7m06s 0→0 0→0 0
35456329034 broad→broad 124→124 7m06s→7m06s 0→0 0→0 0
35455241025 not-observed→not-observed N/A→N/A N/A→N/A N/A→N/A 0→0 0
35454938239 docs-only→docs-only 0→0 0m00s→0m00s N/A→N/A 0→0 0
35454912618 not-observed→not-observed N/A→N/A N/A→N/A N/A→N/A 0→0 0
35454834838 broad→changed-set 124→119 7m06s→7m06s 0→0 0→0 5
35454816308 broad→broad 77→77 5m30s→5m30s 0→0 0→0 2
35454791857 broad→broad 88→88 5m30s→5m30s 0→0 0→0 0
35454678496 docs-only→docs-only 0→0 0m00s→0m00s N/A→N/A 0→0 0
35454553412 not-observed→not-observed N/A→N/A N/A→N/A N/A→N/A 0→0 0
35454511618 not-observed→not-observed N/A→N/A N/A→N/A N/A→N/A 0→0 0
35454506959 not-observed→not-observed N/A→N/A N/A→N/A N/A→N/A 0→0 0
35454502929 broad→changed-set 124→119 7m06s→7m06s 0→0 0→0 8
35454442664 not-observed→not-observed N/A→N/A N/A→N/A N/A→N/A 0→0 0
35454248166 broad→changed-set 124→119 7m06s→7m06s 0→0 0→0 8
35454142991 broad→broad 124→124 7m06s→7m06s 0→0 0→0 5
35454136903 broad→broad 124→124 7m06s→7m06s 0→0 0→0 8
35454021670 broad→broad 124→124 7m06s→7m06s 0→0 0→0 2
35453974910 broad→changed-set 124→119 7m06s→7m06s 0→0 0→0 5
35453952736 broad→changed-set 124→119 7m06s→7m06s 0→0 0→0 8
35453949245 broad→broad 124→124 7m06s→7m06s 0→0 0→0 5
35453935887 broad→changed-set 124→119 7m06s→7m06s 0→0 0→0 0
35453889536 broad→broad 76→76 5m30s→5m30s 0→0 0→0 8
35453889152 broad→broad 124→124 7m06s→7m06s 0→0 0→0 0
35453674776 broad→changed-set 124→119 7m06s→7m06s 0→0 0→0 0
35452181593 broad→broad 124→124 7m06s→7m06s 0→0 0→0 0
35451458879 not-observed→not-observed N/A→N/A N/A→N/A N/A→N/A 0→0 0
35451368167 not-observed→not-observed N/A→N/A N/A→N/A N/A→N/A 0→0 0
35450760030 broad→changed-set 124→119 7m06s→7m06s 0→0 0→0 0
35450634079 changed-set→changed-set 22→22 3m30s→3m30s 1→1 0→0 0
35450497500 not-observed→not-observed N/A→N/A N/A→N/A N/A→N/A 0→0 0
35450461233 changed-set→changed-set 1→1 2m02s→2m25s 0→0 0→0 0
35450416918 not-observed→not-observed N/A→N/A N/A→N/A N/A→N/A 0→0 0
35450353778 changed-set→changed-set 25→25 3m30s→3m30s 1→0 0→0 0
35450319146 broad→broad 124→124 7m06s→7m06s 0→0 0→0 0
35450189109 not-observed→not-observed N/A→N/A N/A→N/A N/A→N/A 0→0 0
35450121971 broad→broad 76→76 5m30s→5m30s 0→0 0→0 0
blacksmith: all 40 recorded runs
Run Mode before→after Rows before→after Modeled wall before→after Untimed before→after Present failed files omitted before→after Missing historical files
35457971318 not-observed→not-observed N/A→N/A N/A→N/A N/A→N/A 0→0 0
35457966711 not-observed→not-observed N/A→N/A N/A→N/A N/A→N/A 0→0 0
35457435914 broad→broad 72→72 10m23s→10m23s 0→0 0→0 0
35456568835 broad→changed-set 116→116 10m23s→10m23s 0→0 0→0 0
35456329034 broad→broad 116→116 10m23s→10m23s 0→0 0→0 0
35455241025 not-observed→not-observed N/A→N/A N/A→N/A N/A→N/A 0→0 0
35454938239 docs-only→docs-only 0→0 0m00s→0m00s N/A→N/A 0→0 0
35454912618 not-observed→not-observed N/A→N/A N/A→N/A N/A→N/A 0→0 0
35454834838 broad→changed-set 116→116 10m23s→10m23s 0→0 0→0 5
35454816308 broad→broad 69→69 10m23s→10m23s 0→0 0→0 2
35454791857 broad→broad 80→80 10m23s→10m23s 0→0 0→0 0
35454678496 docs-only→docs-only 0→0 0m00s→0m00s N/A→N/A 0→0 0
35454553412 not-observed→not-observed N/A→N/A N/A→N/A N/A→N/A 0→0 0
35454511618 not-observed→not-observed N/A→N/A N/A→N/A N/A→N/A 0→0 0
35454506959 not-observed→not-observed N/A→N/A N/A→N/A N/A→N/A 0→0 0
35454502929 broad→changed-set 116→116 10m23s→10m23s 0→0 0→0 8
35454442664 not-observed→not-observed N/A→N/A N/A→N/A N/A→N/A 0→0 0
35454248166 broad→changed-set 116→116 10m23s→10m23s 0→0 0→0 8
35454142991 broad→broad 116→116 10m23s→10m23s 0→0 0→0 5
35454136903 broad→broad 116→116 10m23s→10m23s 0→0 0→0 8
35454021670 broad→broad 116→116 10m23s→10m23s 0→0 0→0 2
35453974910 broad→changed-set 116→116 10m23s→10m23s 0→0 0→0 5
35453952736 broad→changed-set 116→116 10m23s→10m23s 0→0 0→0 8
35453949245 broad→broad 116→116 10m23s→10m23s 0→0 0→0 5
35453935887 broad→changed-set 116→116 10m23s→10m23s 0→0 0→0 0
35453889536 broad→broad 68→68 10m23s→10m23s 0→0 0→0 8
35453889152 broad→broad 116→116 10m23s→10m23s 0→0 0→0 0
35453674776 broad→changed-set 116→116 10m23s→10m23s 0→0 0→0 0
35452181593 broad→broad 116→116 10m23s→10m23s 0→0 0→0 0
35451458879 not-observed→not-observed N/A→N/A N/A→N/A N/A→N/A 0→0 0
35451368167 not-observed→not-observed N/A→N/A N/A→N/A N/A→N/A 0→0 0
35450760030 broad→changed-set 116→116 10m23s→10m23s 0→0 0→0 0
35450634079 changed-set→changed-set 24→23 6m00s→6m00s 1→1 0→0 0
35450497500 not-observed→not-observed N/A→N/A N/A→N/A N/A→N/A 0→0 0
35450461233 broad→broad 68→68 10m23s→10m23s 0→0 0→0 0
35450416918 not-observed→not-observed N/A→N/A N/A→N/A N/A→N/A 0→0 0
35450353778 changed-set→changed-set 24→25 6m00s→6m00s 1→1 0→0 0
35450319146 broad→broad 116→116 10m23s→10m23s 0→0 0→0 0
35450189109 not-observed→not-observed N/A→N/A N/A→N/A N/A→N/A 0→0 0
35450121971 broad→broad 68→68 10m23s→10m23s 0→0 0→0 0

Direct-entry spot case src/plugin-sdk/allow-from.ts is outside the 40-run cohort and all aggregates. It checks a narrow public entrypoint absent from the historical sample.

Backend Mode before→after Rows before→after Modeled wall before→after Untimed before→after
hybrid broad→changed-set 113→50 8m38s→8m38s 0→0
github broad→changed-set 124→56 7m06s→5m01s 0→0
blacksmith broad→changed-set 116→54 10m23s→10m23s 0→0

Validation before native publication

The following Linux guard/check proof is bound to the recorded source manifests before the final rebase. The repaired-head replay above and subsequent native run validate the updated inventory; the two native repairs received their own fresh checks and review.

Blacksmith Testbox tbx_01m31dgwnw8xkn8mw806vn4ty8, run 35572670062, verified SHA-256 input manifests and completed:

  • Complete node scripts/check-changed.mjs, including script and test-root type checks, formatting, lint and selected ratchets.
  • ci-workflow-guards.test.ts: 647 passed, 146.24s command wall.
  • ci-node-test-plan.test.ts: 119 passed, 80.11s.
  • ci-changed-node-test-plan.test.ts: 243 passed, 110.44s; the final ownership repair also passed its complete file in the same lease.
  • test-projects.test.ts: 1,250 passed, 55.77s.
  • ci-sdk-impact-replay.test.ts: 14 passed; final run 126.56s. This guard reconstructs real plans for the 14 failure-bearing scopes, reusing the fixed 40-run corpus. Its cost protects the historical oracle through the registered planner, including native-shard completeness.

The final ownership repair reran complete changed checks plus the changed-plan and corpus guard files; the wrapper reported exit 0. The Linux lease may leave its linked hydration workflow cancelled during cleanup; the wrapper's completed command receipt owns this remote result.

The two new ownership assertions failed before the repair and passed after it. Earlier Linux validation caught and resolved a replay projection type error and a missing assertion-helper context argument. A type-aware lint canary rejected an unawaited Promise. Docs formatting and MDX passed; the link audit checked 14,257 internal links with zero failures. git diff --check passed.

Codex P2 branch review was scoped-clean. The subsequent assertion-context and duplicate-ownership repairs each received fresh, scoped-clean P2 reviews. No timeouts, retry policies, worker settings, runner caps, repository variables, or rulesets changed.

This PR is unarmed; the historical safety condition remains blocked.

First native PR execution

Run 35581008512 tested head 16d461bb5e5a7b8333e63e4b1478988698176afc and concluded failure in 25m11s, including queue time. It expanded 113 regular Node rows: 109 passed and 4 failed. No compatibility row ran. The aggregate gate failed, and no job was rerun.

The slowest regular Node job was checks-node-compact-large-4: 17m11s (success). The aggregate gate began 4m10s after the last other job completed; the saved watch observed it queued during this interval. This waiting time is included in workflow wall.

The native run exposed one memory subprocess lifecycle assertion and three failures sharing C3’s missing extracted-wrapper metadata dependency. These are retained first-head failures; later source repairs need their own validation.

Failed job Observed failure
checks-node-changed-extensions-bundle-31 manager-search-knn-subprocess.test.ts:284: idle-capacity eviction expected SIGKILL, received null.
checks-node-compact-small-42 pr-worktree-provision.test.ts:37: extracted runtime closure omitted plugin-sdk-entries.mts and its four SDK metadata JSON files.
checks-node-compact-small-35 pr-wrappers.test.ts:1503: anchor cannot import plugin-sdk-entries.mts; later soft assertions cascade.
checks-node-compact-small-45 eager-import-closure.test.ts:96: unresolved ./lib/plugin-sdk-entries.mts in extracted dependency context.
openclaw/ci-gate Correctly rejected the failed selected Node lane.

Native guard evidence

The new ci-sdk-impact-replay.test.ts guard passed all 14 cases in checks-node-compact-small-40, group core-tooling-11-hosted-2. Its reported case durations total 128.789s; this is summed case execution time, not isolated file or command wall. The native verbose reporter did not emit a standalone file wall. The containing 23-file group took 244.46s command wall (242.84s Vitest duration). The containing job took 12m09s, and its Run Node test shard step took 10m26s; both include other groups.

The same successful job records 648 passing workflow-guard cases. The cached failed compact-small-42 log separately records 119 passing canonical-planner cases before its later wrapper-provisioning group failed. Those guard files passed; the containing row’s failure remains a failure. The other required guard owner jobs passed, but their individual logs were not fetched in this evidence collection.

All job and step values come from saved GitHub timestamps. Failed logs were fetched once per failed job and reused; the corpus/workflow guard log and preflight log were fetched once. No local proof or GitHub mutation was performed by this evidence lane.

Repairs from the first native run

The three extracted-wrapper failures had one cause: the consumer graph added an import of the canonical SDK registry, but the production wrapper extraction manifest omitted that module and its four JSON inputs. The manifest now carries all five files. The existing eager-import case failed locally before the fix; afterward, the complete 12-case eager-import file passed (24.07s command wall), the exact provisioning regression passed (55.27s including cold compilation), and the extracted-anchor execution case passed (43.02s). The manifest's complete changed checks and formatting passed.

The memory failure exposed an EOF/signal race in existing idle-child retirement: destroying stdin before signaling allowed a child to exit naturally before SIGKILL. Retirement now signals first and then destroys stdin; admission still releases only after close. Existing assertions are unchanged. Blacksmith Testbox tbx_01m31m09df0n2g9czeear13zgy, hydration run 35582285035, verified source hashes and ran the original 20-file/230-test group once (168.89s, passed), the repaired identical group (157.05s, passed), the repaired 25-test file (35.61s, passed), and complete targeted changed checks (772.92s, passed). The native failure is the observed red regression; the race did not recur in the single original replay. No timing improvement is claimed from the warmed comparison.

Two remote payload errors stopped before tests (an overstrict transport-HEAD assertion and payload-generation syntax); corrected source-hash binding and syntax validation preceded the actual proof above. The final wrapper reported exit 0 despite a later portal-sync warning. Both owned Testbox leases are verified stopped.

Fresh P2 review found no actionable issues in either repair. The final rebase preserved all eight task commits' patches exactly (git range-diff), while incorporating current main. No timeouts, assertions, worker settings, retry policies, or CI capacities changed. The repaired head's native run is recorded separately below; the first failed run remains evidence.

Repaired-head native PR execution

Run 35586405521 tested source head d813d49cdd5e695eb2671dbff9dc6ffa871ca3a6 and concluded failure in 21m19s, including queue time. Its 113 regular Node rows finished 113 passed / 0 failed; 0 compatibility rows ran. The first native run remains separate evidence: 113 Node rows, 109 passed / 4 failed, aggregate failure in 25m11s. No job was rerun.

The repaired run retains the original failure evidence. The SDK metadata manifest repair restores the extracted wrapper dependency closure, and the memory repair requests child termination before destroying stdin. The table below compares their existing native owner jobs; it does not claim unchanged workloads or a causal C3 wall saving.

Repair owner job First native 35581008512 Repaired native Run Node test shard first→repaired
checks-node-changed-extensions-bundle-31 6m00s (failure) 6m26s (success) 3m56s (failure)→5m07s (success)
checks-node-compact-small-42 10m05s (failure) 9m27s (success) 9m15s (failure)→7m17s (success)
checks-node-compact-small-35 13m13s (failure) 15m28s (success) 12m24s (failure)→13m45s (success)
checks-node-compact-small-45 6m50s (failure) 11m35s (success) 6m12s (failure)→10m26s (success)

Remaining native failure

checks-ui-e2e (1/13) failed in ui/src/e2e/chat-mobile-bubble-margin.e2e.test.ts:24: “preserves system-notice gutters at 390 and 430 px in light and restores desktop geometry” hit the unchanged 120,000ms deadline (120,029ms reporter record). The following dark case passed in 859ms. The shard completed 46 files: 45 passed and 1 failed; 203 tests: 202 passed and 1 failed; Vitest duration 381.15s.

The retained failure-state capture records a connected browser and a page closed during post-timeout capture, with no recorded crash or disconnect. It does not establish the original timeout cause. Artifact control-ui-e2e-timeout-1-1 is retained as artifact 10632687449. The failure remains recorded; no deadline, assertion, retry policy, or expected result was relaxed.

Measured job and step comparison

Historical, C2, first C3, and repaired C3 runs have different source inventories, row payloads, and queue conditions. Numeric compact suffixes locate observed jobs; they do not prove identical contents. Failed-step duration is time to failure. This table is measured execution evidence, separate from the modeled current-tree planner replay and the unresolved original-tree safety proof.

Metric Historical 35453935887 C2 35564059419 First C3 35581008512 Repaired C3
Workflow wall 22m07s 21m25s 25m11s 21m19s
Regular Node rows 113 114 113 113
preflight job 0m59s (success) 1m06s (success) 1m26s (success) 1m20s (success)
↳ Build CI manifest 0m07s (success) 0m27s (success) 0m31s (success) 0m26s (success)
checks-node-compact-large-1 job 9m25s (success) 15m06s (success) 10m39s (success) 11m07s (success)
↳ Build Node test runtime 0m39s (success) 0m43s (success) not selected not selected
↳ Run Node test shard 8m17s (success) 13m33s (success) 8m49s (success) 9m52s (success)
checks-node-changed-extensions-bundle-23 job 17m23s (success) 4m11s (success) 7m12s (success) 6m42s (success)
↳ Run Node test shard 16m19s (success) 3m35s (success) 5m21s (success) 5m03s (success)
checks-node-compact-small-43 job 5m04s (success) 6m37s (failure) 8m37s (success) 15m26s (success)
↳ Run Node test shard 4m34s (success) 6m05s (failure) 7m56s (success) 12m54s (success)
build-artifacts job 4m26s (success) 5m29s (success) 5m08s (success) 5m09s (success)
↳ Build dist 1m20s (success) 1m25s (success) 1m47s (success) 2m06s (success)
↳ Run built artifact checks 2m14s (success) 2m51s (success) 1m29s (success) 1m27s (success)
checks-ui-e2e-real-gateway job 10m51s (success) 13m58s (success) not selected not selected
↳ Test Control UI suites with a real Gateway 7m48s (success) 9m58s (success) not selected not selected
docker-seed-e2e job not selected 17m19s (success) not selected not selected
↳ Run changed Docker seed owner lanes not selected 16m04s (success) not selected not selected

Slowest repaired regular Node job: checks-node-compact-small-35, 15m28s (success). All durations use saved GitHub job/step start and completion timestamps; workflow wall uses run_started_at → updated_at.

The repaired native run directly observed all 14 current-tree corpus cases passing, with 109.498s total reported case time. This is not a standalone file or command wall; the native verbose reporter emits no isolated file wall. Its containing 23-file group took 235.90s command wall (234.54s Vitest duration). The containing checks-node-compact-small-40 job took 14m02s, and its test step took 13m13s, including other groups. The same cached log records 647 passing workflow-guard cases. For comparison, the first native run reported 128.789s case time and 244.46s containing-group wall. Current-tree replay success does not prove the historical run checkouts; the original-tree blocker remains explicit in the PR.

Bounded UI timeout investigation

The UI, core source, fixtures, Vitest configs/launcher, timing inventory, dependency manifest, and lockfile have identical Git object IDs between main base 761725d03f2 and the repaired head. The UI shard command is unchanged. The original artifact contains only post-timeout teardown state, without a live pending-operation trace; the cause remains unexplained.

A single Blacksmith Testbox replay on tbx_01m31qjcj7h66v0nsnz4arc9sb (hydration run 35588025199) verified input hashes and used the same shard 1/12, two-worker configuration, sequencer, and Chromium 153.0.8010.12 / Playwright v1243. All 46 project/file specifications matched the native shard exactly. Read-only Playwright API logging was added for diagnosis.

The replay passed all 46 files and 203 tests in 234.11s Vitest wall. The previously failing light system-notice case passed in 1.107s; its dark counterpart passed in 1.143s. No source, timeout, assertion, or retry change was made. This passing diagnostic replay does not establish a fix or clear the native failure. The lease is verified stopped. A follow-up for the UI E2E diagnostics owner is to capture the pending browser operation and live renderer state at the test deadline, before suite teardown.

The PR remains open and unarmed. All task checkouts are clean, disposable baseline worktrees are removed, and owned proof leases are stopped. The original-tree safety condition and unexplained native UI timeout remain explicit follow-ups; no landing or CI rerun was performed.

@clawsweeper

clawsweeper Bot commented Sep 21, 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 scripts Repository scripts extensions: qa-lab size: XL maintainer Maintainer-authored PR labels Sep 21, 2026
@clawsweeper clawsweeper Bot added 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. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 21, 2026
@clawsweeper

clawsweeper Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed October 6, 2026, 8:19 PM ET / October 7, 2026, 00:19 UTC (Revision 3).

ClawSweeper review

What this changes

The branch narrows CI to affected SDK and UI consumers, adds historical selection replay coverage and diagnostics, repairs wrapper and QA evidence handling, and signals idle memory workers before closing stdin.

Merge readiness

⛔ Blocked before merge - 4 items remain

Keep open for explicit owner disposition. Current main and the latest release already use alias-aware test selection, but this branch retains a distinct memory-worker shutdown fix and an unmet historical safety condition. The protected maintainer PR cannot be closed automatically.

Priority: P2
Reviewed head: d813d49cdd5e695eb2671dbff9dc6ffa871ca3a6
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) Useful implementation and native execution evidence remain, but the complete patch lacks a settled safety contract and scope against the newer main selector.
Proof confidence 🐚 platinum hermit (4/6) Sufficient (logs): The matching full body records repaired-head production CI preflight, emitted test jobs, restored extracted-wrapper execution, and real memory-subprocess lifecycle coverage with observed passing owner jobs. This proves the exercised after-fix paths, while the separate original-tree safety criterion remains unresolved. No stored-data contract changes.
Patch quality 🦐 gold shrimp (3/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (logs): The matching full body records repaired-head production CI preflight, emitted test jobs, restored extracted-wrapper execution, and real memory-subprocess lifecycle coverage with observed passing owner jobs. This proves the exercised after-fix paths, while the separate original-tree safety criterion remains unresolved. No stored-data contract changes.
Evidence reviewed 9 items Pinned introduced changes: Reviewed the merge-base-to-head delta, keeping base-only changes separate. No pinned test merge is available, so the review makes no claim that merging deletes newer main behavior.
Captured body fully recovered: The complete REST body matches captured SHA-256 bba374ab3952fb4f931673a995759167189fe89ba398f4a794b93c2375400fa1. It explicitly preserves the unarmed state and reports 1,667 unmatched original-tree failure observations: 1,664 under inherited UI narrowing and three historical compiler consumers. No replacement safety criterion is approved there.
Current-tree guard has a narrower contract: The replay guard reports unavailable historical files and excludes them from its missing-selection assertion. Its passing result therefore protects present files without establishing complete original-tree coverage.
Findings None None.
Security None None.

How this fits together

The CI planner turns changed repository paths into test jobs using dependency graphs and canonical execution settings. Its output determines which regressions pull-request CI can detect.

flowchart TD
  A[Changed repository paths] --> B[Import and SDK alias graph]
  B --> C[Affected test consumers]
  C --> D[Canonical test jobs]
  B --> E[Unresolved coverage]
  E --> F[Broad fallback]
  D --> G[CI execution]
  F --> G
Loading

Decision needed

Question Recommendation
Should this PR be narrowed to the memory-worker shutdown fix and nonduplicative coverage, or retain its separate whole-row SDK selection policy? Narrow to remaining useful work: Preserve the memory shutdown repair and independently useful coverage while retaining main's current selector.

Why: Main now addresses the central CI problem through a different merged owner, while a useful runtime fix remains and the branch's historical safety condition is still unresolved.

Before merge

  • Resolve merge risk (P1) - Retaining the branch's SDK selection policy requires satisfying the declared historical coverage criterion or explicitly approving a replacement; 1,667 original-tree observations remain unmatched.
  • Resolve merge risk (P1) - The head conflicts with current main's newer planner, so any retained scope needs conflict resolution and review of the resulting patch before merge.
  • Complete next step (P2) - Obtain an owner decision on retained scope and the historical coverage criterion, then resolve conflicts and review the resulting patch against current main.
  • Resolve maintainer decision - Resolve the maintainer decision shown above before merge.
Agent review details

Security

None.

PR surface

Source +2, Tests +11242, Docs +5, Config +3, Other +211. Total +11463 across 14 files.

View PR surface stats
Area Files Added Removed Net
Source 2 5 3 +2
Tests 7 11289 47 +11242
Docs 1 5 0 +5
Config 1 3 0 +3
Generated 0 0 0 0
Other 3 242 31 +211
Total 14 11544 81 +11463

Review metrics

Metric Value Why it matters
Production and test growth production/tooling +398/−60; tests/fixtures +11,141/−21 Production growth implements selection and wrapper handling; most test growth is the frozen historical corpus.
Replay guard cost 126.56s reported command wall; repaired native case-time sum 109.498s The historical guard adds recurring CI cost, and case-time sums must not be presented as isolated file wall.

Merge-risk options

Maintainer options:

  1. Preserve the current selector (recommended)
    Narrow the retained patch to unique work so this branch does not reintroduce a separate CI selection policy.
  2. Keep the historical criterion
    Pause the selector change until its original-tree coverage requirement is met or a replacement is explicitly approved.

Technical review

Best possible solution:

Keep main's canonical selector and isolate the still-missing memory shutdown fix; retain additional replay coverage only under an explicit safety contract.

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

Yes, source identifies the memory retirement race: current main closes stdin before signaling, and the recorded native failure observed a natural exit instead of SIGKILL. No current-main execution was performed during this read-only review.

Is this the best way to solve the issue?

Unclear for the complete branch: main already has a merged alias-aware selector, while the signal-before-EOF memory repair remains a narrow useful change. Preserving the current selector and separating the remainder is the clearest path.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🐚 platinum hermit and patch quality is 🦐 gold shrimp.
  • remove rating: 🐚 platinum hermit: Current PR rating is rating: 🦐 gold shrimp, so this older rating label is no longer current.

Label justifications:

  • P2: This is a bounded CI efficiency improvement with a useful memory lifecycle repair, without evidence of an urgent introduced product regression.
  • merge-risk: 🚨 automation: The patch changes which tests CI executes, and passing selected jobs do not resolve its declared historical omission criterion.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🐚 platinum hermit and patch quality is 🦐 gold shrimp.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (logs): The matching full body records repaired-head production CI preflight, emitted test jobs, restored extracted-wrapper execution, and real memory-subprocess lifecycle coverage with observed passing owner jobs. This proves the exercised after-fix paths, while the separate original-tree safety criterion remains unresolved. No stored-data contract changes.
  • proof: sufficient: Contributor real behavior proof is sufficient. The matching full body records repaired-head production CI preflight, emitted test jobs, restored extracted-wrapper execution, and real memory-subprocess lifecycle coverage with observed passing owner jobs. This proves the exercised after-fix paths, while the separate original-tree safety criterion remains unresolved. No stored-data contract changes.

Evidence

What I checked:

  • Pinned introduced changes: Reviewed the merge-base-to-head delta, keeping base-only changes separate. No pinned test merge is available, so the review makes no claim that merging deletes newer main behavior. (scripts/lib/ci-changed-node-test-plan.mts:759, d813d49cdd5e)
  • Captured body fully recovered: The complete REST body matches captured SHA-256 bba374ab3952fb4f931673a995759167189fe89ba398f4a794b93c2375400fa1. It explicitly preserves the unarmed state and reports 1,667 unmatched original-tree failure observations: 1,664 under inherited UI narrowing and three historical compiler consumers. No replacement safety criterion is approved there. (d813d49cdd5e)
  • Current-tree guard has a narrower contract: The replay guard reports unavailable historical files and excludes them from its missing-selection assertion. Its passing result therefore protects present files without establishing complete original-tree coverage. (test/scripts/ci-sdk-impact-replay.test.ts:106, d813d49cdd5e)
  • Central CI problem has merged overlapping work: GitHub verifies fix(ci): scope PR tests to affected consumers #156729 merged on September 24. Its stated problem explicitly includes helpers reaching public SDK entries; its solution uses workspace/SDK aliases and canonical owners. Current main resolves changed targets with alias resolution enabled. This overlaps the central request but does not establish replacement of the branch's complete scope. (scripts/lib/ci-changed-node-test-plan.mts:450, 881ad1ca49d8)
  • Latest release also resolves aliases: The v2026.9.8 planner contains resolveChangedNodeTestTargets and enables resolveAliases in changed-owner selection. The central capability is therefore present in the supplied latest release, although this does not prove all branch-specific contracts are implemented. (scripts/lib/ci-changed-node-test-plan.mts:450, fc23bc864e45)
  • Meaningful runtime remainder: Current main still destroys the memory child's stdin before SIGKILL. The branch reverses that order to prevent EOF winning retirement; admission remains released by the close observer. This useful remainder prevents treating the whole branch as implemented. (extensions/memory-core/src/memory/manager-search-knn-subprocess.ts:280, de3d26ee61a0)

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rank-up moves

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

  • Resolve the retained historical criterion or document an explicitly approved replacement.
  • Refresh only the owner-approved remainder against current main and review the resulting patch.

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 (2 earlier review cycles)
  • reviewed 2026-09-21T09:12:11.976Z sha 16d461bb5e5a7b8333e63e4b1478988698176afc :: needs maintainer review before merge. :: none
  • reviewed 2026-09-21T10:40:38.360Z sha d813d49 :: blocked before merge. :: none

Retain canonical UI and host-consumer rows instead of unrelated core suites, map generated boot metadata to its owners, and keep instruction docs from widening precise plans. Batch source-reader discovery and log changed-set selection or the broad fallback reason.
Read the recorded dispatcher name separately from its logical capability so the Tool Search fixture preserves the observed search/call sequence.
Resolve public and bundled SDK aliases through the existing dependency graph. Keep canonical consumer rows, affected extension roots, SDK contracts, and the shared compiled-worker fixture owner. Retain broad fallback for unresolved aliases and SDK identity changes.

Replay the fixed C2 failure corpus, retaining failed suites still present in the checkout and reporting unavailable historical files explicitly. Preserve row policies and existing release tiers.
@steipete
steipete force-pushed the ci-burden/c3-sdk-impact branch from 16d461b to d813d49 Compare September 21, 2026 10:00
@openclaw-barnacle openclaw-barnacle Bot added the extensions: memory-core Extension: memory-core label Sep 21, 2026
@clawsweeper clawsweeper Bot added the merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. label Sep 21, 2026
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. labels Oct 7, 2026
@roboclaw-bot

Copy link
Copy Markdown
Collaborator

Superseded by current generic changed-owner selection and alias-aware source traversal, including the bounded hub policy in bbb074a and newer mock-consumer coverage. The side fixes were checked separately: structured wire-stage evidence remains in the QA fixture, and #172681 retired the old KNN subprocess owner. The historical census and original-tree qualification gaps remain preserved here; merging this older SDK-specific selector would introduce a competing policy.

@RomneyDa
RomneyDa deleted the ci-burden/c3-sdk-impact branch October 22, 2026 05:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation extensions: memory-core Extension: memory-core extensions: qa-lab maintainer Maintainer-authored PR merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. scripts Repository scripts size: XL 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