Skip to content

proxy-release auto-bump updates tag but not the digest pin the chart actually deploys #648

Closed

Description

@bpalermo

Summary

charts/aether/values.yaml pins both proxy.image.tag and proxy.image.digest, and the image helper (charts/aether/templates/_helpers.tpl:34-42, aether.image) prefers digest when set. But the bump-chart job in .github/workflows/proxy-release.yml only rewrites tag on a proxy release. Net effect: merged proxy builds silently never reach the cluster — the chart keeps deploying the old digest while the tag advances, until someone hand-edits the digest.

Found 2026-08-30 during the eBPF-profiling symbolization work (the deployed proxy digest had to be resolved by hand, and any symbol upload must key off digest, not tag).

Impact

  • Proxy fixes/bumps that appear "released" are not actually running; drift is silent (no CI, no alert).
  • Anything keyed to the deployed artifact (symbol uploads, build-ID inventory, incident forensics) must special-case the digest.

Fix options

  1. Make the auto-bump rewrite the digest (preferred): proxy-release.yml bump-chart step resolves the pushed manifest-list digest (docker buildx imagetools inspect / crane digest) and updates proxy.image.digest (and tag, for humans) in the same PR.
  2. Or drop the digest pin and pin by immutable tag only — weaker (tags are mutable) but removes the split-brain.
  3. Either way: a CI check that values.yaml's digest actually exists in GHCR and matches the pinned tag, so the two can't diverge silently again.

Acceptance

  • A proxy release PR merge produces a chart bump PR whose proxy.image.digest equals the newly published multi-arch digest.
  • Verify on the next release that the cluster rolls to the new digest without manual edits.

Activity

  1. bpalermo commented on Aug 30, 2026

    @bpalermo
    OwnerAuthor

    Severity correction after verification (2026-08-30): the pin is NOT currently stale. docker buildx imagetools inspect on the pinned tag c2ecdab... returns index digest sha256:27db36ed... — exactly the pinned digest, which is also what the fleet runs. The proxy image is only published when its deps change (bazel-diff impacted targets), and the last proxy publish was #534 (Envoy 1.39.0 bump, the same commit that set this pin). No newer proxy build exists, so nothing has been silently withheld from the cluster.

    This makes the bug a latent one, not active drift: it bites on the NEXT proxy-dep change, when the auto-bump rewrites tag but leaves digest at 27db36ed — at that point the fleet keeps running the old build while the tag advances. The fix (auto-bump resolves and rewrites the digest; CI asserts tag↔digest consistency) is unchanged; the original description's claim that merged proxy builds are already not reaching the cluster was wrong.

    Also folding in from the same investigation: symbol re-uploads to Pyroscope are only needed when an image digest actually changes — which for the proxy is rare (last: July, #534). The digest-bump fix here is the natural trigger point to also automate/prompt the symbol upload (and see #651 for why the agent binary's upload is currently blocked on a build-ID bug).

  2. added a commit that references this issue on Sep 1, 2026
  3. bpalermo commented on Sep 5, 2026

    @bpalermo
    OwnerAuthor

    Closing as fixed — this is half 1 of #703 (same defect), resolved by #705's bump-chart rewrite, which now updates digest: alongside tag: from the index digest the manifest job produces. Proven on the first run after it landed: the workflow generated the #706 diff (tag → 51ba129…, digest a749fcce… → 9e401334…, Chart.yaml 0.92.2) and the deployed proxy image changed for the first time since the #534 digest pin. The remaining half — GitHub Actions is not permitted to open the PR (can_approve_pull_request_reviews=false, no CHART_BUMP_PAT) — stays open in #703.

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