Skip to content

ci: consolidate formatting and clippy into workspace-wide jobs#3252

Merged
QuantumExplorer merged 2 commits into
v3.1-devfrom
ci/consolidate-fmt-clippy
Mar 14, 2026
Merged

ci: consolidate formatting and clippy into workspace-wide jobs#3252
QuantumExplorer merged 2 commits into
v3.1-devfrom
ci/consolidate-fmt-clippy

Conversation

@QuantumExplorer

Copy link
Copy Markdown
Member

Summary

  • Move per-package cargo fmt and cargo clippy checks from tests-rs-package.yml into workspace-wide jobs in tests-rs-workspace.yml
  • Mac runner runs cargo fmt --check --all and cargo clippy --workspace before tests (fast failure)
  • New Ubuntu "Formatting & Linting" fallback job with the same Mac availability check pattern
  • Reduces runner count from N (one per changed package) to 1 for formatting and linting
  • Per-package unused_deps, detect_structure_changes, and check_each_feature jobs are unchanged

Test plan

  • Verify cargo fmt --check --all runs on Mac runner
  • Verify cargo clippy --workspace runs on Mac runner
  • Verify Ubuntu lint fallback skips when Mac is available
  • Verify per-package lint/formatting jobs no longer appear

🤖 Generated with Claude Code

Move per-package formatting and linting checks into a single
workspace-wide job. Runs on the Mac runner with Ubuntu fallback,
same pattern as tests. This reduces the number of runners needed
from N (one per changed package) to 1.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Mar 14, 2026

Copy link
Copy Markdown
Contributor

Warning

Rate limit exceeded

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

⌛ 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: defaults

Review profile: CHILL

Plan: Pro

Run ID: 80f5b9ca-93c5-4d2c-b640-59f2f59dc9fd

📥 Commits

Reviewing files that changed from the base of the PR and between 16ad0c0 and b3fc098.

📒 Files selected for processing (3)
  • .github/workflows/tests-rs-doctests.yml
  • .github/workflows/tests-rs-package.yml
  • .github/workflows/tests-rs-workspace.yml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch ci/consolidate-fmt-clippy
📝 Coding Plan
  • Generate coding plan for human review comments

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.

@github-actions github-actions Bot added this to the v3.1.0 milestone Mar 14, 2026
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@QuantumExplorer QuantumExplorer merged commit 468cac8 into v3.1-dev Mar 14, 2026
18 of 21 checks passed
@QuantumExplorer QuantumExplorer deleted the ci/consolidate-fmt-clippy branch March 14, 2026 09:14
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