Skip to content

[Bug]: "Run component tests" panel stuck on "Starting..." with UniversalStoreFollowerTimeoutError on Windows (10.5.7) #35864

Description

@michele-ines

Describe the bug

The "Run component tests" panel in the Storybook UI gets stuck on "Starting..." and never runs tests.

The console shows:

  • SB_MANAGER_UNIVERSAL-STORE_0001 (UniversalStoreFollowerTimeoutError)
  • Timed out waiting for leader state for UniversalStore follower with id: 'storybook/test-provider'
  • Error: Failed to start test runner process

This happens on a fresh npm install with Storybook 10.5.7. Downgrading to 10.4.6 fixes the issue completely.

Related: #33575

Reproduction link

https://github.com/zhanganderson/react-vite-storybook-vitest.git

Reproduction steps

The "Run component tests" panel in the Storybook UI gets stuck on "Starting..." and never runs tests.

The console shows:

  • SB_MANAGER_UNIVERSAL-STORE_0001 (UniversalStoreFollowerTimeoutError)
  • Timed out waiting for leader state for UniversalStore follower with id: 'storybook/test-provider'
  • Error: Failed to start test runner process

This happens on a fresh npm install with Storybook 10.5.7. Downgrading to 10.4.6 fixes the issue completely.

Related: #33575

System

npx storybook@latest info

Additional context

  • Works perfectly on Storybook 10.4.6
  • The CLI test runner (vitest run --project=storybook) works fine on 10.5.7 — only the embedded UI widget is broken
  • Likely a race condition: the 1-second timeout in UniversalStore follower (chunk-XYZ5NBEV.js:459) is too short on Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    addon: vitestbugsev:S2High priority. Fix within weeks.upgrade:10.5Issues/PRs found during 10.5 upgrade QA and post-release regressionswindowsIssues related to Windows.

    Type

    No type

    Projects

    Status
    Ready for work

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions