lib: add update-rainix.sh helper for bumping consumers#217
lib: add update-rainix.sh helper for bumping consumers#217thedavidmeister wants to merge 1 commit into
Conversation
Bumps a consuming repo to the latest rainix and re-locks Soldeer: - rainix flake input -> github:rainlanguage/rainix + lock update - normalises flake.nix for current lint hooks (ensures outputs `...`, then deadnix/statix/nixfmt) - re-locks Soldeer + sanity `forge build` for Solidity repos Dependency version bumps are left to the developer (transitive pins can break with recursive_deps = false). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Warning Review limit reached
More reviews will be available in 53 minutes and 37 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
✨ Finishing Touches🧪 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 |
Adds
lib/update-rainix.sh, a helper that bumps a rainix-consuming repo to the latest rainix and re-locks Soldeer. Run from a consumer repo root; it makes local changes only.What it does:
rainixflake input atgithub:rainlanguage/rainixand runsnix flake lock --update-input rainixflake.nixfor the current lint hooks — ensures theoutputsargument set ends with...(so deadnix can drop an unusedselfwithout breaking evaluation), then runs deadnix/statix/nixfmtforge soldeer install) + sanityforge buildSoldeer dependency version bumps are intentionally left to the developer (edit
foundry.toml,forge soldeer update, fix version-suffixed imports), since bumping blindly can break builds when a transitive dependency pins an older version withrecursive_deps = false.This is the distilled, in-place form of the script used to open the org-wide "latest rainix + soldeer re-lock" PRs.
🤖 Generated with Claude Code