Repository navigation
fix(ui): keep the chat permission card implementation private - #170680
Merged
Merged
Conversation
Production renders permission cards through the registered bridge. Remove the unused component export and exercise the existing permission scenarios through that same entry point.
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.
This was referenced Oct 13, 2026
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 14, 2026
…law#170680) Production renders permission cards through the registered bridge. Remove the unused component export and exercise the existing permission scenarios through that same entry point.
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
The production Knip export scan rejects
ChatPermissionCard, introduced by #169635. Production renders the component through its registered bridge; only the test imported the component directly.Keep the component private and exercise all 12 existing permission scenarios through the same bridge used by chat. Permission policy, observed-grant requirements, stale-node rejection, and every existing assertion remain intact. No visual or runtime behavior changes.
Evidence
Ordinary CI 38351688740 completed with 28 successful and 26 skipped jobs. All 12 permission-card cases passed (module 0.235 seconds; UI shard 246.71 seconds). Types, lint, architecture and ratchets passed; T1 live 454→454, compatibility 9→9, dialect 0→0. One Codex review found no actionable issues; changed-file format/lint and
git diff --checkpass. No local tests or broad scans ran under compute conservation.Supplemental export scan 38352134638 passed production and full-tree exports with zero findings. Its script scan failed on
scripts/lib/vitest-report-capture.mts: default, inherited from main: reporter, CLI owner and script Knip config are byte-identical on this head and main2f9a3ccc0c5ddb951282aabbfe2dd110c8fa28b2. The default is required by Vitest's path-loaded reporter contract. A separate owned repair declares that real consumer; deleting the export would break reporting. This supplemental run is not claimed green.Two files: production +1/−1; tests +47/−27. No SQLite access, schema, or security-check changes, SQL/request savings claim, or SQL harness run. The exact-head security review and aggregate
openclaw/ci-gatealso passed.