Skip to content

fix(ci): restore dependency checks for rollback fixtures - #199897

Merged
steipete merged 1 commit into
mainfrom
steipete/fix-rollback-helper-export-20261116
Nov 16, 2026
Merged

steipete merged 1 commit into
mainfrom
steipete/fix-rollback-helper-export-20261116

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes hourly dependency CI failing after the rollback fixture stopped importing a helper from another module.

User Impact

No user-visible behavior change. The existing rollback test fixture keeps its behavior and assertions.

Why This Change Was Made

#198268 moved the last caller of resolveRollbackWorkerInputs into the helper's own module but retained its export. Make that helper private by removing only export. Production LOC and net test-support LOC are unchanged.

This extracts the dependency repair from held fixture PR #199851 so the known main failure can land independently. That PR's owner will reconcile the overlap; no fixture changes are included here.

Evidence

  • Hourly 43782600525 fails the dependency gate solely on this export. The helper module is byte-identical between that run's head and this PR's parent 443e9730695d6fa1549d84d9f45187883e9570f1.
  • Repository-wide symbol search finds only the definition and its unchanged internal call.
  • Fresh independent Codex autoreview of the complete one-keyword candidate against parent 443e9730695d6fa1549d84d9f45187883e9570f1 is scoped-clean through P2. The reviewed source is unchanged in committed head d601f35ae11def920471cd1fc92bbbb0b63c9caf.
  • Focused full-tree export analyzer: passed with zero findings.
  • pnpm check:changed --base 443e9730695d6fa1549d84d9f45187883e9570f1: passed, including all three export scans, the updater test typecheck, formatting, lint, and ownership guards.

The analyzer is the direct regression proof. No runtime test was added for a private visibility change.

@clawsweeper

clawsweeper Bot commented Nov 16, 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.

@openclaw-barnacle openclaw-barnacle Bot added cli CLI command changes size: XS labels Nov 16, 2026
@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-16T02:43:28.634336Z d601f35 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@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: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. 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 16, 2026
@clawsweeper

clawsweeper Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR makes the rollback fixture’s internally used worker-input helper private.

Example: Dependency analysis examines resolveRollbackWorkerInputs.

  • Before: The helper is exported despite having only an internal caller.
  • After: The helper remains callable internally without creating an unused export.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A minimal, source-verifiable repair supported by reported analyzer success and passing relevant exact-head checks.
Proof confidence 🐚 platinum hermit (4/6) This visibility-only test-support repair has no user-visible runtime behavior requiring shipped-entry-point proof.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Product

Kind: Test only · Worth it: Yes · Fix scope: Complete
User problem: Hourly dependency CI rejects a rollback fixture helper whose external caller was removed.
Reason: The maintainer-authored direction repairs an existing check without changing product behavior or introducing a new contract.

Merge readiness

✅ Ready for maintainer review

This PR makes the smallest complete repair for an unused-export failure without changing fixture behavior. No actionable defects found; routine CI remains pending.

Priority: P2
Reviewed head: d601f35ae11def920471cd1fc92bbbb0b63c9caf

Before merge

None.

Findings

None.

Agent review details

How this fits together

Rollback tests use this support module to generate candidate-package fixtures; the dependency analyzer checks its exports for external consumers.

flowchart LR
A[Rollback tests] --> B[Package source builder]
B --> C[Private worker input resolver]
C --> D[Runtime worker URLs]
E[Dependency analyzer] --> B
Loading

Technical review

Best possible solution:

Remove the unused export while preserving the existing helper, caller, and rollback assertions.

Do we have a high-confidence way to reproduce the issue?

Source inspection confirms the unused export and sole internal caller under the existing zero-unused-export policy; no analyzer or tests were executed during this read-only review.

Is this the best way to solve the issue?

Removing one export keyword fixes the violated visibility contract directly without suppressions, new machinery, or changed test behavior.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 7e48c6be722a.

Provenance checked

  • Rollback worker-input helper visibility keeps the original intent (6fd646e: The helper supported rollback fixtures across modules; the later runtime-contract refactor placed its remaining caller in the same support module.)

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit de54b49 adds src/cli/update-cli/update-command-database-rollback.test-support.ts:51 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: de54b49ee362; files: src/cli/update-cli/update-command-database-rollback.test-support.ts)

PR surface

Tests 0. Total 0 across 1 file. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 1 1 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 1 1 1 0

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: Repairs a concrete dependency-check failure with a narrowly scoped test-support change.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🦞 diamond lobster.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

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 15, 2026, 9:55 PM ET / November 16, 2026, 02:55 UTC.

@steipete
steipete merged commit ef8d709 into main Nov 16, 2026
126 of 127 checks passed
@steipete
steipete deleted the steipete/fix-rollback-helper-export-20261116 branch November 16, 2026 03:20
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cli CLI command changes P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. 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