Repository navigation
The worker gives accounts from before their starter Lists - #186
Merged
Merged
Conversation
They were made the first time an account's Lists were read, so someone who only used the share sheet, or whose AI looked first, did not see Favourites and Ideas until they opened Lists. Now each tick gives them to a few accounts that have none yet (never one made in the last ten minutes: its sign-up is still giving it the Lists and the posts). The claim is the same one, so nobody gets a second set. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Chg7BD2Sf1yNRFCX24or7B Signed-off-by: NiallJoeMaher <nialljoemaher@gmail.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
NiallJoeMaher
added a commit
that referenced
this pull request
Nov 24, 2026
It has done its job: every account from before now has Favourites and Ideas, and none is left without the claim. A new account gets its Lists and posts at sign-up, and reading Lists still gives them to any account that somehow has none. This reverts #186, so the per-minute query goes. Claude-Session: https://claude.ai/code/session_01Chg7BD2Sf1yNRFCX24or7B Signed-off-by: NiallJoeMaher <nialljoemaher@gmail.com> Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
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.
Summary
Until now an account from before got Favourites and Ideas the first time its Lists were read. Someone who only used the share sheet, or whose AI looked first, did not see them until they opened Lists. The worker now gives them, twenty accounts a tick, so every account has them within minutes of this deploying. Reading Lists still gives them too; the claim makes sure nobody gets two sets.
An account made in the last ten minutes is passed by: its sign-up is still giving it the Lists and the two posts, and the worker must not get there first and leave it with the Lists only.
Evidence
After:
starters.test.ts, "the worker gives accounts from before their Lists unasked": two accounts, one with its own Ideas already. A run now gives nothing (both just made). A run an hour on gives one Favourites and Ideas, the other Favourites only (no twin Ideas), nothing in either Inbox, and a further run finds no one left.account.test.ts, two-user test forwithoutStarters: a claim takes one account off the list and leaves the other; a new account is not on it.Merge Danger
Door: one-way, mildly
Blast Radius: accounts
On deploy, every existing account without the starter Lists gets two empty private Lists, sorted under its own. They are ordinary Lists and can be deleted, but they cannot be un-given in bulk. They are left out of the weekly email, as before. One more small query runs on every tick.
🤖 Generated with Claude Code
https://claude.ai/code/session_01Chg7BD2Sf1yNRFCX24or7B