Skip to content

fix(e2e): wait for aether-mesh-dns in the multi-cluster harnesses - #590

Merged
bpalermo merged 1 commit into
mainfrom
fix/e2e-mesh-dns-wait
Jul 25, 2026
Merged

bpalermo merged 1 commit into
mainfrom
fix/e2e-mesh-dns-wait

Conversation

@bpalermo

Copy link
Copy Markdown
Owner

The nightly e2e workflow has been red since 07-22 (waypoint + replicator, both curl 000). The regression window contains exactly the three mesh-DNS decoupling commits (#579/#580/#581).

Both suites assert on a mesh DNS name (echo.<ns>.<mesh-domain>) but gated readiness only on ds/aether-agent. Before #578 that was sufficient — the agent was the resolver. After the decoupling it no longer implies DNS is serving, so the harness races a cold aether-mesh-dns DaemonSet and fails with an unexplained 000.

Changes

  • Wait for ds/aether-mesh-dns alongside the agent in both harnesses.
  • dump_mesh_dns() on assertion failure (pod state + recent logs, both clusters). A bare 000 is ambiguous between didn't route and didn't resolve — that ambiguity is what made this a bisect instead of a self-evident failure.

Caveat

The missing wait is definitively a defect but is not proven to be the whole cause: the daemon's readiness probe re-execs a binary and is CPU-sensitive (#581), and CI runners are exactly that environment. The diagnostics exist so the next run settles it conclusively.

Not a data-plane regression — talos runs the decoupled resolver hitless (soak-validated: agent-roll +1, daemon-roll +0).

Refs #589.

🤖 Generated with Claude Code

Both suites assert on a MESH DNS NAME (echo.<ns>.<mesh-domain>) but gated
readiness only on ds/aether-agent. Before #578 that was sufficient, because
the agent WAS the resolver; after the decoupling it no longer implies DNS is
serving, so the harness raced a cold aether-mesh-dns DaemonSet and failed
with an unexplained curl 000. The nightly e2e has been red since 07-22.

Waits for ds/aether-mesh-dns alongside the agent, and dumps mesh-dns pod
state + logs when the assertion fails: a bare 000 is ambiguous between "did
not route" and "did not resolve", and that ambiguity is what turned this into
a bisect instead of a self-evident failure.

The missing wait is not proven to be the only cause -- the daemon's readiness
probe is CPU-sensitive (#581) and CI runners are constrained -- so the
diagnostics are there to settle it on the next run.

Refs #589.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01EioJVuoepwStjHoRLB52WR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant