Public: anyone can read this; the crew can change it.
Connections: email_check.verified_at is read nowhere once #18222 lands, and is dropped when no release in play reads it #18327
Merged 5h 56m ago, live in production
Nothing in the code that decides whether an email is proven reads emailcheck.verifiedat any more. The column is kept rather than dropped, because the newest release, v0.7.744 (3eab8eb91), was cut before #18320.
-
Reviews
ApprovedClean. The reads were already moved by #18320; this renames the leftover result aliases to proven_at, so no code that answers whether an email is proven names email_check.verified_at. The column is kept because v0.7.744 still reads it, and the pull says so. The new tests cover an older release's stray verified_at proving nothing and a used link staying used. Nit, not blocking: the last two lines of the new describe block in test/verify.test.ts are mis-indented (
});then});). -
Checks
shipped production is serving it deploy f698c54
-
History
- Rewrap comments (gate --fix) a998ae9
- Connections: nothing that says an email is proven names email_check.verified_at (#18324) 02936ab
- Connections: one place says an email is proven, with the sign-in proof reading it (#18320) 181d662
- Talk opens on the conversation the person was in, at the place they left it (#18322) 3eab8eb
- Universal runner: a Mac registers itself, ships TestFlight from main with the forge's secrets, and has one switch (#18291) 08c168a
- Game door: the desk snapshot carries each player's allowed servers, from whoMayReach (#18325) 9b34956
- Connections 1: one list of proven identities on the account, with the proven email and the Minecraft link moved into it (#18168) 278b2e3
- Game door: one Talk engine for game chat, web and iOS (#18316) 8304196
- Game door: a read-only switch and a one-hour write window the owner opens with a second factor (#18304) 1235063
- Full suite red: 2 files in check run 01m91f4z6qq7gd3712hjm33z1r (#18315) 1f9f7ad
- Tab forge: serve the forge as the tab's own page in the hosted shell, no frame (#18306) d162615
- Connections: a Minecraft name is a second kind of proven connection beside email (#18227) 5948687
- Access 5c: the tab forge and the Apple app's on-device mode present the same visitor to a shared forge, so apps made without a login arrive owned (#18275) ec352f4
- Tab forge: making an app is refused ("not from this forge's own page") (#18267) b869757
- The release was held: could not cut the tag v0.7.741 (#18299) 4d3523d
- Tab forge: a real-browser walk makes an app and edits a file without 'Failed to fetch' (#18307) c343cd7
- Game door: each player sees and reaches only the servers their forge grant allows (#18301) 37e3d90
- Report key: an admin makes, rotates and revokes it through the JSON API, in the settings page's words (#18289) ff66ea0
- Tab forge: the whole tab, the whole forge, and this machine put to work (#18290) 8089d62
- Apple crash reports: the app's owner sees the groups on the telemetry view, is told once per new group, and /privacy says what a report holds (#18302) c6bd3f3
Nothing in the code that decides whether an email is proven reads email_check.verified_at any more. The column is kept rather than dropped, because the newest release, v0.7.744 (3eab8eb91), was cut before #18320. That release still reads and writes it in emailVerified, markVerified, consumeLink (verified_at IS NULL) and issueRecovery (verified_at IS NOT NULL). Dropping it during a roll would break sign-in on the old process (#875). The migration can follow once a release cut after #18320 replaces v0.7.744.
What changed
- #18320 had already moved the reads to the connection. In
src/core/roles.ts,proven_identities.ts,accounts.tsandpeople_rows.ts, the query result was still namedverified_at, even though its value now comes fromprovenEmailAt(the email connection'sproven_at). Those names are nowproven_at.grep -n verified_at src/core/verify.ts src/core/roles.tsfinds nothing. - The link lookups needed no change:
consumeLink,issueRecovery,recoveryOwnerandspendRecoveryalready tell a used link from an unused one by whether the account has a proven email connection. No migration was added.
New tests in test/verify.test.ts
- If the older release sets
verified_atduring a roll, that proves nothing: the sign-in check stays shut, the members list shows the person as unverified, and no recovery link is issued. - A used sign-in link cannot be used again, even after
verified_atis cleared, and the members list still shows the email as proven. - A check that the five files above never name
verified_at. This one fails without the change.
Checks
bun x tsc --noEmitpasses, andbun scripts/gate.tsreports 0 failures.scripts/fast.tsreached 3,969 test files, far over its time budget, so I picked 31 by hand (verify, identities, roles, people, accounts, the terminal's people screen, schema-additive). All 213 tests pass. The full suite runs on the forge's check.
No door: no page, action, route or MCP tool changed, only query result names and tests.
To try it: bun test test/verify.test.ts test/tui-people-verify.test.ts test/schema-additive.test.ts
🤖 Generated with Claude Code
Nothing in the code that decides whether an email is proven reads
email_check.verified_atany more. The column is kept rather than dropped, because the newest release, v0.7.744 (3eab8eb91), was cut before #18320. That release still reads and writes it inemailVerified,markVerified,consumeLink(verified_at IS NULL) andissueRecovery(verified_at IS NOT NULL). Dropping it during a roll would break sign-in on the old process (#875). The migration can follow once a release cut after #18320 replaces v0.7.744.What changed
src/core/roles.ts,proven_identities.ts,accounts.tsandpeople_rows.ts, the query result was still namedverified_at, even though its value now comes fromprovenEmailAt(the email connection'sproven_at). Those names are nowproven_at.grep -n verified_at src/core/verify.ts src/core/roles.tsfinds nothing.consumeLink,issueRecovery,recoveryOwnerandspendRecoveryalready tell a used link from an unused one by whether the account has a proven email connection. No migration was added.New tests in
test/verify.test.tsverified_atduring a roll, that proves nothing: the sign-in check stays shut, the members list shows the person as unverified, and no recovery link is issued.verified_atis cleared, and the members list still shows the email as proven.verified_at. This one fails without the change.Checks
bun x tsc --noEmitpasses, andbun scripts/gate.tsreports 0 failures.scripts/fast.tsreached 3,969 test files, far over its time budget, so I picked 31 by hand (verify, identities, roles, people, accounts, the terminal's people screen, schema-additive). All 213 tests pass. The full suite runs on the forge's check.No door: no page, action, route or MCP tool changed, only query result names and tests.
To try it:
bun test test/verify.test.ts test/tui-people-verify.test.ts test/schema-additive.test.ts🤖 Generated with Claude Code
Closes #18324