Skip to content

fix(tooling): align Knip with Canvas and worker ownership - #171194

Merged
steipete merged 2 commits into
mainfrom
dbasync/redmain-static-38432046450
Oct 13, 2026
Merged

steipete merged 2 commits into
mainfrom
dbasync/redmain-static-38432046450

Conversation

@steipete

@steipete steipete commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Scheduled main CI run 38432046450, dependency job 115417046598, found three static-analysis regressions after two ownership moves.

  • perf(build): reuse Canvas assets across deployment candidates #171103 (e454b2b80ca03e55b9ff58f924d1216552def9d5) moved the Canvas builder into root scripts. Knip now attributes @solidjs/web and solid-js to the root workspace, although the builder resolves both through extensions/canvas/package.json, which declares them.
  • perf(config): avoid synchronous plugin-state snapshots #170685 (0873425a1ef2a1c36e5296ba648dd51958768f77) moved plugin metadata reads to the worker kernel but retained an unused facade re-export.
  • The same change added a native dependency fixture launched by file path. The full-tree scan needs that subprocess entrypoint declared so it follows the fixture's dependencies.

Change

Document the two Canvas-owned dependency exceptions alongside the existing compiler exception. Remove only the unused facade re-export; keep the local import, kernel export, and worker implementation. Declare the exact subprocess fixture as an audited Knip entrypoint.

No runtime behavior, database calls, dependency versions, public SDK surface, schema, migration, update, or service lifecycle changes. No checks are removed and no new concurrency edge cases are accepted. This patch makes no warmed SQL/request or T1 reduction claim; no SQL harness is warranted.

Evidence

Changed-file formatting, syntax-only lint, and git diff --check pass. One isolated Codex P0–P2 review passed with no findings. Exact-source CI proof 38436526162 passes all three original commands: dependency, unused-file and export scans, with no findings. Ordinary CI 38435429012 passes lint, types, source contracts, Madge and database ratchets.

The ordinary CI failure in the unchanged one-shot ingress E2E is independently reproduced on the exact main base 5415a05cd1ec5d5ce70bfd145bdfdf604bf19fde: base run 38437637112 has the same workspace-skills case, rejected-vs-fulfilled assertion and Runtime config is not prepared stack through resolveAgentRuntimeConfig. The source remained unchanged during both proof runs. Land under the authorized inherited-failure exception; the separate owner repair is #171209. No PR-caused static failure is waived.

LOC: tooling +5/−0; production +0/−1; three files. No tests added or changed.

Direct emergency pushes were previously refused by repository protection (GH006). This repair uses the authorized PR and head-pinned REST squash fallback.

@clawsweeper

clawsweeper Bot commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-13T17:06:31.693245Z 5e897e8 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@steipete
steipete merged commit c8a1db6 into main Oct 13, 2026
130 of 133 checks passed
@steipete
steipete deleted the dbasync/redmain-static-38432046450 branch October 13, 2026 17:25
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 14, 2026
…w#171194)

## What Problem This Solves

Scheduled main CI run [38432046450](https://github.com/openclaw/openclaw/actions/runs/38432046450), dependency job 115417046598, found three static-analysis regressions after two ownership moves.

- openclaw#171103 (`7ac851a8faa004550f9f5906464352aa17ab42a7`) moved the Canvas builder into root scripts. Knip now attributes `@solidjs/web` and `solid-js` to the root workspace, although the builder resolves both through `extensions/canvas/package.json`, which declares them.
- openclaw#170685 (`31c7ade62123d4fadedee50d7ad5e688397d9f23`) moved plugin metadata reads to the worker kernel but retained an unused facade re-export.
- The same change added a native dependency fixture launched by file path. The full-tree scan needs that subprocess entrypoint declared so it follows the fixture's dependencies.

## Change

Document the two Canvas-owned dependency exceptions alongside the existing compiler exception. Remove only the unused facade re-export; keep the local import, kernel export, and worker implementation. Declare the exact subprocess fixture as an audited Knip entrypoint.

No runtime behavior, database calls, dependency versions, public SDK surface, schema, migration, update, or service lifecycle changes. No checks are removed and no new concurrency edge cases are accepted. This patch makes no warmed SQL/request or T1 reduction claim; no SQL harness is warranted.

## Evidence

Changed-file formatting, syntax-only lint, and `git diff --check` pass. One isolated Codex P0–P2 review passed with no findings. Exact-source [CI proof 38436526162](https://github.com/openclaw/openclaw/actions/runs/38436526162/job/115431841520) passes all three original commands: dependency, unused-file and export scans, with no findings. Ordinary CI [38435429012](https://github.com/openclaw/openclaw/actions/runs/38435429012) passes lint, types, source contracts, Madge and database ratchets.

The ordinary CI failure in the unchanged one-shot ingress E2E is independently reproduced on the exact main base `cdd2bfe7cccca0c6c1cc21890ff202f2eec288af`: [base run 38437637112](https://github.com/openclaw/openclaw/actions/runs/38437637112/job/115435700602) has the same workspace-skills case, rejected-vs-fulfilled assertion and `Runtime config is not prepared` stack through `resolveAgentRuntimeConfig`. The source remained unchanged during both proof runs. Land under the authorized inherited-failure exception; the separate owner repair is openclaw#171209. No PR-caused static failure is waived.

LOC: tooling +5/−0; production +0/−1; three files. No tests added or changed.

Direct emergency pushes were previously refused by repository protection (GH006). This repair uses the authorized PR and head-pinned REST squash fallback.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant