Repository navigation
fix(tooling): align Knip with Canvas and worker ownership - #171194
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
Contributor
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
Scheduled main CI run 38432046450, dependency job 115417046598, found three static-analysis regressions after two ownership moves.
e454b2b80ca03e55b9ff58f924d1216552def9d5) moved the Canvas builder into root scripts. Knip now attributes@solidjs/webandsolid-jsto the root workspace, although the builder resolves both throughextensions/canvas/package.json, which declares them.0873425a1ef2a1c36e5296ba648dd51958768f77) moved plugin metadata reads to the worker kernel but retained an unused facade re-export.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 --checkpass. 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 andRuntime config is not preparedstack throughresolveAgentRuntimeConfig. 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.