release: 0.6.0 — auto-refresh (scheduled rescoring)#7
Merged
Conversation
Adds a 6-hourly GitHub Actions cron that re-runs `bun run seed` and commits the refreshed `data/rank.db` to `main`. Surfaces the overall-score delta from the previous rescore on the repo detail page. Downscoped from the original webhook + queue design — see tasks/0.6.0/01-scheduled-rescoring.md for the rationale. Pieces: - .github/workflows/scheduled-rescore.yml — cron + concurrency group + sqlite3-snapshot diff so unchanged-score runs skip the commit (last_scored_at churn would otherwise force a binary diff). - lib/db.ts — new `previous_overall_score REAL` column; the UPSERT captures the row's pre-update overall_score on every rescore. - lib/types/db.ts — extracted shared row-shape types out of lib/db.ts (RepoRow, LeaderboardRow, …). Consumers now import from @/lib/types/db. - components/RepoHero.tsx — inline `+N.N pts` / `-N.N pts` next to "Last scored" in text-ok / text-bad; aria-label carries the previous absolute score for screen readers. - scripts/seed-list.ts — 16 new seed repos across JS/TS, Python, Rust, Go, Java, Ruby, and .NET so the cron has more material. - data/rank.db — re-seeded against the new schema. SEO + polish bundled in: - app/layout.tsx — googleBot robots directives (max-image-preview=large, max-snippet=-1, max-video-preview=-1) and OG image dimensions corrected to the actual file size (2312×924). - components/Panel.tsx — PanelHeading rendered as h2 (was h3) so every page has a clean h1 → h2 heading hierarchy. - app/sitemap.ts — privacy / terms now use a fixed LEGAL_LAST_UPDATED date instead of `now`, so legal pages don't churn lastmod on every deploy. Docs sync: - AGENTS.md, README.md, CONTRIBUTING.md, methodology FAQ, roadmap entry, tasks/0.5.0/02, tasks/1.0.0/01-02, and the SessionStart hook updated to reference the scheduled-rescore cron instead of the deferred webhook design. APP_VERSION stays at 0.5.0 — 0.6.0 still has task 02 (alternatives v2 embeddings) outstanding, so no changelog bucket yet. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- Bump APP_VERSION / package.json to 0.6.0 and add the 0.6.0 changelog entry (scheduled rescoring + repo-page score delta + 16 new seeds). - Remove 0.6.0 from lib/roadmap.ts (released) and mark 0.6.0/02 (alternatives-v2 embeddings) deferred to backlog with the rationale and lighter-weight options. - Sync AGENTS.md status block, .claude/settings.json SessionStart banner, tasks/0.6.0/README.md, and the stale 0.3.0 references that pointed at the deferred v2 upgrade. - Add a dedicated home-route opengraph-image.tsx (1200x630) and add a `deferred` status to tasks/README.md. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Agent Friendly Code — score diffOverall: 90.7 → 90.7 (±0.0) Per model
No signals changed between base and head. Posted by agent-friendly-action. |
…ards Extract OG_DEFAULTS and TWITTER_DEFAULTS in lib/version.ts and spread them into every page's metadata — Next.js shallow-merges these objects, so defaults must be re-spread on every page. Drop the inline /demo/light.png override from the root layout in favour of the auto-wired app/opengraph-image.tsx, and add matching twitter-image.tsx re-exports at app/ and app/repo/[id]/ so the Twitter card uses the same generated image. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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
Cuts 0.6.0 — auto-refresh. Ships the single user-facing capability the
milestone was named for, and defers the v2 alternatives item with a
written-down rationale.
.github/workflows/scheduled-rescore.ymlrunsbun run seedevery 6 hours, commitsdata/rank.dbtomainonly when anoverall_scoreactually changed (last_scored_at churn filtered out via asqlite3 snapshot diff). No new infra, no new deps.
repo.previous_overall_scorecapturedfor free on every UPSERT.
RepoHeroinlines±N.N ptsnext to "Lastscored", hidden on a repo's first scoring.
.NET.
demand, pre-traction scale hurts cosine-similarity quality, and
@xenova/transformers(~50 MB) would bloat both siblingdist/s.Lighter-weight options noted in the task file.
AGENTS.md,.claude/settings.json,tasks/0.6.0/README.md, methodology FAQ,/roadmapdescription, and thestale
tasks/0.3.0/references.app/opengraph-image.tsx(1200×630),/llms.txtadded to sitemap,Panelheadingh3 → h2, shared row-shapetypes extracted to
lib/types/db.ts.Audit before cutting
bun x tsc --noEmitclean, 160/160 tests pass..envgitignored; only.env.example(placeholders) in git. No tokens /keys / passwords in source. Workflow uses
secrets.GITHUB_TOKEN.package.json,lib/version.ts,README.md,AGENTS.md,.claude/settings.json.lib/roadmap.tsin this PR.