Repository navigation
fix: remove unused exports after owner migrations - #170660
Merged
Merged
Conversation
The child runner now delegates request validation to runVectorKnnQuery. Retain that validation at its execution boundary and remove the unused module export reported by scheduled-main Knip.
Keep the replacement publication contract at its canonical type owner and entry-cache facade. The extra publication-module re-export has no consumers and fails scheduled-main Knip.
Complete the composer, transcript, and New Session Solid cutovers by removing private adapters and icon templates without production callers. Keep local Solid components private and preserve custom-element registration. Move existing test callers to the same Solid components through the retained interop owner, retaining dictation, permission, and icon-shape assertions.
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. |
This was referenced Oct 13, 2026
steipete
added a commit
that referenced
this pull request
Oct 13, 2026
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.
steipete
added a commit
that referenced
this pull request
Oct 13, 2026
* 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 #170660; #170680 owns the separate permission-card export repair. * test(tooling): register Bun SQLite regression fixture #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.
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 14, 2026
Remove unused Lit adapters and duplicate exports left by completed consumer migrations. Keep KNN validation private and exercise the existing Solid owners through their established test bridge; retain all tests and assertions. PR CI 38349558864 passed, including 116 cases across seven changed UI test files. Exact-candidate Knip dependency, unused-file and export scans passed in 38350016267. Scoped Codex review clean.
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.
What Problem This Solves
Scheduled main CI fails Knip after consumer migrations leave private exports and retired Lit adapters behind. The failing run is https://github.com/openclaw/openclaw/actions/runs/38347821426 (job115133357402).
Keep KNN request validation internal after #170596; remove the duplicate session publication type re-export; delete unused Lit adapters and device icon fixtures left by #169692, #168779, and #168887. Existing UI tests now exercise the same Solid components directly through their established test bridge. All tests and assertions remain.
The session export dates to #163030; the precise last-consumer removal is not established. No runtime behavior, SQL, schema, or security checks change. No warmed-path or T1 reduction is claimed and no SQL harness was run. Twenty-one files, +84/-148 lines.
Evidence
One Codex review found no actionable issues; changed-file formatting/lint and diff checks pass. PR CI 38349558864 passed (42 successful jobs, 23 skipped), including types, lint, architecture, and the aggregate gate. All seven changed UI test files passed: 116 cases. Supplemental 38350016267 ran only the three Knip checks on the exact candidate: dependencies (220s), unused files (127s), and exports (148s), all successful with zero findings. Madge found zero cycles; T1 remained 455 live / 9 compatibility calls and all dialect groups remained zero. No local suite or broad static scan was run.