Reduce CI pipeline runtime #46

Open
opened 2026-05-10 00:47:18 +02:00 by myrmidex · 0 comments
Owner

CI runs are taking longer than necessary. Investigate and apply optimisations to bring down total pipeline time.

Areas to investigate

  • Composer cache — verify cache hit rate; key on composer.lock
  • npm cache — add caching for node_modules keyed on package-lock.json
  • PHP extension installsetup-php reinstalls extensions on every run; check if a pre-built image with extensions baked in would be faster
  • Parallelism — split lint, tests, and asset build into parallel jobs where possible
  • MySQL readiness — the nc wait loop adds up to 60s worst-case; check if a healthcheck-based approach is faster in practice
CI runs are taking longer than necessary. Investigate and apply optimisations to bring down total pipeline time. ## Areas to investigate - **Composer cache** — verify cache hit rate; key on `composer.lock` - **npm cache** — add caching for `node_modules` keyed on `package-lock.json` - **PHP extension install** — `setup-php` reinstalls extensions on every run; check if a pre-built image with extensions baked in would be faster - **Parallelism** — split lint, tests, and asset build into parallel jobs where possible - **MySQL readiness** — the `nc` wait loop adds up to 60s worst-case; check if a healthcheck-based approach is faster in practice
myrmidex added this to the v0.4.0 milestone 2026-05-10 00:47:18 +02:00
myrmidex added the
enhancement
label 2026-05-10 00:47:18 +02:00
myrmidex self-assigned this 2026-05-10 00:47:18 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lvl0/incr#46
No description provided.