Repository navigation
test: share CI runner fixture setup - #5454
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 moves repeated CI-runner manifest, argument, artifact-path, and first-Agent fixture setup into a typed test helper. Example: Run the baseline lane using manifests/suites.json.
Review scores
ProductKind: Test only · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored fixture extraction preserves the covered behavior, reduces repetition, and introduces no actionable defects found in review. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe integration suite constructs temporary manifests and child programs, invokes the real CI-runner CLI, and checks exit statuses, diagnostics, result artifacts, and cleanup. flowchart TB
A[Integration scenarios] --> B[Typed fixture helper]
B --> C[Temporary manifests and programs]
C --> D[CI runner CLI]
D --> E[Results and diagnostics]
E --> F[Independent assertions]
Technical reviewBest possible solution: Land the focused fixture extraction with the existing independent assertions and test-resource ownership preserved. Do we have a high-confidence way to reproduce the issue? This PR addresses repeated test setup rather than a reported product failure; source comparison establishes the duplication. Is this the best way to solve the issue? The helper remains inside test support, replaces existing setup directly, and leaves expected outcomes in the scenarios. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against bac8fa38d536. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
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. Review metrics
LabelsLabel changes:
Label justifications:
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 11, 2026, 5:51 AM ET / 10:51 UTC. |
Summary
Share CI runner fixture setup for manifests, command arguments, state and result paths, and single-file lanes. The first-Agent tests also reuse their CLI fixture. Each case retains its inputs and assertions.
The main suite is 166 lines shorter. The typed helper and its test configuration entry leave 84 fewer lines overall.
Verification
882dae22, with zero skips and clean teardown. Workspace validation, TypeScript, scoped lint, and formatting also passed.