Skip to content

fix(certificatee): quiet unmanaged vault certificates#40

Draft
ananthb wants to merge 1 commit into
masterfrom
codex/certificatee-quiet-unusable-vault-certs
Draft

fix(certificatee): quiet unmanaged vault certificates#40
ananthb wants to merge 1 commit into
masterfrom
codex/certificatee-quiet-unusable-vault-certs

Conversation

@ananthb

@ananthb ananthb commented Jul 14, 2026

Copy link
Copy Markdown
Member

What changed

  • Treat non-expiring HAProxy certificates with no usable Vault replacement as skipped instead of failed.
  • Keep expiring live certificates with no usable Vault replacement on the error path so renewal/distribution risk still alerts.
  • Summarize skipped certificates per endpoint and keep the detailed candidate reason at debug level.

Why

Staging has HAProxy-loaded certificates that are intentionally unmanaged or have live certs newer than Vault. v0.5.3 correctly refuses to roll those back, but the current behavior turns that into per-cert error noise and increments certificatee_certificates_update_failures_total even when the live cert is not near expiry.

No Linear ticket - rollout follow-up.

Validation

  • /usr/local/go/bin/go test ./cmd/certificatee
  • /usr/local/go/bin/go test ./...

@ananthb ananthb force-pushed the codex/certificatee-quiet-unusable-vault-certs branch from 90b2249 to 0f4584e Compare July 14, 2026 16:07
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