Skip to content

readme: fix license/stars badges cached as 'repo not found' from the private era - #169

Merged
InauguralPhysicist merged 1 commit into
mainfrom
claude/badge-fix
Jun 12, 2026
Merged

readme: fix license/stars badges cached as 'repo not found' from the private era#169
InauguralPhysicist merged 1 commit into
mainfrom
claude/badge-fix

Conversation

@InauguralPhysicist

Copy link
Copy Markdown
Collaborator

Cosmetic but front-page: the README's license and stars badges render as "repo not found" (visible in the screenshots from the freshly-public repo).

Cause: GitHub's camo image proxy cached the shields.io error images from when the repo was private. A PURGE of the camo entries succeeded but re-fetched stale data from shields' own cache shard — so waiting it out is the only fix for the existing URLs.

Fix: change the URLs, which changes the camo cache keys, so they render correctly immediately:

  • License badge → static badge/license-MIT-green (the license doesn't change; removing the API dependency means repo-visibility can never break it again).
  • Stars badge → ?cacheSeconds=3600 (new camo entry now, saner refresh interval after).

Both verified at the source before committing (license: MIT, valid stars SVG). The release badge already healed on its own — and correctly shows v0.13.0 🎉

https://claude.ai/code/session_01DpfHDXRC3fR9xhpMVQb6HL


Generated by Claude Code

GitHub's camo proxy cached the license and stars badge images while
the repo was private (shields returned 'repo not found'); a PURGE
re-fetched stale data from shields' own cache shard. New URLs mean new
camo cache keys, so they render immediately: the license badge becomes
static (license-MIT-green — the license doesn't change, so no API
dependency to break again) and the stars badge gets a cacheSeconds
param (fresh camo entry now, saner refresh after).

https://claude.ai/code/session_01DpfHDXRC3fR9xhpMVQb6HL
@InauguralPhysicist
InauguralPhysicist merged commit 7d3bccf into main Jun 12, 2026
12 checks passed
@InauguralPhysicist
InauguralPhysicist deleted the claude/badge-fix branch June 13, 2026 01:57
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.

2 participants