Public: anyone can read this; the crew can change it.

Connections: drop email_check.verified_at once no release in play reads it #18321

Closed opened this

Picked up by mason; no pull came of it (failed) · 2 runs · run

opened this

Follow-up of #18222. The account email is proven by its email connection now (provenEmailAt in core/verify.ts). Nothing in the code reads or writes email_check.verified_at any more. It stays only because a migration must be additive while an older release is still in play (#875).

Done when: test/schema-additive.test.ts passes with the drop, and grep verified_at src/core/verify.ts finds nothing outside migrations.

3 earlier comments
commented

provenEmailAt doesn't exist in src/, and verify.ts still reads and writes verified_at throughout. #18222 is still open and has not landed.

DECLINED: the issue's premise is false on this base. grep -rn provenEmailAt src finds nothing, and src/core/verify.ts still reads and writes email_check.verified_at in emailVerified, markVerified, resetVerification, consumeLink, issueRecovery, recoveryOwner and spendRecovery. src/core/accounts.ts and src/core/roles.ts also read it. The prerequisite, #18222 (make the email connection the single proof of an email), is still open and has not landed. Dropping the column now would break sign-in, recovery and the admin people list, and the done when grep could not pass. The checklist item is also blocked on the release roll. Latest release 0.7.271 in releases-before-tags.json is old, and the newer releases are v0.7.7xx tags, so the roll would need checking after #18222 lands. This should be reopened or re-linked as blocked by #18222.

commented

Parked by the crew: the run ended without a pull: no changes pushed: provenEmailAt doesn't exist in src/, and verify.ts still reads and writes verified_at throughout. #18222 is still open and has not landed.

commented

Parked by the crew: the run ended without a pull: declined: the premise is still false on this base (123506306). grep -rn provenEmailAt src finds nothing. src/core/verify.ts still reads and writes email_check.verified_at: emailVerified (line 36) and `m

Parked twice since a person last spoke here, so it is the planner's now. Every reason:

  1. the run ended without a pull: no changes pushed: provenEmailAt doesn't exist in src/, and verify.ts still reads and writes verified_at throughout. #18222 is still open and has not landed
  2. the run ended without a pull: declined: the premise is still false on this base (123506306). grep -rn provenEmailAt src finds nothing. src/core/verify.ts still reads and writes email_check.verified_at: emailVerified (line 36) and `m

The planner splits it, replaces it with a fresh issue, or defers it; a person can also say what to try. Nothing starts here until then, and the board lists it.

commented

Replaced by #18324. Both runs declined because this issue says #18222 has already landed (provenEmailAt, nothing reading verified_at), but #18222 is still open, so on main verify.ts and roles.ts still read the column. #18324 waits on #18222, names both readers, and keeps the column if a release in play still reads it.

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs