magicblock-labs / magicblock-labs/magicblock-engine-examples
Run CI only for examples changed in a PR
Open
@dhruvja is already working on this.
Since Jul 2, 2026.
- Dominant language
- TypeScript
- Stars
- 54
- Forks
- 36
- Avg merge
- 12h 28m
- Merged PRs (30d)
- 2
Description
Currently, CI runs broadly even when a PR only updates a single example. This makes CI slower and noisier than necessary.
We should update the CI workflow so it detects which example directories were changed and only runs the relevant checks for those examples.
Expected behavior
- If
spl-tokens/**changes, run CI forspl-tokensonly. - If
anchor-counter/**changes, run CI foranchor-counteronly. - If multiple examples change, run CI for each changed example.
- If shared scripts, root config, or workflow files change, run the full CI matrix.
- Documentation-only changes should skip example builds/tests where safe.
Why
- Reduces CI runtime.
- Avoids unrelated example failures blocking focused PRs.
- Makes PR feedback easier to understand.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.