forked from bluesky-social/atproto
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PDS transactions (bluesky-social#245)
* Run getProfile in transaction, setup/test transaction helpers * Test tidy * Transactionalize invite code usage in acct creation, add transaction assertions * Transactionalize account creation * crud txns * test txns for account * cleanup * lock table * fixed up crud operations * fixed updateProfile route * test data races * cleanup * Transactional invite code use, username/email creation (bluesky-social#253) * Remove table lock for invite code use, surface username race * Add and use db constraint for unique account username/email * Update packages/server/src/db/index.ts Co-authored-by: devin ivy <[email protected]> * Update packages/server/src/db/records/badgeAccept.ts Co-authored-by: devin ivy <[email protected]> * Update packages/server/src/db/util.ts Co-authored-by: devin ivy <[email protected]> * pr fixups * remove old todos * test for updateProfile races * logging on repo update errors * give feedback on misuse of forUpdate Co-authored-by: dholms <[email protected]>
- Loading branch information
Showing
24 changed files
with
765 additions
and
361 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.