Skip to content

feat(docs): add a general configuration guide eval - #532

Merged
awaseem merged 6 commits into
mainfrom
aliwaseem/docs-1643-add-a-docs-eval-for-authgeneral
Nov 23, 2026
Merged

awaseem merged 6 commits into
mainfrom
aliwaseem/docs-1643-add-a-docs-eval-for-authgeneral

Conversation

@awaseem

@awaseem awaseem commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

Adds build-docs-024-general-configuration for DOCS-1643.

The ticket's claim was "sign-ups can be turned off and sessions tuned". The page only links out to sessions, so I narrowed it to what the page actually teaches: close sign-ups without locking out anyone who already has an account.

I confirmed the claim against Auth v2.196.0 and CLI 2.117.0. There are two ways to get it wrong, and the page doesn't warn about either:

The seed is a closed beta with two confirmed testers, two who never confirmed, and two strangers. The scorer restarts the stack, tries to make new accounts, logs in as everyone, and checks the testers kept the same account id. Mailpit runs so an open sign-up actually creates the account.

I ran six example solutions against a real stack, and every one scored as predicted:

Solution Result
correct all pass
sign-ups closed + confirmation off (what the page suggests) unconfirmed testers locked out
[auth.email] enable_signup = false every tester locked out
confirm every account strangers get in
delete and recreate the testers new account ids
nothing new accounts get made, unconfirmed testers locked out

I also moved the stack restart and status helpers from the redirect URLs eval into evals/docs/lib/local-stack.ts, since this is the second eval to use them. No check names changed there, and I reran its harness after the move.

Heads up: #525 also uses id 018, which clashes with the merged redirect URLs eval.

Baseline will come from CI. Would love any feedback!

🤖 Generated with Claude Code

Closes sign-ups on a closed beta and checks existing testers keep their
accounts. Lifts the stack restart and status helpers from the redirect URLs
eval into evals/docs/lib/local-stack.ts.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@awaseem
awaseem requested a review from a team as a code owner November 19, 2026 13:39
@awaseem awaseem added the run-evals-changed Add to a PR to refresh only the benchmark evals that have had changes label Nov 19, 2026
@vercel

vercel Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

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

1 Skipped Deployment
Project Deployment Actions Updated
evals Ignored Ignored Preview Nov 23, 2026 1:41pm UTC

Request Review

…dd-a-docs-eval-for-authgeneral

# Conflicts:
#	apps/web/src/data/docs-eval-results.json
…val-for-authgeneral' into aliwaseem/docs-1643-add-a-docs-eval-for-authgeneral

# Conflicts:
#	apps/web/src/data/docs-eval-results.json
@awaseem
awaseem merged commit daaf3f3 into main Nov 23, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

run-evals-changed Add to a PR to refresh only the benchmark evals that have had changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants