Skip to content

test(agents): cover spawn billing through its public owner - #200943

Merged
vincentkoc merged 1 commit into
mainfrom
fix/ci-spawn-auth-projection-boundary-20261118
Nov 18, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
fix/ci-spawn-auth-projection-boundary-20261118

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

The production unused-export check flags a spawn receipt helper exported only for its tests, introduced by #191324.

User Impact

No user-visible behavior changes. The helper stays private to the spawn billing-route owner.

Why This Change Was Made

Exercise all eleven existing credential mapping and CLI cases through resolveSpawnBillingRoute, supplying evaluator results at its existing dependency boundary. Prepared Codex, Claude CLI, and transport-selection integration cases remain unchanged. No Knip exclusions or new production test hooks are added.

Evidence

  • Original full test file: 19 passed. Migrated file: 19 passed, including all eleven mapping/CLI cases and prepared integration cases, in an isolated native checkout with Node 26.
  • Production Knip 6.40.0: the frozen baseline reports describeSpawnAuth and ADVANCED_FIELDS; this candidate reports only the unrelated ADVANCED_FIELDS. The command still exits 1 for that separate finding, owned by #200935.
  • Targeted agents-sessions test typecheck, type-aware lint, formatting, and diff checks passed.
  • Full-context independent review found no actionable P0–P3 issues (confidence 0.93).
  • Local ClawSweeper reviewed the complete committed range 0ca4e7d3db4b83fd82bd74f43844e25605b52b85..3f4f4f2cd2f93652799028ca7bf31bde6eaa5eab: no actionable correctness or security findings (confidence 0.92). Its requested full-file execution is covered by the 19/19 results above.

No full Gateway or live-provider proof was run; runtime behavior is unchanged. Current-head PR CI supplies broader validation.

@vincentkoc vincentkoc self-assigned this Nov 18, 2026
@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.

@openclaw-barnacle openclaw-barnacle Bot added agents Agent runtime and tooling size: S labels Nov 18, 2026
@vincentkoc
vincentkoc marked this pull request as ready for review November 18, 2026 02:52
@vincentkoc
vincentkoc enabled auto-merge (squash) November 18, 2026 02:53
@vincentkoc
vincentkoc merged commit abdff0b into main Nov 18, 2026
204 checks passed
@vincentkoc
vincentkoc deleted the fix/ci-spawn-auth-projection-boundary-20261118 branch November 18, 2026 03:03
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash auto-merge.

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

Labels

agents Agent runtime and tooling size: S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant