Commit ad17812
ci(adcp): use 127.0.0.1 instead of localhost for storyboard probes
Acting on dx-expert review of this PR:
On dual-stack hosts (and Ubuntu runners since actions/runner 2.300+),
``localhost`` resolves to ``::1`` first. uvicorn's default bind is
IPv4-only, so the readiness probe and runner invocation each eat a
connection-refused round-trip on ``::1`` before falling back to
``127.0.0.1``. Curl falls back automatically (so it still works), but
it's wasteful and slightly fragile.
Pin both call sites to ``127.0.0.1`` directly. The agent's bind address
is unchanged (still ``0.0.0.0`` via ``ADCP_HOST`` default in #296);
only the client-side address resolution changes.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent bfe5ca8 commit ad17812
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
364 | 364 | | |
365 | 365 | | |
366 | 366 | | |
367 | | - | |
| 367 | + | |
368 | 368 | | |
369 | 369 | | |
370 | 370 | | |
| |||
388 | 388 | | |
389 | 389 | | |
390 | 390 | | |
391 | | - | |
| 391 | + | |
392 | 392 | | |
393 | 393 | | |
394 | 394 | | |
| |||
0 commit comments