Skip to content

test(e2e): probe Mosaic profiles under React concurrent features - #10424

Draft
alexcarpenter wants to merge 1 commit into
mainfrom
carp/mosaic-profiles-e2e
Draft

alexcarpenter wants to merge 1 commit into
mainfrom
carp/mosaic-profiles-e2e

Conversation

@alexcarpenter

Copy link
Copy Markdown
Member

Description

Not for merge. This exports UserProfile and OrganizationProfile temporarily, so e2e tests can run them under React 19 concurrent features and surface bugs to fix.

integration/tests/mosaic/concurrency.test.ts puts UserProfile, OrganizationProfile and the UserButton popup in a host harness (concurrency-harness.tsx). The harness drives host transitions, <Activity> hide/show, a re-suspending host <Suspense>, and Next.js navigations.

Seven tests fail on main, from two bugs:

  • Freeze deadlocks a host transition (4 tests, both profiles). Open a custom page, drop it from customPages, then restore it inside startTransition or with a Next.js <Link>. The navigation never commits. The outgoing tab panel freezes inside the transition, and Freeze throws a promise that never settles. With Freeze's suspension disabled, these tests pass.
  • <Activity> resets machine-backed flows (3 tests). Hiding and showing the surface drops the add-email verify step and closes the delete-organization confirm and the UserButton popup. With the machine changes from fix(mosaic): resume machine actors after stop instead of resetting them #10341 applied, all three pass.

Checklist

  • pnpm test runs as expected.
  • pnpm build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other: e2e probe, not for merge

@vercel

vercel Bot commented Oct 26, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated
clerk-js-sandbox Ready Ready Preview Oct 26, 2026 2:12pm UTC
swingset Ready Ready Preview Oct 26, 2026 2:12pm UTC

Request Review

@changeset-bot

changeset-bot Bot commented Oct 26, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: d43c6d9

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@clerk/mosaic Patch
@clerk/swingset Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@coderabbitai

coderabbitai Bot commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@pkg-pr-new

pkg-pr-new Bot commented Oct 26, 2026

Copy link
Copy Markdown

Open in StackBlitz

@clerk/astro

npm i https://pkg.pr.new/@clerk/astro@10424

@clerk/backend

npm i https://pkg.pr.new/@clerk/backend@10424

@clerk/chrome-extension

npm i https://pkg.pr.new/@clerk/chrome-extension@10424

@clerk/clerk-js

npm i https://pkg.pr.new/@clerk/clerk-js@10424

@clerk/electron

npm i https://pkg.pr.new/@clerk/electron@10424

@clerk/electron-passkeys

npm i https://pkg.pr.new/@clerk/electron-passkeys@10424

@clerk/eslint-plugin

npm i https://pkg.pr.new/@clerk/eslint-plugin@10424

@clerk/expo

npm i https://pkg.pr.new/@clerk/expo@10424

@clerk/expo-biometrics

npm i https://pkg.pr.new/@clerk/expo-biometrics@10424

@clerk/expo-google-signin

npm i https://pkg.pr.new/@clerk/expo-google-signin@10424

@clerk/expo-native-components

npm i https://pkg.pr.new/@clerk/expo-native-components@10424

@clerk/expo-passkeys

npm i https://pkg.pr.new/@clerk/expo-passkeys@10424

@clerk/express

npm i https://pkg.pr.new/@clerk/express@10424

@clerk/fastify

npm i https://pkg.pr.new/@clerk/fastify@10424

@clerk/hono

npm i https://pkg.pr.new/@clerk/hono@10424

@clerk/localizations

npm i https://pkg.pr.new/@clerk/localizations@10424

@clerk/mosaic

npm i https://pkg.pr.new/@clerk/mosaic@10424

@clerk/nextjs

npm i https://pkg.pr.new/@clerk/nextjs@10424

@clerk/nuxt

npm i https://pkg.pr.new/@clerk/nuxt@10424

@clerk/react

npm i https://pkg.pr.new/@clerk/react@10424

@clerk/react-router

npm i https://pkg.pr.new/@clerk/react-router@10424

@clerk/shared

npm i https://pkg.pr.new/@clerk/shared@10424

@clerk/tanstack-react-start

npm i https://pkg.pr.new/@clerk/tanstack-react-start@10424

@clerk/testing

npm i https://pkg.pr.new/@clerk/testing@10424

@clerk/ui

npm i https://pkg.pr.new/@clerk/ui@10424

@clerk/upgrade

npm i https://pkg.pr.new/@clerk/upgrade@10424

@clerk/vue

npm i https://pkg.pr.new/@clerk/vue@10424

commit: d43c6d9

This branch was successfully deployed

2 active deployments
Preview – swingset — d43c6d96 Deployed Oct 26, 2026 by vercel[bot]
Preview – clerk-js-sandbox — d43c6d96 Deployed Oct 26, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant