CodePulse v2.3.118 — Install-step retries across the release pipeline
Extends v2.3.117's NSIS resilience pattern to four other transient-failure surfaces in the release pipeline: bun install, npm ci (launcher), npm ci (worker), and wrangler deploy. A single transient registry 503 or Cloudflare API blip can no longer take down a release.
Release pipeline hardening (TAB-594)
- Three install steps gained 3× retry with linear backoff (15s / 30s / 45s):
bun installfor the service,npm cifor the launcher, andnpm ci --ignore-scriptsfor the Cloudflare Worker. All three hit external registries on every release run. wrangler deploygained 2× retry with 30s backoff. Cloudflare API 5xx is rare but real; one extra attempt eliminates the most common transient failure mode without inviting accidental double-deploys (the Worker bundle upload is idempotent, the DO migration is already applied, and the route binding rebinds to the same target each run, so retry is provably safe for this specific topology).- No code changes outside
.github/workflows/release.yml. No application behaviour changed in this release.
Implementation note
The retries are coded as plain for i in 1 2 3 shell loops with explicit success-marker echoes on retry — log readability is the priority, not generic abstraction. A future version may consolidate this with the NSIS retry block from v2.3.117 if a third transient-failure source appears.