Skip to content

[BUG] Mastra Studio becomes blank / UI disappears intermittently after upgrading to latest stable version #12321

@mdsaifurrahmann

Description

@mdsaifurrahmann

Describe the Bug

After upgrading mastra-ai js to the latest stable version, Mastra Studio becomes unstable and intermittently renders a blank page.

What’s happening:

  • When clicking “New Chat”, the entire Studio UI vanishes and only a blank page is shown.
  • The same issue occurs when clicking on an Agent to start a chat.
  • During an ongoing conversation, especially while: executing tools, or interacting with working memory the UI suddenly disappears again.
  • Reloading the page 2–3 times usually restores the UI temporarily.
  • The issue keeps repeating during normal usage.
  • Also when clicking on existing chat, same thing occurs.

This behavior makes the Studio very difficult to use for real workflows.

In the browser Console:

main-CAygwauf.js:570 [Analytics]: Telemetry is disabled for browser constraints.
main-CAygwauf.js:9 Uncaught Error: Minified React error #300; visit https://react.dev/errors/300 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
    at Zre (main-CAygwauf.js:9:49149)
    at tM (main-CAygwauf.js:9:49036)
    at wM (main-CAygwauf.js:9:72068)
    at Gne (main-CAygwauf.js:9:82564)
    at kse (main-CAygwauf.js:9:118657)
    at kGe (main-CAygwauf.js:9:117676)
    at UM (main-CAygwauf.js:9:117503)
    at bse (main-CAygwauf.js:9:114240)
    at Lse (main-CAygwauf.js:9:126428)
    at vO (main-CAygwauf.js:9:124954)
Zre @ main-CAygwauf.js:9
tM @ main-CAygwauf.js:9
wM @ main-CAygwauf.js:9
Gne @ main-CAygwauf.js:9
kse @ main-CAygwauf.js:9
kGe @ main-CAygwauf.js:9
UM @ main-CAygwauf.js:9
bse @ main-CAygwauf.js:9
Lse @ main-CAygwauf.js:9
vO @ main-CAygwauf.js:9
Pse @ main-CAygwauf.js:9
Tse @ main-CAygwauf.js:9
xse @ main-CAygwauf.js:9
bse @ main-CAygwauf.js:9
Fse @ main-CAygwauf.js:9
z @ main-CAygwauf.js:2

Steps To Reproduce

  1. Upgrade or create new project with mastra-ai js to the latest stable version.

  2. Start Mastra Studio.

  3. Open the Studio in a browser.

  4. Click on “New Chat”.

  5. Observe that the entire UI disappears and a blank page is shown.

  6. Reload the page — in most cases, the UI reappears only after 2–3 reloads.

  7. Select an Agent to start a new chat.

  8. Observe the same blank page issue occurring again.

  9. Start a conversation with the agent.

  10. Trigger any of the following during the conversation:

    • Tool execution
    • Working memory read/write
  11. In the middle of execution, observe that the Studio UI suddenly vanishes again.

  12. Reload the page multiple times to recover the UI.

Reproducibility

  • Occurs frequently / intermittently
  • More likely during tool execution or working memory operations

Link to Minimal Reproducible Example

https://github.com/mdsaifurrahmann/mastra-studio-bug-reproduce.git

Expected Behavior

  • Mastra Studio should remain stable and consistently rendered.

  • Clicking New Chat or selecting an Agent should not cause the UI to disappear.

  • Tool execution and working memory operations should not crash or blank the Studio UI.

  • The page should not require multiple reloads to recover.

Environment Information

Browser: Brave (1.86.142), Chromium: 144.0.7559.97
LLM: anthropic/claude-3-haiku-20240307
System:
    OS: macOS 26.2
    CPU: (8) arm64 Apple M1
    Memory: 133.28 MB / 8.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 24.12.0 - /Users/mdsaifurrahmann/.nvm/versions/node/v24.12.0/bin/node
    npm: 11.7.0 - /Users/mdsaifurrahmann/.nvm/versions/node/v24.12.0/bin/npm
    pnpm: 10.27.0 - /Users/mdsaifurrahmann/.nvm/versions/node/v24.12.0/bin/pnpm
    bun: 1.3.4 - /Users/mdsaifurrahmann/.bun/bin/bun
  Browsers:
    Brave Browser: 144.1.86.142
    Safari: 26.2
  npmPackages:
    @arcadeai/arcadejs: ^1.15.0 => 1.15.0 
    @mastra/core: ^1.0.4 => 1.0.4 
    @mastra/evals: ^1.0.0 => 1.0.0 
    @mastra/fastembed: ^1.0.0 => 1.0.0 
    @mastra/libsql: ^1.0.0 => 1.0.0 
    @mastra/loggers: ^1.0.0 => 1.0.0 
    @mastra/memory: ^1.0.0 => 1.0.0 
    @mastra/observability: ^1.0.0 => 1.0.0 
    @types/node: ^25.0.9 => 25.0.9 
    mastra: ^1.0.1 => 1.0.1 
    typescript: ^5.9.3 => 5.9.3 
    zod: ^3.25.76 => 3.25.76 
  npmGlobalPackages:
    corepack: 0.34.5
    npm: 11.7.0
    pnpm: 10.25.0
    pnx: 0.3.1

Verification

  • I have searched the existing issues to make sure this is not a duplicate
  • I have included sufficient information for the team to reproduce and understand the issue

https://github.com/user-attachments/assets/261586bb-47f7-4402-b516-8b4bc8bb9a07
https://github.com/user-attachments/assets/bddb6d3d-0d84-4691-a93d-210c52b0c489
https://github.com/user-attachments/assets/67dde122-26ed-409a-80e0-77a96c28974f
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions