Skip to content

spire bridge: node-identity "unchanged" can never fire (bridge uses initialOrRotated), so its zero series is vacuous #993

Closed

Description

@bpalermo

Found while answering #846 item 1. aether_agent_spire_svid_updates_total{aether_spire_identity="node",aether_spire_update="unchanged"} is seeded at 0 and exists on every node, but the node path in agent/internal/spire/bridge.go (~line 838) classifies every update as initialOrRotated, so unchanged is never incremented for the node identity even when the broker re-sends the same bytes (which it does fleet-wide at every JWT-key prepare — 61 pod unchanged at 16:05Z on 09-26). A gate reading zero there proves nothing. Fix: classify the node update the same way as the pod path (compare the SVID bytes), and add the same seen-red the pod path has; or drop the node/unchanged series so it cannot be misread.

Activity

  1. changed the title [-]spire bridge: node-identity can never fire (bridge uses initialOrRotated), so its zero series is vacuous[/-] [+]spire bridge: node-identity "unchanged" can never fire (bridge uses initialOrRotated), so its zero series is vacuous[/+] on Sep 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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