#29335·argo-cd

badges with short revisions are too wide

Author: rasschaertCreated Aug 23, 2026Updated Sep 30, 2026
Labelsbuggood first issuebug/severity:minortriage/pendingcomponent:apibug/priority:low

Checklist:

  • I've searched in the docs and FAQ for my answer: https://bit.ly/argocd-faq.
  • I've included steps to reproduce the bug.
  • I've pasted the output of argocd version.

Describe the bug

Badges generated for short revisions are too wide, 400px, which can make them wider than badges that contain more text.

To Reproduce

Get a badge using/api/badge?name=<app>&revision=true with a revision that is equal to or less than 7 characters. A specific example is Helm chart version 5.20.2.

Expected behavior

The badge has the appropriate width of 192px, as per the docs.

Screenshots

Image

Version

bash
argocd: v3.4.5

Logs

Paste any relevant application logs here.