ci: unify pipelines — single install, ~50% faster CI #588

Merged
jason.woltje merged 1 commits from ci/unified-pipeline into main 2026-03-01 02:32:55 +00:00
Owner

What

Merges api.yml + orchestrator.yml + web.yml into a single ci.yml pipeline.

Why

pnpm install was running 3 times (once per workflow) at ~190s each = ~570s wasted.

How

  • Single install step shared by all quality gates
  • pnpm turbo lint / pnpm turbo typecheck run across all packages in one step
  • Tests run sequentially (API needs postgres, others via turbo)
  • Docker builds, trivy scans, and package linking remain main-only
  • Turbo remote cache (turbo.mosaicstack.dev) handles per-package deduplication

Expected Impact

  • Before: ~7min wall time (3 parallel workflows, each installing)
  • After: ~3-4min (single workflow, one install)
  • 337 lines replaces 636 lines (3 files → 1)

coordinator.yml and infra.yml unchanged (different language/concerns).

## What Merges api.yml + orchestrator.yml + web.yml into a single ci.yml pipeline. ## Why `pnpm install` was running 3 times (once per workflow) at ~190s each = ~570s wasted. ## How - Single `install` step shared by all quality gates - `pnpm turbo lint` / `pnpm turbo typecheck` run across all packages in one step - Tests run sequentially (API needs postgres, others via turbo) - Docker builds, trivy scans, and package linking remain main-only - Turbo remote cache (turbo.mosaicstack.dev) handles per-package deduplication ## Expected Impact - Before: ~7min wall time (3 parallel workflows, each installing) - After: ~3-4min (single workflow, one install) - 337 lines replaces 636 lines (3 files → 1) coordinator.yml and infra.yml unchanged (different language/concerns).
jason.woltje added 1 commit 2026-03-01 02:28:51 +00:00
ci: unify api/orchestrator/web pipelines into single ci.yml
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
f29eea429f
Eliminates 2 redundant pnpm install steps (~380s saved per run).
Single workflow: install once → parallel lint/typecheck → test → build.
Turbo remote cache handles per-package deduplication.
Docker builds, trivy scans, and package linking remain main-only.
Removes redundant multer CVE suppressions from .trivyignore.

Before: 3 workflows × 190s install = ~7min wall time
After:  1 workflow × 190s install = ~3-4min estimated
jason.woltje merged commit 5e7346adc7 into main 2026-03-01 02:32:55 +00:00
jason.woltje deleted branch ci/unified-pipeline 2026-03-01 02:32:55 +00:00
Sign in to join this conversation.