Reduce PR check wall time #355
Labels
No labels
adr
automated
bug
chore
dependencies
documentation
enhancement
epic
github-actions
P1-high
P2-medium
P3-low
release
research
rust
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jwilger/eventcore#355
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
PR checks take too long and cause unnecessary delays in iteration and delivery. This issue covers all approaches to reducing PR check wall time.
Problem
The current CI pipeline runs every job on every PR regardless of what changed, and jobs that could run in parallel may not be optimally parallelized. This creates unnecessary wait times that slow down the development feedback loop.
Approaches
1. Skip irrelevant jobs based on changed file paths
Add a path-filtering mechanism so jobs only run when relevant files change:
ifconditions on existing jobs (e.g., skip Rust jobs when only*.md,.claude/rules/**,docs/**change). Theifcondition must prevent the job from starting at all — no container spin-up, no checkout, no wasted runner time.Jobs that should be skippable for non-code PRs:
cargo mutants)2. Move CodeQL to scheduled-only
Move CodeQL analysis out of PR triggers. It should only run:
mainRemove CodeQL from branch protection required checks.
3. Other optimizations to investigate
Any additional improvements that reduce wall time for PRs that do need Rust checks:
Acceptance Criteria
*.md,docs/**) skip all Rust jobs including mutation testing.claude/rules/**,REVIEW.md,CLAUDE.md) skip all Rust jobsiflevelmainpushes and on a weekly schedule only