Fixed: the cause was the test helper deadAddr freeing its port, which another test process then took; merged to main. The edge itself was not at fault.
Flake: TestAllUpstreamsDownAnswers503WithRetryAfter got 404, not 503 closed
internal/edge TestAllUpstreamsDownAnswers503WithRetryAfter failed once on CI (run on 889e4f69, branch ci-speed-split, edge shard 2 of 4):
edge_test.go:1810: status = 404, want 503 (a dark upstream set is 'come back shortly', not the stdlib's bare 502)
The log line just before it is edge: probe ha.example.com 127.0.0.1:42891 down (dial failed on a live request), so the route was found and a dial was tried, and the request still came back 404.
It passes alone (-count=5) and the exact shard-2 test set passes locally (100 s). It has not failed on the last 60 branches. The test dates from a4e2e7f5 (2026-08-12).
Worth a look because if this is a race in the live-set path rather than in the test, an HA service whose upstreams are all down could sometimes answer 404 ("no such app") instead of 503 + Retry-After. Not fixed on ci-speed-split: production edge edits need a census overlay, and that branch only changes CI.