Skip to content

ci: use upstream rainix-rs-test reusable#200

Merged
thedavidmeister merged 3 commits into
mainfrom
2026-05-10-rs-test-reusable
May 10, 2026
Merged

ci: use upstream rainix-rs-test reusable#200
thedavidmeister merged 3 commits into
mainfrom
2026-05-10-rs-test-reusable

Conversation

@thedavidmeister
Copy link
Copy Markdown
Contributor

Summary

  • Drops the local cargo test matrix from rainix.yaml; replaced by a one-line wrapper calling rainlanguage/rainix/.github/workflows/rainix-rs-test.yaml@main (introduced in ci: reusable rainix-rs-test workflow rainix#150).
  • Local rainix.yaml trims to a single-job workflow for the only float-specific task left: test-wasm-build (cross-compile to wasm32).
  • Drops forge soldeer install + forge build setup since the rust crate compiles standalone via the committed crates/float/abi/ artifacts.
  • Drops deploy-related env vars from the workflow (test-wasm-build doesn't deploy).
  • Adds Swatinem/rust-cache@v2 to the test-wasm-build job for the same incremental-rebuild cache.
  • Bumps flake.lock to rainix@5cf5346 to pick up the rs-test reusable + rust-cache + fetch-depth cleanup.

Test plan

  • CI green: rainix-rs-test / rs-test (ubuntu-latest), rainix-rs-test / rs-test (macos-latest), and Rainix CI / test-wasm-build all pass.
  • Confirm rs-test runtime improvement on warm-cache subsequent runs.

🤖 Generated with Claude Code

cargo test now runs through the new
rainlanguage/rainix#150 reusable on ubuntu + macos. The local
rainix.yaml shrinks to a single-job workflow for `test-wasm-build`,
which is the only float-specific task left (cross-compile to wasm32).

Drops the matrix wrapper, the soldeer install + forge build steps
(rust crate compiles standalone via committed crates/float/abi/), and
the deploy-related env vars (test-wasm-build doesn't deploy).

Adds Swatinem/rust-cache@v2 to the test-wasm-build job so it benefits
from the same incremental-rebuild cache as the upstream rs-static /
rs-test reusables.

flake.lock bumped to pull in rainix@5cf5346 (the rs-test reusable +
rust-cache in rs-static + drop-fetch-depth changes from the recent
rainix sweep).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@thedavidmeister thedavidmeister self-assigned this May 10, 2026
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 10, 2026

Warning

Rate limit exceeded

@thedavidmeister has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 20 minutes and 7 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, 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 have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 9ebdf2cf-22f1-4cce-8c82-80c8d5f50132

📥 Commits

Reviewing files that changed from the base of the PR and between 35378d5 and b8b7ba8.

⛔ Files ignored due to path filters (1)
  • flake.lock is excluded by !**/*.lock
📒 Files selected for processing (3)
  • .github/workflows/rainix-rs-test.yaml
  • .github/workflows/rainix-rs-wasm.yaml
  • .github/workflows/rainix.yaml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch 2026-05-10-rs-test-reusable

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.

thedavidmeister and others added 2 commits May 11, 2026 00:35
Drops the local Rainix CI / test-wasm-build job entirely. Replaced by a
one-line wrapper calling rainlanguage/rainix#151's reusable. Removes
.github/workflows/rainix.yaml since this was its last remaining job.

flake.lock bumped to rainix@edcd45a to pick up the rs-wasm reusable.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@thedavidmeister thedavidmeister merged commit 80c516b into main May 10, 2026
10 checks passed
@github-actions
Copy link
Copy Markdown

@coderabbitai assess this PR size classification for the totality of the PR with the following criterias and report it in your comment:

S/M/L PR Classification Guidelines:

This guide helps classify merged pull requests by effort and complexity rather than just line count. The goal is to assess the difficulty and scope of changes after they have been completed.

Small (S)

Characteristics:

  • Simple bug fixes, typos, or minor refactoring
  • Single-purpose changes affecting 1-2 files
  • Documentation updates
  • Configuration tweaks
  • Changes that require minimal context to review

Review Effort: Would have taken 5-10 minutes

Examples:

  • Fix typo in variable name
  • Update README with new instructions
  • Adjust configuration values
  • Simple one-line bug fixes
  • Import statement cleanup

Medium (M)

Characteristics:

  • Feature additions or enhancements
  • Refactoring that touches multiple files but maintains existing behavior
  • Breaking changes with backward compatibility
  • Changes requiring some domain knowledge to review

Review Effort: Would have taken 15-30 minutes

Examples:

  • Add new feature or component
  • Refactor common utility functions
  • Update dependencies with minor breaking changes
  • Add new component with tests
  • Performance optimizations
  • More complex bug fixes

Large (L)

Characteristics:

  • Major feature implementations
  • Breaking changes or API redesigns
  • Complex refactoring across multiple modules
  • New architectural patterns or significant design changes
  • Changes requiring deep context and multiple review rounds

Review Effort: Would have taken 45+ minutes

Examples:

  • Complete new feature with frontend/backend changes
  • Protocol upgrades or breaking changes
  • Major architectural refactoring
  • Framework or technology upgrades

Additional Factors to Consider

When deciding between sizes, also consider:

  • Test coverage impact: More comprehensive test changes lean toward larger classification
  • Risk level: Changes to critical systems bump up a size category
  • Team familiarity: Novel patterns or technologies increase complexity

Notes:

  • the assessment must be for the totality of the PR, that means comparing the base branch to the last commit of the PR
  • the assessment output must be exactly one of: S, M or L (single-line comment) in format of: SIZE={S/M/L}
  • do not include any additional text, only the size classification
  • your assessment comment must not include tips or additional sections
  • do NOT tag me or anyone else on your comment

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