Skip to content

hotfix(build): loadBenchmark safe-fallback + HF Space short_description - #654

Merged
Flotapponnier merged 1 commit into
mainfrom
hotfix/build-quorum-fallback
Jun 22, 2026
Merged

hotfix(build): loadBenchmark safe-fallback + HF Space short_description#654
Flotapponnier merged 1 commit into
mainfrom
hotfix/build-quorum-fallback

Conversation

@Flotapponnier

Copy link
Copy Markdown
Collaborator

Two fixes bundled because both block the next prod-deploy.

Build crash on Prom blackout

loadBenchmark falls back to loadAllBenchmarks (strict) on per-slug cache miss. The strict aggregator throws AllBenchmarksDraftError when the quorum guard from #631 trips. Any next build during a Prom blackout was crashing (the latest #651 build hit this).

Both fallback sites in spec.ts now use loadAllBenchmarksSafe, which catches the throw and substitutes draft placeholders. Runtime behavior when Prom is healthy is unchanged.

HF Space deploy

short_description in scripts/hf_space/README.md was 86 chars, HF rejects anything > 60. Shortened to 46.

Tests

bun test src/lib/spec.test.ts 15/15 pass. pnpm typecheck clean.

…HF Space description

Two fixes bundled because both must land for the next prod-deploy to succeed.

loadBenchmark fell back to loadAllBenchmarks (strict) when the per-slug
cache miss happened. The strict aggregator throws AllBenchmarksDraftError
when the quorum guard from #631 trips, which crashes next build during
any Prom blackout. Both fallback sites now use loadAllBenchmarksSafe,
which substitutes draft placeholders for the same blackout. Behavior at
runtime is unchanged when Prom is healthy.

HF Space short_description was 86 chars, HF rejects anything > 60.
Shortened to 46.
@Flotapponnier
Flotapponnier merged commit b542a03 into main Jun 22, 2026
1 check passed
@Flotapponnier
Flotapponnier deleted the hotfix/build-quorum-fallback branch July 17, 2026 14:43
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