ci: optimize CI performance with concurrency, path filters, and reduced matrix#88
Merged
blockiosaurus merged 2 commits intomainfrom Mar 19, 2026
Merged
Conversation
…ed matrix - Add concurrency groups to cancel in-progress runs on new pushes - Add path-ignore filters to skip CI for doc-only changes - Reduce Node matrix from 3 to 2 versions (lts/* + 24) - Use pnpm install --frozen-lockfile for faster, deterministic installs - Skip prebuild clean step in CI (fresh checkout doesn't need it) https://claude.ai/code/session_012Wc7SK396aDRfy8s5VPj4q
Contributor
Summary by CodeRabbit
WalkthroughCI workflows and local build/test configs updated: pnpm installs now use --frozen-lockfile, test workflow adds concurrency and path-ignore, Node matrix narrowed, build step sets CI=true, package prebuild skips clean on CI, and Mocha enabled parallel test runs. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Comment |
Contributor
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@package.json`:
- Line 110: The prebuild script uses POSIX shell syntax ([ -z "$CI" ]) which
fails on Windows; replace it with a cross-platform Node-based check: update the
"prebuild" script in package.json to run a short Node one-liner that checks
process.env.CI and conditionally runs "pnpm run clean" (for example using node
-e and child_process.execSync), so the logic lives in Node and works on Windows,
macOS, and Linux while keeping the same behavior.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: ASSERTIVE
Plan: Pro
Run ID: 8dd65468-c45f-4312-9f56-79281cf839d7
📒 Files selected for processing (3)
.github/workflows/onRelease.yml.github/workflows/test.ymlpackage.json
Contributor
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In @.mocharc.json:
- Line 11: The test suite is running in parallel ("parallel": true) while many
test files share a single hardcoded wallet address in their before() hooks,
causing race conditions; either disable parallel execution by removing or
setting "parallel" to false in .mocharc.json (or run with --parallel=false) OR
update the test setup in the affected before() hooks (files under
test/commands/** like toolbox/*.test.ts, tm/*.test.ts, cm/*.test.ts,
genesis/*.test.ts, bg/*.test.ts, core/*.test.ts) to generate unique wallets per
suite (e.g., use Keypair.generate() or derive per-suite wallets) and replace
occurrences of TESTfCYwTPxME2cAnPcKvvF5xdPah3PY7naYQEP2kkx with those dynamic
wallets.
MarkSackerberg
approved these changes
Mar 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://claude.ai/code/session_012Wc7SK396aDRfy8s5VPj4q