governance: normalize ECP 0063-0078 and add ECP-0079

This commit is contained in:
every.channel 2026-02-27 23:34:35 -08:00
parent 5a28a24294
commit fe03ec8f1a
No known key found for this signature in database
17 changed files with 185 additions and 8 deletions

View file

@ -1,5 +1,7 @@
# ECP-0073: Archive Relay Affinity Override
Status: Implemented
## Context
`wt-archive` workers discover streams from `/api/public-streams` and subscribe to the listed `relay_url`. In practice, `cdn.moq.dev` resolves to region-local relay IPs, and broadcasts published from one region are not consistently visible from another region endpoint.
@ -22,6 +24,11 @@ This allows operators to pin archive ingestion to the same relay endpoint used b
- Keeps deployment-level control in Nix (no app-level migration needed).
- Reversible with a single config change.
## Alternatives considered
- Keep subscribing to directory-provided `relay_url` only. Rejected because cross-region visibility is inconsistent in practice.
- Rewrite directory entries per-region. Rejected because this mixes deployment affinity into public directory payloads.
## Rollout
1. Set `archive.relayUrlOverride` on archive hosts that need relay affinity.