From eecc7ffc3f1c723c58d636207d0ebc49b4aea404 Mon Sep 17 00:00:00 2001 From: Hemanth Chittanuru Date: Thu, 13 Aug 2026 22:23:58 -0400 Subject: [PATCH] docs: bust the cached PyPI badge The version badge rendered "package or version not found" after publishing. shields had the data all along: its JSON route returned v0.1.0 while the SVG route served a cached negative, seeded when that exact URL was fetched before the package existed. cacheSeconds=300 is a new URL, so it misses the stale entry, and it caps future staleness at five minutes rather than whatever shields defaults to. A new URL also means a new camo URL, so GitHub's image proxy cannot keep serving the old one either. Applied to pyversions as well. That one renders correctly today but would go stale the same way on a change to the supported range. Co-Authored-By: Claude Opus 5 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4a0b42c..5531d04 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # postflight [![tests](https://github.com/Base-Homes/postflight/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/Base-Homes/postflight/actions/workflows/ci.yml) -[![PyPI](https://img.shields.io/pypi/v/postflight)](https://pypi.org/project/postflight/) -[![Python versions](https://img.shields.io/pypi/pyversions/postflight)](https://pypi.org/project/postflight/) +[![PyPI](https://img.shields.io/pypi/v/postflight?cacheSeconds=300)](https://pypi.org/project/postflight/) +[![Python versions](https://img.shields.io/pypi/pyversions/postflight?cacheSeconds=300)](https://pypi.org/project/postflight/) [![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](LICENSE) ### Turn-level failure detection for tool-calling agents