Skip to content

Conversation

@gdorsi
Copy link
Collaborator

@gdorsi gdorsi commented Jan 2, 2026

While debugging an issue I've found that when signing up with Clerk the user also goes through the logIn flow, creating a new context and interrupting the previous sync ops.

@vercel
Copy link

vercel bot commented Jan 2, 2026

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

Project Deployment Review Updated (UTC)
clerk-demo Ready Ready Preview, Comment Jan 2, 2026 1:19pm
design-system Ready Ready Preview, Comment Jan 2, 2026 1:19pm
file-upload-demo Ready Ready Preview, Comment Jan 2, 2026 1:19pm
form-demo Ready Ready Preview, Comment Jan 2, 2026 1:19pm
gcmp-homepage Ready Ready Preview, Comment Jan 2, 2026 1:19pm
image-upload-demo Ready Ready Preview, Comment Jan 2, 2026 1:19pm
jazz-chat Ready Ready Preview, Comment Jan 2, 2026 1:19pm
jazz-chat-1 Ready Ready Preview, Comment Jan 2, 2026 1:19pm
jazz-chat-2 Ready Ready Preview, Comment Jan 2, 2026 1:19pm
jazz-filestream Ready Ready Preview, Comment Jan 2, 2026 1:19pm
jazz-image-upload Ready Ready Preview, Comment Jan 2, 2026 1:19pm
jazz-inspector Ready Ready Preview, Comment Jan 2, 2026 1:19pm
jazz-multi-cursors Ready Ready Preview, Comment Jan 2, 2026 1:19pm
jazz-nextjs Ready Ready Preview, Comment Jan 2, 2026 1:19pm
jazz-organization Ready Ready Preview, Comment Jan 2, 2026 1:19pm
jazz-paper-scissors Ready Ready Preview, Comment Jan 2, 2026 1:19pm
jazz-richtext Ready Ready Preview, Comment Jan 2, 2026 1:19pm
jazz-todo Ready Ready Preview, Comment Jan 2, 2026 1:19pm
jazz-vector-search Ready Ready Preview, Comment Jan 2, 2026 1:19pm
jazz-version-history Ready Ready Preview, Comment Jan 2, 2026 1:19pm
music-demo Ready Ready Preview, Comment Jan 2, 2026 1:19pm
passkey-demo Ready Ready Preview, Comment Jan 2, 2026 1:19pm
passphrase-auth-demo Ready Ready Preview, Comment Jan 2, 2026 1:19pm
quint-ui Ready Ready Preview, Comment Jan 2, 2026 1:19pm
1 Skipped Deployment
Project Deployment Review Updated (UTC)
jazz-homepage Ignored Ignored Preview Jan 2, 2026 1:19pm

@@ -1,5 +1,6 @@
Released Jazz 0.19.16:
- Improved sync timeout error messages to include known state, peer state, and any error information when waiting for sync times out
- Bugfix: fixed a race condition in Clerk auth where the signup flow could trigger a duplicate login attempt
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this needed? I thought our release process took care of updating this file

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it only updates the individual changelogs in each package.

The result is unreadable, and can't be used when publishing on discord, so I've started to manually keep track of the changes to release here.

Comment on lines +56 to +59
private previousUser: Pick<
NonNullable<MinimalClerkClient["user"]>,
"unsafeMetadata"
> | null = null;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: I'd extract the repeated type into a named type

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trying to clean up the module, there is a bit of unnecessary code that's here for tech debt.

Going to do it in a follow-up PR, so I can release this fix ASAP.

@gdorsi gdorsi merged commit 8537360 into main Jan 2, 2026
39 checks passed
@gdorsi gdorsi deleted the feat/better-waitforsyncerrors branch January 2, 2026 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants