#14897·OmniRoute

feat(resilience): accept operator-provided dated egress observations for core entries

Author: maxmad64bisCreated Sep 26, 2026Updated Sep 28, 2026
Labelsenhancementresiliencebacklog

Problem / Use Case

OmniRoute can learn nothing from what the operator already observes. The egress address behind a core entry comes from a cached echo probe; behind an entry with internal failover, or after a steered switch (#14752), the address changes without the cached value knowing. On one installation, a local harness already holds a node-to-address map with thousands of entries that OmniRoute cannot read.

Proposed Solution

Accept, read-only, an operator-provided "member to address, date" mapping (file or call) for core entries, consumed by address-based decisions under a staleness rule: dated, and stale means absent. Without it, current behavior is unchanged.

  • A provided address is never ground truth; the pool UI says "operator-provided, dated" or "unknown" for an opaque entry.
  • No probes on the hot path; OmniRoute does no bulk probing itself.
  • Host keys follow the existing normalization; unparseable input is ignored, never throws.

Alternatives Considered

  • Keep the cached echo probe as the only source: simple, but wrong behind any entry whose member changed since the probe.
  • Active re-probing after each switch: accurate but noisy at scale; the operator already holds the observation, so accept it instead of re-measuring it.

Acceptance Criteria

  • With a fresh mapping, ordering and refusal memory use the provided address; with a stale or missing mapping, behavior is exactly today's.
  • A stale observation is never served as current anywhere (decisions, UI).
  • Nothing on the hot path probes or blocks; input handling follows the same opt-in constraints as #14702 (loopback or allow-listed, SSRF-checked, secrets encrypted at rest).

Open point (not part of this issue)

  • Accept an operator-reported down signal as a separate issue: an authenticated admin route feeding the refusal memory with a dedicated type, short-lived, reordering without ever draining, live traffic always winning.

Area

Proxy / Routing

Related Provider(s)

None specific.

Additional Context

The echo probe stays the default source; the mapping only overrides it while fresh. Transport health stays with the core: one decider per domain.

Expected Test Plan

  • Unit coverage for fresh vs stale vs missing mapping, plus unparseable input; existing ordering and refusal-memory suites stay green.