fix(roast): remove BotID availability gate#147
Merged
hikariming merged 1 commit intoJul 20, 2026
Conversation
|
@AsperforMias is attempting to deploy a commit to the hikariming's projects Team on Vercel. A member of the Team first needs to authorize it. |
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.
Incident
Production BotID classified real interactive browser requests to
POST /api/roastas bots and returned403 bot_detectedbefore the roast route reached its LLM, cache, or trace logging. This presented as an indefinitely preheating roast modal even though the model provider was healthy.Change
POST /api/roastonly.POST /api/vs-verdict.Scope
No score formula, score/roast/collection version, quick-scan behavior, legacy fallback, queue/worker behavior, database schema, or cache policy changes.
Verification
pnpm exec vitest run src/app/api/roast/route.test.ts src/app/api/vs-verdict/route.test.tspnpm typecheckpnpm lintpnpm versions:check(v9/v9/v4, canonical)pnpm buildpnpm test(66 files, 501 tests)git diff --checkProduction smoke after deployment
From a normal browser, submit a roast and confirm
POST /api/roastreturns200and the event stream completes. A403 bot_detectedmust no longer be possible on this endpoint; it remains expected only for the VS verdict endpoint.