Skip to content

feat: OCI manifest size badge (v1.1.0)#1

Merged
Will-Luck merged 14 commits into
mainfrom
dev
Apr 6, 2026
Merged

feat: OCI manifest size badge (v1.1.0)#1
Will-Luck merged 14 commits into
mainfrom
dev

Conversation

@Will-Luck

Copy link
Copy Markdown
Owner

Summary

  • Fetch per-platform compressed image sizes from the GHCR OCI registry API (ghcr.io/v2/)
  • Size badge now shows per-platform breakdown: 82.5 MB (amd64) | 81.2 MB (arm64)
  • Version-aware manifest fetching: tries scraped version tag first, falls back to latest
  • Best-effort resilience: transient failure on one platform doesn't lose data for others

Closes #1

Test plan

  • 17/17 unit tests passing (6 new: 2 manifest parsing, 4 badge formatting)
  • Live smoke test: docker-sentinel 11.6 MB (amd64) | 11.4 MB (arm64)
  • Live smoke test: iplayer-arr 82.5 MB (amd64) | 81.2 MB (arm64)
  • Badge message length verified for shields.io (35 chars, renders cleanly)

@Will-Luck Will-Luck merged commit 362d823 into main Apr 6, 2026
2 checks passed
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