Skip to content

docs(readme): bust OpenSSF badge cache#65

Merged
adrianbrad merged 1 commit intomainfrom
docs/bust-openssf-badge-cache
Apr 21, 2026
Merged

docs(readme): bust OpenSSF badge cache#65
adrianbrad merged 1 commit intomainfrom
docs/bust-openssf-badge-cache

Conversation

@adrianbrad
Copy link
Copy Markdown
Owner

The OpenSSF Best Practices badge on the repo home page was still rendering as "in progress" after the project reached 100% at bestpractices.dev.

Root cause is Fastly in front of bestpractices.dev: different Fastly PoPs hold different cached copies, and the one GitHub's camo proxy happens to reach is still serving the stale SVG. Direct fetches from other PoPs return the fresh "passing" SVG, and cache-control: no-store on the origin doesn't help once Fastly has cached it.

Fastly keys by URL, so appending a cache-buster (?v=1) creates a new cache entry that has to go to origin, bypassing the stale one. Bump the number the next time this happens.

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 21, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (949dfd8) to head (06be117).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #65   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            6         6           
  Lines          639       639           
=========================================
  Hits           639       639           
Flag Coverage Δ
unittests 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@adrianbrad adrianbrad merged commit c9b1d8b into main Apr 21, 2026
10 checks passed
@adrianbrad adrianbrad deleted the docs/bust-openssf-badge-cache branch April 21, 2026 09:32
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