Skip to content

test: consolidate Crabbox wrapper fixtures - #117642

Merged
steipete merged 1 commit into
mainfrom
codex/goal100k-crabbox-wrapper-fixtures-wave5
Aug 1, 2026
Merged

steipete merged 1 commit into
mainfrom
codex/goal100k-crabbox-wrapper-fixtures-wave5

Conversation

@steipete

@steipete steipete commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

What Problem This Solves

The Crabbox wrapper suite repeated complete invocation, configuration, parsing, and platform-bootstrap scaffolding across hundreds of assertions. That made a critical tooling owner unnecessarily large and made fixture changes easy to apply inconsistently.

Why This Change Was Made

This introduces typed, test-local helpers for successful wrapper runs, broker configuration, macOS and Windows invocations, delegated Blacksmith claim setup, and sparse-sync fixtures. It preserves the original object fixture tables, expanded test names and order, CLI arguments, environment, config, Git responses, input payloads, hydration/trust modes, and security-sensitive lifecycle assertions. Production code is unchanged.

User Impact

No user-visible runtime behavior changes. Maintainers get the same 242-case coverage with 908 fewer test lines and one canonical place for repeated fixture plumbing.

Evidence

  • Diff: +540 / -1,448 in one test file; net -908; production delta 0.
  • Exact parity: 242 ordered expanded cases; names digest 043313decb3e3ea9b21707aaf9051bf5fbdaf3522842555ed469eac8da8b3e76; 1,019 runtime matcher records byte-identical including matcher, negation, normalized expected arguments, and order; trace digest 82bd9bc85a9fbec26095210ec57fa8a97b21c6c40f75dc5097934a16ad0ab47f.
  • Clean Linux baseline: 242/242, Testbox run 30716121971.
  • Clean Linux refactor: 242/242, Testbox run 30718128885.
  • Full remote pnpm check:changed: passed test-root typecheck, formatting, script declarations, dependency/patch/duplicate guards, and script lint.
  • Hosted main baseline: 242/242 in CI run 30715726296.
  • Local macOS baseline and refactor exhibit the same five pre-existing /var to /private/var temporary-cwd alias failures; all meaningful proof was run on clean Linux.
  • Independent xhigh review: CLEAN with high confidence; no P0-P2 findings, no assertion weakening, no table/loop conversion, and no line packing.

No docs or changelog changes are needed for this test-only refactor.

@openclaw-barnacle openclaw-barnacle Bot added size: XL maintainer Maintainer-authored PR labels Aug 1, 2026
@steipete
steipete merged commit 6cb8333 into main Aug 1, 2026
93 of 95 checks passed
@steipete
steipete deleted the codex/goal100k-crabbox-wrapper-fixtures-wave5 branch August 1, 2026 21:55
@steipete

steipete commented Aug 1, 2026

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

maintainer Maintainer-authored PR size: XL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant