Repository navigation
Seed hsnice16/tula; stop live score reporting real repos as missing - #14
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Agent Friendly Code — score diffOverall: 91.0 → 91.0 (±0.0) Per model
No signals changed between base and head. Posted by agent-friendly-action. |
A 401 from a stale GITHUB_TOKEN returned null, which the page renders as "No such public repository" and caches for an hour. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch was successfully deployed
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.
Summary
hsnice16/tulato the seed set.Motivation
With an expired
GITHUB_TOKEN, GitHub answers every lookup with 401.resolveCommitturned that intonull, so every unindexed repo rendered as nonexistent, andunstable_cachepinned that for an hour.Changes
scripts/seed-list.ts: tula entry.lib/live-score/hosts.ts:resolveCommitreturns null only on 404 (and 409, GitHub's empty repo); other failures throw. The three host branches share one fetch path.tests/live-score.test.ts: covers 200 / 404 / 409 / 401 / 403.Testing
bun run test(199 pass),tsc --noEmit, Biome.resolveCommitwith an invalid token returnedNULLforhsnice16/tula.Docs + roadmap sync
Risks / rollback
Hosts that answer a missing repo with something other than 404 would now hit the error page instead of the "no such repo" message. Revert the hosts.ts commit to roll back.
🤖 Generated with Claude Code