Skip to content

Seed hsnice16/tula; stop live score reporting real repos as missing - #14

Merged
hsnice16 merged 2 commits into
mainfrom
chore/seed-tula
Oct 1, 2026
Merged

hsnice16 merged 2 commits into
mainfrom
chore/seed-tula

Conversation

@hsnice16

@hsnice16 hsnice16 commented Oct 1, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Adds hsnice16/tula to the seed set.
  • Live Score no longer says "No such public repository" for a real repo when the host rejects our token; it shows the retryable error page instead, and nothing is cached.

Motivation

With an expired GITHUB_TOKEN, GitHub answers every lookup with 401. resolveCommit turned that into null, so every unindexed repo rendered as nonexistent, and unstable_cache pinned that for an hour.

Changes

  • scripts/seed-list.ts: tula entry.
  • lib/live-score/hosts.ts: resolveCommit returns 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.
  • Reproduced the original bug: resolveCommit with an invalid token returned NULL for hsnice16/tula.

Docs + roadmap sync

  • N/A — bug fix and seed data; no changelog entry.

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

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
agent-friendly-code Ready Ready Preview Oct 1, 2026 4:10am UTC

@github-actions

github-actions Bot commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

Agent Friendly Code — score diff

Overall: 91.0 → 91.0 (±0.0)

Per model

Model Base Head Δ
Claude Code 95.3 95.3 ±0.0
Cursor 85.5 85.5 ±0.0
Devin 94.8 94.8 ±0.0
GPT-5 Codex 96.3 96.3 ±0.0
Kimi CLI 96.1 96.1 ±0.0
Gemini CLI 85.5 85.5 ±0.0
Aider 83.1 83.1 ±0.0
OpenHands 85.4 85.4 ±0.0
Pi 96.6 96.6 ±0.0

No signals changed between base and head.


Posted by agent-friendly-action.

@hsnice16 hsnice16 changed the title Add hsnice16/tula to the seed list Seed hsnice16/tula; stop live score reporting real repos as missing Oct 1, 2026
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>
@hsnice16
hsnice16 merged commit 3bc09e0 into main Oct 1, 2026
5 checks passed
@hsnice16
hsnice16 deleted the chore/seed-tula branch October 1, 2026 04:10

This branch was successfully deployed

1 active deployment
Preview — 045153bf Deployed Oct 1, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant