Skip to content

registrar: every dependency-set change restarts the agent watch with a full resend (resume=current never fires) #1239

Closed

Description

@bpalermo

Found grading the 8 h soak nightly-1005-surge/2.4.5-c6dacde (T0 2026-10-05T03:25:41Z, talos-main).

aether_registrar_watch_starts_total{resume} over the window: resent +32 on one replica and +5 on the other, renamed +0, current never emitted. The resent steps line up with the new-SA churn steps (+10 at 05:30–05:35Z, +5/+5 at 08:10–08:20Z) and with fleet-wide service left dependency set lines (15 across 5 nodes) when the step's pod is deleted.

So each dependency-set change makes every agent re-open its registrar watch and receive the whole snapshot; the resume fast path added in #1204 is never taken on this path.

To establish: is the re-watch on a dependency-set change intended, and why does the resume token not match (token cleared on re-watch? demand filter changes the content hash?). If a filtered watch can never resume, say so in the runbook and drop the expectation; otherwise fix the token handling. Not confirmed by a code read yet.

🤖 Generated with Claude Code

https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions