Commit graph

4 commits

Author SHA1 Message Date
Filip Hejmowski
a26b0a73e4 fix(ci): keep dev previews and published libraries working with pack-npm
- when pack-npm fails on a non-release run, publish builds the libraries
  in place as before, so the CLI dev preview still ships after client
- library scripts skip versions already on npm in pack mode too, and
  NpmLibraries.verify accepts a missing tarball only for a published
  version, so a re-dispatched release does not rerun every check
- trim comments that restated code and correct inaccurate ones
2026-10-19 15:15:48 +02:00
Filip Hejmowski
30e1c3174b fix(ci): poll for the desktop CLI within the GITHUB_TOKEN budget
- wait-for-artifact checks the artifact every 20 s (every minute after
  10 minutes) and the jobs every third check, honours retry-after and
  x-ratelimit-reset without spending the deadline, backs off on 5xx and
  network errors, and fails at once on 401, 404 and permission errors
- the deadline moves forward only while build-cli or build-app-archive
  runs, so queue time still counts
- a successful producer gets three artifact re-checks before failing
- build-cli downloads Bun with a read-only, repo-scoped app token
  instead of github.token
2026-10-19 13:39:15 +02:00
Filip Hejmowski
d00ca2bce1 fix(ci): harden the publish speed-ups from review
- wait-for-artifact keeps polling through transient API errors and fails
  fast when the producer's matrix job is skipped
- re-login to Azure before the Windows Package retry
- verify macOS node-pty prebuilds in afterPack
- key the bun cache by install flags and explain --cpu=* on macOS x64
- publish the npm libraries from NpmLibraries.names
2026-10-19 12:25:32 +02:00
Filip Hejmowski
ad74f5f0f3 chore(ci): speed up the publish workflow
Squashes the publish speed-up stack: faster desktop runners, per-target
CLI builds with parallel signing, early desktop builds, release-only
desktop uploads, a packaging retry, release-only setup, parallel npm
packing, dead trigger removal and a single web UI archive build.
2026-10-19 12:21:39 +02:00