Repository navigation
ci: skip Solidity jobs for deployment-manifest-only changes - #1101
Conversation
The `detect changes` job's `solidity` paths-filter matches all of `contracts/**`, so a commit touching only a deployment manifest (`contracts/deployments/<chainId>.json`, e.g. the Arbitrum Sepolia `421614.json` recorded for #1083) triggered the full Solidity suite — build+test, gas snapshot, slither, aderyn, coverage, and fork test — even though a JSON manifest affects no compilation or tests. Add a `!contracts/deployments/**` negation so manifest-only changes skip the Solidity jobs. dorny/paths-filter@v4 evaluates patterns last-match-wins, so the negation after `contracts/**` excludes them. No Solidity job reads the manifests, and test-chain manifests (`deployments/31337*.json`) are already gitignored, so only committed real-network manifests are affected. Co-Authored-By: Claude Opus 4.8 <[email protected]>
|
Warning Review limit reached
Next review available in: 43 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Free Run ID: 📒 Files selected for processing (1)
Note 🎁 Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login. Comment |
|
Note Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported. |
Gas snapshotNo gas changes vs base. |
Contracts coverageLine coverage: 88.71% (2452/2764 lines) |
There was a problem hiding this comment.
Pull request overview
Adjusts the CI change-detection gating so that updates to committed on-chain deployment manifests under contracts/deployments/** don’t unnecessarily trigger the full Solidity CI suite, while preserving existing behavior for real contract/source changes.
Changes:
- Adds an exclusion pattern to the
dorny/paths-filtersolidityfilter to ignorecontracts/deployments/**. - Documents the rationale directly in the workflow to clarify why manifest-only commits should skip Solidity jobs.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Coverage reportTotal: 80.06% (was 80.06%, ● 0.00%) — 44421/55483 lines No Rust files changed in this PR. History
|
Summary
The
detect changesjob'sdorny/paths-filtersolidityfilter matched all ofcontracts/**, so a commit touching only a deployment manifest (contracts/deployments/<chainId>.json, e.g. the Arbitrum Sepolia421614.jsonrecorded for #1083) triggered the full Solidity CI suite — build+test, gas snapshot, slither, aderyn, coverage, and fork test — even though a JSON manifest affects no compilation or tests.This adds a
!contracts/deployments/**negation so manifest-only changes skip the Solidity jobs.Why it's safe
!contracts/deployments/**pattern placed aftercontracts/**correctly excludes manifest paths from the match..github/finds no job referencingdeployments/.deployments/31337*.json) are already gitignored (contracts/.gitignore), so this negation only affects deliberately-committed real-network manifests.contracts/**via the other changed files and runs the full suite as before.🤖 Generated with Claude Code