chore: modernize to latest rainix (flake + CI)#141
Conversation
- flake: point at github:rainlanguage/rainix; bump lock; drop the removed rainix-rs-prelude/test/artifacts devShell refs (flake no longer evaluated against latest rainix); base the shell on rainix.devShells.rust-node-shell (rust + node + wasm-bindgen) while keeping the dotrain binary + js-binding tasks - CI: replace bespoke rainix.yaml (dead magic-nix-cache, removed tasks) with reusable rainix-rs-static + rainix-rs-test + a js-bindings job; drop wasm-test (the cli isn't wasm-targeted; js bindings are built via npm/wasm-pack) - manual-release: swap dead magic-nix-cache for cache-nix-action, drop the removed rainix-rs-prelude, rainix-rs-test -> cargo test - apply latest rainix formatter hooks (taplo/denofmt/rustfmt config) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Warning Review limit reached
More reviews will be available in 33 minutes and 24 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: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (12)
✨ 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 |
- remove unused clap::command import - useless vec! -> array in a test fixture - #[allow(clippy::large_enum_variant)] on AST enums BindingItem/NamespaceItem (boxing variants is an invasive representation change; left for maintainer) - #[allow(mismatched_lifetime_syntaxes)] on build_targets_sourcemap (new 1.94 lint) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
dotrain's flake no longer evaluated against latest rainix (referenced the removed
rainix-rs-prelude/rainix-rs-test/rainix-rs-artifactspackage attrs), and its CI used the discontinuedmagic-nix-cacheaction + removed tasks.github:rainlanguage/rainix+ lock bump; drop removed-attr devShell refs; base onrainix.devShells.rust-node-shell(rust + node + wasm-bindgen) keeping thedotrainbinary +build/test/js-bindings-docstasks. Verifiednix developresolves (cargo 1.94, node 22, wasm-bindgen).rainix.yaml): reusablerainix-rs-static+rainix-rs-test+ ajs-bindingsjob (build/test/docs).wasm-testis intentionally omitted — the CLI isn't wasm-targeted; the js bindings are the wasm path (built via npm/wasm-pack).magic-nix-cache→cache-nix-action; drop removedrainix-rs-prelude;rainix-rs-test→cargo test.🤖 Generated with Claude Code