Skip to content

test: share CI runner fixture setup - #5454

Merged
freeqaz-openai merged 1 commit into
mainfrom
quality/share-ci-runner-fixtures
Nov 11, 2026
Merged

freeqaz-openai merged 1 commit into
mainfrom
quality/share-ci-runner-fixtures

Conversation

@freeqaz-openai

@freeqaz-openai freeqaz-openai commented Nov 11, 2026 •

Copy link
Copy Markdown
Collaborator

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

  • The owning CI runner file passed all 106 cases in order on the composed source 882dae22, with zero skips and clean teardown. Workspace validation, TypeScript, scoped lint, and formatting also passed.
  • The hosted Checks and Conformance 2 job passed all 106 owning cases in the same order, with zero skips and clean teardown.

@clawsweeper

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

@freeqaz-openai
freeqaz-openai marked this pull request as ready for review November 11, 2026 10:38
@freeqaz-openai
freeqaz-openai requested a review from a team as a code owner November 11, 2026 10:38
@clawsweeper clawsweeper Bot added P3 Low-risk cleanup, docs, polish, ergonomics, or speculative feature. 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. labels Nov 11, 2026
@clawsweeper

clawsweeper Bot commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

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

  • Before: The test spells out the run, manifest, root, state, and results arguments.
  • After: laneArgs produces the same arguments while the test retains its inputs and assertions.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A useful, focused test refactor supported by preserved assertions and successful hosted validation; no new product-runtime proof is required.
Proof confidence 🐚 platinum hermit (4/6) This maintainer-authored, test-only extraction changes no shipped product behavior; existing scenarios invoke the real CI-runner CLI, and the owning hosted job succeeded at the reviewed head.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Test only · Worth it: Yes · Fix scope: Complete
User problem: Contributors maintain repeated CI-runner fixture setup across integration scenarios.
Reason: The maintainer-authored change reduces repeated setup without changing production contracts or weakening scenario assertions.

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
Reviewed head: 882dae221b66c3a2a5c511c1a3fb6da1009e348a

Before merge

None.

Findings

None.

Agent review details

How this fits together

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

Technical review

Best 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

  • Lane command arguments keeps the original intent (901809a: The prior merged change shared argument construction while preserving argument order and per-test environment and artifact checks.)
  • Audit manifest setup keeps the original intent (bd6e20d: The prior merged change shared manifest writing and audit invocation while retaining invalid inputs and expected diagnostics.)
  • First-Agent diagnostic fixtures keeps the original intent (4566d20: Existing scenarios verify terminal startup-failure observations through real subprocesses and CI projection; the extraction preserves their emitted programs and assertions.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

Likely related people:

  • Free Wortley: Raw commit 901809a adds tests/integration/ci-runner.test.mjs:664 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 901809a795f8; files: tests/integration/ci-runner.test.mjs)
  • kevinlin-openai: Raw commit d353d52 adds tests/integration/ci-runner.test.mjs:172 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: d353d527feb7; files: tests/integration/ci-runner.test.mjs)

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.

Review metrics

Metric Value Why it matters
Change size Production 0 lines; test support and configuration +183/-267, net -84 An 81-line typed helper replaces repeated setup while the integration suite becomes 166 lines shorter.

Labels

Label changes:

  • add P3: This is test-maintenance cleanup with no production behavior change.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P3: This is test-maintenance cleanup with no production behavior change.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • 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 11, 2026, 5:51 AM ET / 10:51 UTC.

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

Labels

P3 Low-risk cleanup, docs, polish, ergonomics, or speculative feature. 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant