Repository navigation
fix(ci): register the standalone cache regression entry - #201019
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesThis PR makes unused helper exports private, preserves cron formatting coverage through its public formatter, and registers a directly launched regression script with Knip. Example: The cache suite launches test/scripts/pr-cache-deferral.node.mjs with Node.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored PR makes a focused dead-code analysis repair, with no actionable correctness or security findings. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe full-tree Knip configuration combines production and test entry points to identify unused files and exports; cron and session test modules supply the affected private helpers. flowchart LR
A[Production configuration] --> C[Full tree Knip configuration]
B[Test entry points] --> C
D[Cache subprocess entry] --> C
C --> E[Unused file and export analysis]
E --> F[Dependency CI result]
Technical reviewBest possible solution: Keep the existing analyzer owner, register the real subprocess entry, and retain private helpers with coverage through their public consumers. Do we have a high-confidence way to reproduce the issue? Source confirms the unused export declarations and dynamically launched script missing from explicit entries; the linked dependency job failed, but its exact diagnostics were inaccessible and no analyzer was executed during this read-only review. Is this the best way to solve the issue? The patch is the smallest complete repair for its named findings: it changes visibility at the owning modules and models the actual subprocess entry without adding exclusions or weakening formatter assertions. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 898b2c85d739. Provenance checked
TestingProof path: none. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource 0, Tests +5, Other +2. Total +7 across 5 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes: No label changes. Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 18, 2026, 12:58 AM ET / 05:58 UTC. |
Preserve first-chat authorization when catalog persistence opens the selected absent database. Keep session-row, lifecycle, routing, and source-revocation guards intact. The focused bisect identifies #197510 as the first failing first-chat authorization boundary; #199565 had repaired other cold-registration orderings. The deterministic regression is red before this fix. All 66 owning tests and three complete real Gateway reload trials pass; Codex review is clean through P2. check:changed passes every check except nine unused exports reproduced identically on exact main parent 97b03f7 and attributed to #200533, #198455, and #200817. Preserve peer cleanup scope in #201019.
|
Merged via explicitly authorized admin squash with attributed pre-existing CI failures.
|
…200966) * perf(agents): materialize selected rows for simple completions * style: satisfy selected completion lint checks * test: bind isolated registry measurement to concrete instances * test: align participant custody with requester ownership Follow #200952: Alice owns sessions she requests even when Bob supplies execution authority. Preserve autonomous agent ownership expectations. All 174 spawn-boundary, child-custody, and provenance tests pass; Codex scoped review is clean. * fix: retain missing-session facts across database creation Preserve first-chat authorization when catalog persistence opens the selected absent database. Keep session-row, lifecycle, routing, and source-revocation guards intact. The focused bisect identifies #197510 as the first failing first-chat authorization boundary; #199565 had repaired other cold-registration orderings. The deterministic regression is red before this fix. All 66 owning tests and three complete real Gateway reload trials pass; Codex review is clean through P2. check:changed passes every check except nine unused exports reproduced identically on exact main parent 97b03f7 and attributed to #200533, #198455, and #200817. Preserve peer cleanup scope in #201019.
…penclaw#200966) * perf(agents): materialize selected rows for simple completions * style: satisfy selected completion lint checks * test: bind isolated registry measurement to concrete instances * test: align participant custody with requester ownership Follow openclaw#200952: Alice owns sessions she requests even when Bob supplies execution authority. Preserve autonomous agent ownership expectations. All 174 spawn-boundary, child-custody, and provenance tests pass; Codex scoped review is clean. * fix: retain missing-session facts across database creation Preserve first-chat authorization when catalog persistence opens the selected absent database. Keep session-row, lifecycle, routing, and source-revocation guards intact. The focused bisect identifies openclaw#197510 as the first failing first-chat authorization boundary; openclaw#199565 had repaired other cold-registration orderings. The deterministic regression is red before this fix. All 66 owning tests and three complete real Gateway reload trials pass; Codex review is clean through P2. check:changed passes every check except nine unused exports reproduced identically on exact main parent 4dca39a and attributed to openclaw#200533, openclaw#198455, and openclaw#200817. Preserve peer cleanup scope in openclaw#201019.
…200966) * perf(agents): materialize selected rows for simple completions * style: satisfy selected completion lint checks * test: bind isolated registry measurement to concrete instances * test: align participant custody with requester ownership Follow #200952: Alice owns sessions she requests even when Bob supplies execution authority. Preserve autonomous agent ownership expectations. All 174 spawn-boundary, child-custody, and provenance tests pass; Codex scoped review is clean. * fix: retain missing-session facts across database creation Preserve first-chat authorization when catalog persistence opens the selected absent database. Keep session-row, lifecycle, routing, and source-revocation guards intact. The focused bisect identifies #197510 as the first failing first-chat authorization boundary; #199565 had repaired other cold-registration orderings. The deterministic regression is red before this fix. All 66 owning tests and three complete real Gateway reload trials pass; Codex review is clean through P2. check:changed passes every check except nine unused exports reproduced identically on exact main parent 97b03f7 and attributed to #200533, #198455, and #200817. Preserve peer cleanup scope in #201019. (cherry picked from commit 8610cd6) Co-authored-by: RomneyDa <[email protected]>
…penclaw#200966) * perf(agents): materialize selected rows for simple completions * style: satisfy selected completion lint checks * test: bind isolated registry measurement to concrete instances * test: align participant custody with requester ownership Follow openclaw#200952: Alice owns sessions she requests even when Bob supplies execution authority. Preserve autonomous agent ownership expectations. All 174 spawn-boundary, child-custody, and provenance tests pass; Codex scoped review is clean. * fix: retain missing-session facts across database creation Preserve first-chat authorization when catalog persistence opens the selected absent database. Keep session-row, lifecycle, routing, and source-revocation guards intact. The focused bisect identifies openclaw#197510 as the first failing first-chat authorization boundary; openclaw#199565 had repaired other cold-registration orderings. The deterministic regression is red before this fix. All 66 owning tests and three complete real Gateway reload trials pass; Codex review is clean through P2. check:changed passes every check except nine unused exports reproduced identically on exact main parent 97b03f7 and attributed to openclaw#200533, openclaw#198455, and openclaw#200817. Preserve peer cleanup scope in openclaw#201019. (cherry picked from commit 8610cd6) Release adaptation: approved 2026.11.7 models replay; see models-hook-safe-v2/REPORT.md. Co-authored-by: RomneyDa <[email protected]>
What Problem This Solves
The full-repository unused-file check reports
test/scripts/pr-cache-deferral.node.mjsas unused even though the existing cache regression suite launches it directly with Node.This is the remaining subprocess-registration repair from main CI run 44244251610. #201014 independently landed the original private-helper changes; this PR preserves that implementation and now contains only the missing entry.
Change
Register the exact subprocess in the existing full-repository Knip entry list beside the other standalone Node regression. No ignore pattern, deleted test, or runtime change.
Evidence
The unchanged cache lifetime suite passed 15 tests, including the actual Node subprocess, in the original 57-test native run on macOS / Node 26.13.0. The cache suite, subprocess, dependency inputs, and this registration are unchanged in the narrowed candidate.
Exact narrowed head
189326c3passes both production and full-tree unused-file scans with zero entries. Fresh review of the complete narrowed range found no actionable issues.The original signed head's hosted CI passed in run 44248200742. This is prior-head evidence, not a current-head CI claim.
The accepted original auto-merge request was explicitly retired before resolving overlap with fix: resolve eleven stale exports in local checks #201014. The replacement will follow native review and preparation gates.
Current head
189326c3has terminal failed CI run 44252621473: eight checks report only six missing SDK type exports from unchanged baseline sources; the aggregate follows. #201044 independently restores those exports. The native inherited-failure route preserves this failed result.