ci: increase timeouts + pnpm store cache to reduce QNAP runner flakes #66

Merged
Hartmut merged 1 commits from ci/reduce-qnap-flakes into main 2026-05-22 15:13:31 +02:00
Owner

Summary

  • Add pnpm store cache to all 7 CI jobs that run pnpm install --frozen-lockfile, reducing install time and the window for GitHub Actions download network timeouts (flake type 1: runs #163, #165)
  • Increase E2E webServer.timeout from 3 min to 5 min in playwright.config.ts (flake type 2: run #172 — QNAP Next.js cold-start is slow)
  • Increase Docker deploy health-check poll from seq 1 36 (3 min) to seq 1 60 (5 min) in "Resolve and pin app IP" step (flake type 3: run #173)
  • Add docker pull node:20-bookworm-slim step before "Build and start app" to warm the Docker layer cache

Test plan

  • CI pipeline runs green on this PR
  • All 9 jobs complete without network-timeout or health-check failures
  • pnpm store cache is populated on first run and restored on subsequent runs
  • E2E job webServer starts within the 5-minute window
  • Docker deploy health poll succeeds within the 5-minute window
## Summary - Add pnpm store cache to all 7 CI jobs that run `pnpm install --frozen-lockfile`, reducing install time and the window for GitHub Actions download network timeouts (flake type 1: runs #163, #165) - Increase E2E `webServer.timeout` from 3 min to 5 min in `playwright.config.ts` (flake type 2: run #172 — QNAP Next.js cold-start is slow) - Increase Docker deploy health-check poll from `seq 1 36` (3 min) to `seq 1 60` (5 min) in "Resolve and pin app IP" step (flake type 3: run #173) - Add `docker pull node:20-bookworm-slim` step before "Build and start app" to warm the Docker layer cache ## Test plan - [ ] CI pipeline runs green on this PR - [ ] All 9 jobs complete without network-timeout or health-check failures - [ ] pnpm store cache is populated on first run and restored on subsequent runs - [ ] E2E job webServer starts within the 5-minute window - [ ] Docker deploy health poll succeeds within the 5-minute window
Hartmut added 1 commit 2026-05-22 11:51:35 +02:00
ci: increase timeouts + pnpm store cache to reduce QNAP runner flakes
CI / Architecture Guardrails (pull_request) Successful in 3m48s
CI / Assistant Split Regression (pull_request) Successful in 5m11s
CI / Typecheck (pull_request) Successful in 5m42s
CI / Lint (pull_request) Successful in 5m46s
CI / Build (pull_request) Successful in 7m54s
CI / E2E Tests (pull_request) Successful in 5m35s
CI / Fresh-Linux Docker Deploy (pull_request) Successful in 5m53s
CI / Unit Tests (pull_request) Successful in 5m43s
CI / Release Images (pull_request) Has been skipped
5db6e24ee0
Three distinct flake types addressed:
- pnpm store cache: faster installs reduce total job time
- E2E webServer timeout: 3m → 5m (QNAP cold-start is slow)
- Docker deploy health poll: 3m → 5m headroom for image build
- Pre-pull node:20-bookworm-slim: warms Docker layer cache

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Hartmut merged commit 184efee0e1 into main 2026-05-22 15:13:31 +02:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Hartmut/Nexus#66