Skip to content

fix(ci): register the standalone cache regression entry - #201019

Merged
vincentkoc merged 2 commits into
mainfrom
fix-ci-private-cron-helpers-20261118
Nov 18, 2026
Merged

vincentkoc merged 2 commits into
mainfrom
fix-ci-private-cron-helpers-20261118

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

The full-repository unused-file check reports test/scripts/pr-cache-deferral.node.mjs as 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 189326c3 passes 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 189326c3 has 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.

@clawsweeper

clawsweeper Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 18, 2026
@clawsweeper

clawsweeper Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This 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.

  • Before: The full-tree analyzer lacks an explicit entry for that dynamically launched script.
  • After: The script is registered as an exact entry and remains included in analysis.

Review scores

Measure Result What it means
Overall readiness 🦪 silver shellfish (2/6) The source change is focused and appears correct, but execution validation remains thin.
Proof confidence 🦪 silver shellfish (2/6) This changes analysis configuration and export visibility without user-visible runtime behavior, so shipped-entry-point proof is unnecessary; the body explicitly leaves affected tests, type-aware checks, and candidate Knip scans pending.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Maintainers encounter full-tree analysis findings for module-private exports and a regression script that an existing suite launches directly.
Reason: The maintainer-authored direction matches the repository's existing exact-entry and private-export patterns while preserving runtime behavior.

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
Reviewed head: 3508f9b60d3092e7ec555ecfacf291ee8e2d338b

Before merge

None.

Findings

None.

Agent review details

How this fits together

The 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]
Loading

Technical review

Best 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

Testing

Proof path: none.

Security

None.

Evidence

What I checked:

  • Introduced patch: The pinned introduction diff only registers the cache subprocess, removes four unused export modifiers, and redirects existing formatter assertions through formatCronSentence. (3508f9b60d30)
  • Real subprocess consumer: The existing cache collection suite invokes Node with --test and the exact pr-cache-deferral.node.mjs path, supporting an explicit entry rather than an ignore. (test/scripts/pr-cache-lifetime-collection.test.ts:177, 3508f9b60d30)
  • Preserved formatter boundary: Empty, disjoint, and ranged day lists retain independent expected cron expressions through the production formatter; its implementation remains unchanged. (ui/src/pages/cron/schedule-sentence.test.ts:65, 3508f9b60d30)
  • Current main still needs the repair: Comparing the affected paths against fetched main shows the same focused repair remains absent there. (898b2c85d739)
  • Draft and validation state: GitHub confirms MEMBER authorship and a clean, draft PR; its 91 checks comprise five successful routing/workflow checks and 86 skipped checks, without executed test, typecheck, or Knip validation. (3508f9b60d30)
  • Baseline failure and inspection limits: The linked check-dependencies job failed at Run check shard; its detailed log redirected to a blocked storage host, so the exact diagnostics were not independently read. An older git show --stat also encountered an unavailable promisor object; current source, introduction hunks, and relevant ownership commits were readable.

Likely related people:

  • Vincent Koc: Raw commit a25ddae adds config/knip.all-exports.config.ts:48 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: a25ddae098a8; files: config/knip.all-exports.config.ts)
  • Peter Steinberger: Raw commit ba92f30 adds config/knip.all-exports.config.ts:59 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: ba92f3086c3d; files: config/knip.all-exports.config.ts)
  • Vyctor H. Brzezowski: Raw commit 14b9fc3 adds ui/src/pages/cron/schedule-sentence.ts:67 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 14b9fc3c8d94; files: ui/src/pages/cron/schedule-sentence.ts)
  • Ayaan Zaidi: Raw commit 703c82d adds src/sessions/session-controller-model.test-support.ts:253 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 703c82d20c5c; files: src/sessions/session-controller-model.test-support.ts)

PR surface

Source 0, Tests +5, Other +2. Total +7 across 5 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 1 1 1 0
Tests 3 12 7 +5
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 2 0 +2
Total 5 15 8 +7

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Labels

Label changes:

No label changes.

Label justifications:

  • P2: This repairs owned CI analysis findings with limited scope and no runtime behavior change.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦪 silver shellfish and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Run the full-tree Knip scan and affected cron/session tests and typechecks on the reviewed head, distinguishing any remaining baseline findings.

Rating scale

6/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.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed November 18, 2026, 12:58 AM ET / 05:58 UTC.

@vincentkoc
vincentkoc marked this pull request as ready for review November 18, 2026 06:00
@vincentkoc
vincentkoc enabled auto-merge (squash) November 18, 2026 06:01
steipete added a commit that referenced this pull request Nov 18, 2026
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.
@vincentkoc
vincentkoc disabled auto-merge November 18, 2026 06:31
@openclaw-barnacle openclaw-barnacle Bot removed the app: web-ui App: web-ui label Nov 18, 2026
@vincentkoc vincentkoc changed the title fix(ci): keep private test helpers out of export reports fix(ci): register the standalone cache regression entry Nov 18, 2026
@vincentkoc
vincentkoc merged commit 4bab9d2 into main Nov 18, 2026
80 of 90 checks passed
@vincentkoc
vincentkoc deleted the fix-ci-private-cron-helpers-20261118 branch November 18, 2026 06:57
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via explicitly authorized admin squash with attributed pre-existing CI failures.

steipete added a commit that referenced this pull request Nov 18, 2026
…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.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 19, 2026
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 19, 2026
…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.
RomneyDa added a commit that referenced this pull request Nov 19, 2026
…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]>
github-actions Bot pushed a commit to clawhaven/openclaw that referenced this pull request Nov 23, 2026
…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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P2 Normal backlog priority with limited blast radius. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant