Repository navigation
fix(github-stars): authenticate preload and don't fail the build on error - #1281
Merged
Merged
Conversation
✅ Deploy Preview for dreamy-golick-5f201e ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
🔎 Structured data validation
✅ All checks pass and no authoring warnings to backfill. ⚙️ Generated by |
…rror The plugin called the GitHub API anonymously, sharing a 60/hour limit per IP with every other build on the Netlify machine. Rate-limit 403s failed the production build for af7225c, so the 2026-09-30 meeting pages never deployed. Pass GITHUB_TOKEN to Octokit, and treat a failed preload as a warning: the client already fetches star counts at runtime when nothing was preloaded. Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Liam Randall <liam@cosmonic.com>
LiamRandall
force-pushed
the
fix/github-stars-auth
branch
from
October 2, 2026 22:48
a2b33af to
568c7a1
Compare
Member
Author
|
Fixing CI upstream |
LiamRandall
enabled auto-merge (rebase)
October 2, 2026 22:49
jfleitz
approved these changes
Oct 2, 2026
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.
The production deploy of af7225c (2026-09-30 meeting pages) failed on Netlify with a GitHub API rate-limit 403 from
docusaurus-github-stars. The plugin callednew Octokit()without auth, so theGITHUB_TOKENenv var set on Netlify was never used, and every build shared the anonymous 60/hour per-IP limit.process.env.GITHUB_TOKENto Octokit.Tested: a full
npm run buildwith an invalid token logs[WARNING] Failed to preload repo data … Bad credentialsand completes with[SUCCESS].Merging this triggers a production deploy, which publishes the 9/30 meeting pages.
Co-Authored-By: Claude noreply@anthropic.com