This repository was archived by the owner on Oct 2, 2026. It is now read-only.
Repository navigation
Commit ecbd6d7
Fix semaphore preview 522: restore baseUrl in migrated config
The apps/semaphore config migration rewrote AppConfig as a fresh
z.object({...}) instead of BaseAppConfig.extend({...}), silently dropping
the inherited baseUrl field. alchemy's IterateApp derives the worker route
and proxied DNS from runtimeConfig.baseUrl (deriveWorkerRouteHosts); with
baseUrl undefined it created no route, so semaphore.<base> resolved via DNS
but had no worker bound and Cloudflare answered 522. That 522 failed the
preview readiness poll and reported as a generic "Failed to deploy" — the
os worker itself was healthy throughout.
Restore baseUrl: publicValue(z.url().optional()) (the Doppler config already
supplies APP_CONFIG_BASE_URL). Document the diagnosis in the decisions log.
Co-Authored-By: Claude Fable 5 <[email protected]>1 parent adb759e commit ecbd6d7
2 files changed
Lines changed: 28 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
169 | 192 | | |
170 | 193 | | |
171 | 194 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
14 | 19 | | |
15 | 20 | | |
16 | 21 | | |
| |||
0 commit comments