docs: Drop the branch from the coverage badge - #194
Open
krlmlr wants to merge 1 commit into
Open
Conversation
krlmlr
force-pushed
the
claude/pkgdown-harmonization
branch
from
September 13, 2026 16:55
b559993 to
c3548b5
Compare
krlmlr
force-pushed
the
claude/badge-harmonization
branch
from
September 13, 2026 16:55
7293653 to
0164654
Compare
Two URLs make up the badge and they had drifted apart: the image is
served from the bare `codecov.io` host, the link opens the UI on
`app.codecov.io`. Both are brought to their current form.
The branch is dropped from the image URL rather than pinned to `main`. A
branch-pinned badge keeps reporting the branch it names, so it goes
stale silently the next time a branch is renamed -- which is how several
badges in this fleet came to report a branch that no longer exists.
Without one, codecov reports the default branch and the badge follows a
rename on its own.
The link moves to `/tree/main`, the address the `?branch=` query
redirects to.
image codecov.io/gh/<owner>/<repo>/graph/badge.svg
link app.codecov.io/gh/<owner>/<repo>/tree/main
The owner and repository are carried over from the URL being rewritten,
so this cannot retarget a badge at a different project.
The badge block is pass-through markdown, so `README.md` and `index.md`
carry the identical edit rather than a re-render.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WWhverMTZZKgEpUuTK117m
krlmlr
force-pushed
the
claude/badge-harmonization
branch
from
September 13, 2026 20:36
0164654 to
d37ad91
Compare
krlmlr
force-pushed
the
claude/pkgdown-harmonization
branch
from
September 13, 2026 20:36
c3548b5 to
93616ea
Compare
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 URLs make up the coverage badge and they had drifted apart: the image is served from the bare
codecov.iohost, the link opens the UI onapp.codecov.io. Both are brought to their current form.The branch is dropped from the image URL rather than pinned to
main. A branch-pinned badge keeps reporting the branch it names, so it goes stale silently the next time a branch is renamed — which is how several badges in this fleet came to report a branch that no longer exists. Without the pin, codecov reports the default branch and the badge follows a rename on its own.The link moves to
/tree/main, the address the?branch=query redirects to.The owner and repository are carried over from the URL being rewritten, so this cannot retarget a badge at a different project. The badge block is pass-through markdown, so
README.mdandindex.mdcarry the identical edit rather than a re-render; that equivalence was checked against a real render — on this very repository — before the change was applied across the fleet.This is part of a fleet-wide badge harmonization. Stacked on #193, which this PR targets, so the diff is the badge change alone.
🤖 Generated with Claude Code
https://claude.ai/code/session_01WWhverMTZZKgEpUuTK117m