Skip to content

chore: modernize to latest rainix (flake + CI)#141

Open
thedavidmeister wants to merge 2 commits into
mainfrom
2026-06-03-modernize-rainix
Open

chore: modernize to latest rainix (flake + CI)#141
thedavidmeister wants to merge 2 commits into
mainfrom
2026-06-03-modernize-rainix

Conversation

@thedavidmeister

Copy link
Copy Markdown
Contributor

dotrain's flake no longer evaluated against latest rainix (referenced the removed rainix-rs-prelude/rainix-rs-test/rainix-rs-artifacts package attrs), and its CI used the discontinued magic-nix-cache action + removed tasks.

  • flake: github:rainlanguage/rainix + lock bump; drop removed-attr devShell refs; base on rainix.devShells.rust-node-shell (rust + node + wasm-bindgen) keeping the dotrain binary + build/test/js-bindings-docs tasks. Verified nix develop resolves (cargo 1.94, node 22, wasm-bindgen).
  • CI (rainix.yaml): reusable rainix-rs-static + rainix-rs-test + a js-bindings job (build/test/docs). wasm-test is intentionally omitted — the CLI isn't wasm-targeted; the js bindings are the wasm path (built via npm/wasm-pack).
  • manual-release: dead magic-nix-cachecache-nix-action; drop removed rainix-rs-prelude; rainix-rs-testcargo test.
  • formatter hooks applied (taplo/denofmt/rustfmt).

🤖 Generated with Claude Code

- 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>
@coderabbitai

coderabbitai Bot commented Jun 3, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@thedavidmeister, we couldn't start this review because you've reached your PR review rate limit.

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 @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 39dda551-9fc7-4609-8cdc-be2d68fad2b6

📥 Commits

Reviewing files that changed from the base of the PR and between 34ab3e7 and b86cc5e.

⛔ Files ignored due to path filters (1)
  • flake.lock is excluded by !**/*.lock
📒 Files selected for processing (12)
  • .github/workflows/manual-release.yaml
  • .github/workflows/pr-assessment.yaml
  • .github/workflows/rainix.yaml
  • .rustfmt.toml
  • README.md
  • crates/dotrain/Cargo.toml
  • crates/dotrain/src/cli/mod.rs
  • crates/dotrain/src/composer/mod.rs
  • crates/dotrain/src/parser/raindocument/mod.rs
  • crates/dotrain/src/types/ast.rs
  • crates/lsp/Cargo.toml
  • flake.nix
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch 2026-06-03-modernize-rainix

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

- 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant