carlos / platform Public

retry-after-503

Region HA #421 finding 1 (v0.34.40 flagship roll: two 503s with no Retry-After, producer unproven). Fix A + B from the approved plan, plus the T1 timing line.

  • A: every 503 written by internal/edge and internal/activator goes through edge.Unavailable / UnavailableHeader: Retry-After (at least 1 s), X-Carlos-Answer (fixed, unique per call site) and X-Carlos-Box (first 12 hex digits of the SHA-256 of the box label). serveWakeError's two bare branches (rootfs-not-admitted, wake-failed) now send Retry-After: 5. The plans turned-off page keeps no Retry-After on purpose (UnavailableNoRetry). A go/types guard test (W1-W5, with fixtures) refuses any other 503 in either package.
  • B: scripts/ha-roll-probe.sh logs Retry-After, answer, box and the start of the body for every non-200.
  • T1: releaseHAClean logs per-phase times (files, sync, record, marker) on the marker line.

Astra: three rounds; all findings fixed (r1-r3 in ~/.cache/region-ha-held/retry-after). Census approved on #280. No release.

Commits 5
Discussions 0 0 open
Tasks 0/0 done

Discussions

  • No discussions on this branch yet.

Tasks

  • No tasks yet.

Activity