chore: parallelize fixture generation#330
Conversation
Greptile SummaryThis PR parallelizes fixture generation by replacing the hardcoded Confidence Score: 5/5Safe to merge — the change is a one-line swap per file with no logic risk. Both changes simply replace a fixed No files require special attention.
|
| Filename | Overview |
|---|---|
| .github/workflows/ci.yml | Changed -n 2 to -n auto in the fill command for fixture generation; straightforward parallelism improvement. |
| Makefile | Added -n auto flag to the leanSpec/fixtures target's fill invocation; aligns local fixture generation with CI behaviour. |
Flowchart
%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[CI: cache-hit?] -- yes --> B[Skip fixture generation]
A -- no --> C[Download prod keys]
C --> D["uv run fill --fork=Devnet --scheme prod -o fixtures -n auto"]
D --> E[Save fixtures cache]
E --> F[Run tests]
G[make leanSpec/fixtures] --> H["uv run fill --fork devnet --scheme=prod -o fixtures -n auto"]
H --> I[Fixtures ready]
Reviews (1): Last reviewed commit: "ci: use automatic parallelization level ..." | Re-trigger Greptile
🤖 Claude Code ReviewPR #330 — chore: parallelize fixture generationOverview: A minimal 2-line change that enables parallel fixture generation. The CI switches from a fixed Code QualityThe change is clean and focused. No unnecessary modifications. Observations
Pre-existing inconsistency (not introduced here): The two
These produce the same result only if the tool treats the value case-insensitively. Worth aligning, but out of scope for this PR. Determinism: Parallel fixture generation is safe as long as individual fixture files are independent (no shared mutable state between tests). For spec-test generators this is almost always true, but worth keeping in mind if fixture diffs appear non-deterministic in future cache misses. Cache interaction (CI): The VerdictThe change is correct, safe, and a net improvement. The only actionable note is the pre-existing fork-flag casing inconsistency between CI and Makefile — worth a follow-up cleanup to make the two invocations identical except for the intentional differences. Automated review by Claude (Anthropic) · sonnet · custom prompt |
🤖 Kimi Code ReviewThe changes are straightforward improvements to test fixture generation parallelism, but carry minor risks:
General
Verdict: Approved with minor observation. Watch CI memory usage. Automated review by Kimi (Moonshot AI) · kimi-k2.5 · custom prompt |
🤖 Codex Code ReviewFindings
No Rust runtime / fork-choice / state-transition / SSZ / signature code is changed here, so I don’t see client-side consensus bugs in the diff itself beyond the fixture-generation failure modes above. I couldn’t run Automated review by OpenAI Codex · gpt-5.4 · custom prompt |
🗒️ Description / Motivation
This PR enables parallel fixture generation in the Makefile, and changes the CI to use auto-parallelization instead of a fixed 2.