Repository navigation
fix(tooling): dependency checks reject live test fixtures - #170701
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. |
The Vitest 5 migration loads its report-capture constructor through a CLI file path, which the script export scan cannot resolve. Register that existing reporter path with a literal lazy import in the redacting loader, preserving the constructor, options and forwarding lifecycle. No Knip ignore, eager loading, test suppression or user-visible change. The original Solid leftovers are covered by #170660; #170680 owns the separate permission-card export repair.
#170519's Bun existing-store regression launches this source helper by path. Register that exact execution entry in the full-tree Knip audit so its live update-executor regression is retained without an ignore. The unchanged opt-in Bun regression and deadcode checker tests pass. No runtime, update behavior, assertions or timeouts change.
steipete
force-pushed
the
ci/fix7-solid-deadcode
branch
from
October 13, 2026 06:49
941beb3 to
82d40b7
Compare
Contributor
Author
|
Merged via squash.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 14, 2026
…70701) * fix(test): expose lazy report capture to export analysis The Vitest 5 migration loads its report-capture constructor through a CLI file path, which the script export scan cannot resolve. Register that existing reporter path with a literal lazy import in the redacting loader, preserving the constructor, options and forwarding lifecycle. No Knip ignore, eager loading, test suppression or user-visible change. The original Solid leftovers are covered by openclaw#170660; openclaw#170680 owns the separate permission-card export repair. * test(tooling): register Bun SQLite regression fixture openclaw#170519's Bun existing-store regression launches this source helper by path. Register that exact execution entry in the full-tree Knip audit so its live update-executor regression is retained without an ignore. The unchanged opt-in Bun regression and deadcode checker tests pass. No runtime, update behavior, assertions or timeouts change.
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.
Related: #138264, #170519
What Problem This Solves
Dependency checks reject two live test fixtures because their consumers select them by file path.
User Impact
No user-visible change. Existing reporter loading/redaction and the Bun update-executor regression remain intact. Update behavior is unchanged. Release-note context: none.
Why This Change Was Made
Resolve the capture reporter's exact registered path with a literal lazy import in its existing loader; other custom reporters retain Vite's loader. Register the Bun existing-store regression's exact source fixture in the full-tree Knip entry list, next to the existing Bun process fixture.
No ignores, wildcards, eager loading, new runtime entrypoints, assertion changes, retries, or timeout changes. The original Solid cleanup landed in #170660; the card export repair landed in #170680. Those changes are excluded here.
Evidence
The reporter owner passed all 113 cases with
--maxWorkers=1(192.37s Vitest). Its subsequent now-covered memory build was stopped; only the completed reporter shard is claimed green.The unchanged Bun regression ran explicitly under Bun 1.4.3, and both deadcode checker test files passed: 23 cases total, 9.07s wrapper. Targeted tooling/config types and lint, formatting, the full architecture check, and independent P2 reviews passed. All three deadcode scripts report zero with the exact entry registration.
Initial PR CI 38353852657 passed every selected leaf except
check-test-types-core-4: main commit 2251880 added a recovery fixture that passed unsupportedtitleto a core-entry patch. The identical TS2322 reproduced on unchanged main. Peer #170722 fixes that stimulus and is integrated; my equivalent repair was dropped. No recovery production or fixture changes are authored here. The update includes the real Knip entry fix and this material failing-gate integration, rather than rerunning CI unchanged.PR CI supplies broad exact-head proof. No workflow reruns, dispatches, or leases.