singularity-forge/.github/workflows
Tom Boucher c1c7f8b6b0 perf(ci): reduce pipeline minutes with shallow clones, npm caching, and exponential backoff (#1700)
CI workflow:
- Replace fetch-depth: 0 with shallow clones (depth 1-2) in lint and
  build jobs — saves ~30-60s per job
- Remove fetch-depth: 0 from build and windows-portability (default
  depth 1 is sufficient for build/test)

Pipeline workflow:
- Add cache: 'npm' to dev-publish, test-verify, and prod-release
  setup-node steps — saves ~1-2 min per job on npm ci
- Move ${{ }} expressions from run: blocks to env: variables in
  prod-release and update-builder to prevent command injection vectors
- Use fetch-depth: 2 in update-builder (only needs parent diff)

Build-native workflow:
- Replace hardcoded sleep 30 + single verification with exponential
  backoff polling (5s → 10s → 20s → 30s cap, max 5 attempts)
- Replace fixed 15s retry intervals in post-publish smoke test with
  exponential backoff (5s → 10s → 20s → 30s cap, 8 attempts)
- Replace fixed 15s dist-tag verification loop with exponential
  backoff (6 attempts vs 10 × 15s)

Estimated savings: ~5-10 min per full CI+pipeline run, ~1-3 min per
native build publish.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: TÂCHES <afromanguy@me.com>
2026-03-21 08:43:56 -06:00
..
ai-triage.yml fix(gsd): enforce backtick file paths in task plan IO sections (#1548) 2026-03-19 23:28:44 -06:00
build-native.yml perf(ci): reduce pipeline minutes with shallow clones, npm caching, and exponential backoff (#1700) 2026-03-21 08:43:56 -06:00
ci.yml perf(ci): reduce pipeline minutes with shallow clones, npm caching, and exponential backoff (#1700) 2026-03-21 08:43:56 -06:00
cleanup-dev-versions.yml feat: upgrade to Node.js 24 LTS across CI, Docker, and package config (#1165) 2026-03-18 09:28:49 -06:00
pipeline.yml perf(ci): reduce pipeline minutes with shallow clones, npm caching, and exponential backoff (#1700) 2026-03-21 08:43:56 -06:00