Fix star history chart with sealed_token embed - #368
Merged
Conversation
netbrain
force-pushed
the
fix/star-history-sealed-token
branch
from
July 22, 2026 11:48
1452474 to
24e0dc7
Compare
Replaced old star history chart HTML with a markdown image link.
Collaborator
|
It's working again now. Maybe just keep it as is for a while? If it turns out to be down most of the time, we can remove it later. Maybe in the meantime star-history also comes up with a more reliable solution. |
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.
Background
GitHub now requires authentication on the stargazers endpoint. Anonymous
GET /repos/netbrain/zwift/stargazersreturns HTTP 401, so the old anonymous star-history embed returns HTTP 500 and no longer renders in the README.Change
Switch the star history section to star-history's
sealed_tokenembed. The sealed token is an encrypted wrapper around a metadata-read-only token; the raw PAT is not exposed and GitHub secret scanning does not match it, so it is safe to commit in a public README.Note
Rendering depends on star-history's service. During testing it intermittently returned
timeout of 10000ms exceeded(server-side, not a token error). Confirm the chart renders before relying on the merge.Closes #367