Skip to content

agent: identity-binding log lines can be attributed to the wrong snapshot version #1621

Closed

Description

@bpalermo

logIdentityBindings and logInboundIdentityBindings read the cache's live maps after SetSnapshot, on every build, not the resources of the snapshot just installed. A pod or cluster change made by a concurrent mutator after the build read its resources is logged under the earlier version, and the build that actually publishes it logs nothing. Anyone correlating a binding line with a snapshot version (the #638 coincidence check does) can be misled.

Log from the built snapshot's own resources.

🤖 Generated with Claude Code

https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr

Activity

  1. added
    bug
    minor
    observability
    on Oct 9, 2026
  2. bpalermo commented on Oct 10, 2026

    @bpalermo
    OwnerAuthor

    Fixed in substance by #1625: a binding line is now built from the installed snapshot's own listeners and secrets and from the build's own read of the cluster map. One narrow window remains (an entry written between two lock acquisitions is first named by the next build); it is described in the code and not worth a separate change.

    🤖 Generated with Claude Code

    https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr

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

    bugminorobservability

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions