ci: drop unused fetch-depth: 0 from reusable workflows#148
Conversation
None of the reusable workflows (sol-static, sol-legal, sol-test, build-pointers, rs-static, publish-soldeer) read git history. Default shallow clone (depth 1) covers everything they do — slither, forge fmt, reuse lint, forge test, forge script + diff, cargo fmt + clippy, forge soldeer push. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
Warning Rate limit exceeded
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 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 configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (6)
✨ 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 |
Mirrors the same change applied to rainix's reusable workflows in rainlanguage/rainix#148. Workflow does forge build + forge script + git diff --exit-code; default shallow clone covers HEAD which is all the diff check needs. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
@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:
Review Effort: Would have taken 5-10 minutes Examples:
Medium (M)Characteristics:
Review Effort: Would have taken 15-30 minutes Examples:
Large (L)Characteristics:
Review Effort: Would have taken 45+ minutes Examples:
Additional Factors to ConsiderWhen deciding between sizes, also consider:
Notes:
|
Summary
Surfaced by CodeRabbit review on a downstream consumer (rainlanguage/rain.math.float#198):
fetch-depth: 0clones the full git history on every job, but none of the reusable workflows in this repo read history. Drop it across the reusables — sol-static, sol-legal, sol-test, build-pointers, rs-static, publish-soldeer — so the default shallow clone applies.What each workflow does, none of which needs history:
Test plan