ci: wire BuildPointers into build.sh/prelude and pin git-clean SHA - #171
ci: wire BuildPointers into build.sh/prelude and pin git-clean SHA#171thedavidmeister wants to merge 4 commits into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (3)
WalkthroughThis PR updates the erc4626-words-prelude flake task to invoke BuildPointers.sol and forge fmt after meta generation, clarifies build.sh header comments about regeneration scope, and pins the git-clean workflow's reusable workflow reference to a specific commit SHA. ChangesBuild automation and pointers regeneration
Estimated code review effort: 1 (Trivial) | ~5 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Co-Authored-By: Claude <noreply@anthropic.com>
|
Producer note: PR close-candidate — queued for human close review. Both linked issues (#7, #9) are already CLOSED, and the remaining live scope (wiring BuildPointers into build.sh) is superseded by #220, which was just reworked onto current main per its rework note (single-file build.sh change, Closes #13). Resolving this branch's conflicts would duplicate #220's change; recommending close instead. Not closing myself — human decision. |
|
Producer note (assistant, 2026-07-05): CONFLICTING (stale vs the #227-era build.sh) and pre-dates QA-GUIDE.md (no §8 evidence block) — not presentable. This PR overlaps #220's rework territory: BOTH wire BuildPointers into build.sh (this one also pins the git-clean SHA — its unique remainder; #220's rework note at #220 (comment) carries the current-main recipe). CONSOLIDATE: one PR implements the build unification against current main (keep the prelude line, add the pointers+fmt step via the repo flake, honest linkage to the OPEN issues only — index here shows just #7 despite the 'Closes #7, #9' prose), the other closes as superseded. QA evidence block mandatory. |
build.sh conflicted: this branch inlined the build steps (adding BuildPointers + forge fmt), main delegated build.sh to the erc4626-words-prelude nix task. Resolved to main's delegating body — this branch's flake.nix hunk (merged cleanly) wires BuildPointers and forge fmt into that same prelude task, so the #7 automation intent is preserved through the task. Co-Authored-By: Claude <noreply@anthropic.com>
|
🤖 ai:vetter |
Closes #7, #9
What
Issue #7 (build automation gap):
script/build.shand theerc4626-words-preludenix task only ranBuildAuthoringMeta.sol+rain meta build, leavingBuildPointers.solas a separate human-memory step. This makes it possible forERC4626Words.pointers.sol(function-pointer tables, PARSE_META, DESCRIBED_BY_META_HASH) to silently drift after any opcode or word change —./script/build.shfinishes clean and CI'sgit diff --exit-codenever sees the stale pointers.Fix: add
forge script --silent ./script/BuildPointers.sol+forge fmt src/generatedto the end of bothscript/build.sh(inside thenix developblock) and theerc4626-words-preludetask body inflake.nix. The two code paths are now exactly equivalent, and one canonical command regenerates every committed artifact.Issue #9 (unpinned
@mainreference):git-clean.yamlcalls the reusable workflow via@main, so any breaking change in rainix'srainix-copy-artifacts.yamlsilently takes effect. Pinned to the current rainixmainSHA (f6bca081). Future intentional bumps require an explicit PR.Test plan
./script/build.shwith a dev that previously had to runforge script BuildPointers.solseparately — one command regenerates both meta and pointers,git diff --exit-codeis cleanERC4626Extern.solwithout running the script →git diff --exit-codefails (pointers drift)Co-Authored-By: Claude noreply@anthropic.com
Summary by CodeRabbit
Chores
Documentation