docs: fix the coverage badge and link the CI badge - #640
Merged
Conversation
The shields.io coveralls endpoint renders "coverage: invalid" because coveralls' JSON API now sits behind a Cloudflare interstitial, so shields can't read the percentage. Go back to coveralls' own badge URL, which serves a real SVG (image/svg+xml, 200) after its redirect. Also switch the CI badge to the current /actions/workflows/build.yml/badge.svg form and link it to the workflow runs page — it was the only badge in the list that wasn't clickable. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Fe1uKA17jDoXYiQk8hmnPa
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two badge fixes in the README header.
Coverage badge — #620 switched it from coveralls' own badge URL to the shields.io
coverallsCoverageendpoint. That endpoint now renderscoverage: invalid, because shields readshttps://coveralls.io/repos/github/mxschmitt/playwright-go.json, and that API is behind a Cloudflare "Just a moment..." interstitial:Coveralls' own badge URL does work — it 302s to S3 and lands on a real SVG:
So this reverts that badge back to the coveralls URL.
CI badge — it was the only badge in the header that wasn't a link. Switched to the current
/actions/workflows/build.yml/badge.svgform (the legacy/workflows/Go/badge.svgpath is deprecated) and linked it to the workflow's runs page.🤖 Generated with Claude Code
https://claude.ai/code/session_01Fe1uKA17jDoXYiQk8hmnPa