Commit b1a69b7
ci: switch back to depot.dev builder (Fly remote builder regression)
Fly's standard remote builder started returning 'unauthorized' on
the WireGuard heartbeat at ~06:56 UTC on 2026-05-04 for valid
deploy tokens. Pattern:
WARN Failed to start remote builder heartbeat: unauthorized
Error: failed to fetch an image or build from source:
unauthorized (Request ID 01KQTE4AHWKB2PAAS8A372EKNP-iad)
(Trace ID e238a0166452cd04726a196f0d785b06)
Reproduced after rotating FLY_API_TOKEN to a brand-new token
(also from `fly tokens create deploy`). Both old + new tokens
work fine for HTTPS API calls (validate fly.toml, list machines,
etc.) but get rejected by the WireGuard auth backend. flyctl
0.4.45's wireguardless fallback path then bugs out on a malformed
heartbeat URL. Either Fly tightened deploy-token scopes or
there's an active platform incident; either way, our CI was
wedged with no token rotation able to recover.
Switching --depot=false → --depot=true routes the build through
depot.dev's own builder infrastructure, bypassing the Fly remote
builder path entirely.
Why depot was off before: 2026-04-28 had two consecutive 5-minute
timeouts that wedged CI ~10 min before failing. If those return,
the next escalation is local Buildkit on the GitHub runner with
docker/build-push-action — bypasses both Fly's builder AND
depot's, but adds infrastructure to maintain.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 71fcd21 commit b1a69b7
1 file changed
Lines changed: 18 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
101 | 111 | | |
102 | 112 | | |
103 | 113 | | |
| |||
107 | 117 | | |
108 | 118 | | |
109 | 119 | | |
110 | | - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
111 | 124 | | |
112 | 125 | | |
113 | 126 | | |
| |||
0 commit comments