Skip to content

(bug) Jotai "store mutation during atom read" warning in the agent playground #5344

Description

@mmabrouk

The browser console persistently logs Detected store mutation during atom read. This is not supported. in the agent playground. This is a state-management anti-pattern that can cause intermittent UI state corruption.

Context

Found while root-causing the Advanced-drawer bug during the v0.105.0 release-night QA (2026-07-14). The drawer bug itself turned out to be a separate webpack IgnorePlugin issue, fixed in #5323. This Jotai warning is unrelated and remains after that fix.

Steps to reproduce

  1. Open the agent playground.
  2. Open the browser console.
  3. Interact with the playground (drives atom reads/writes).
  4. Observe repeated Detected store mutation during atom read. This is not supported. warnings.

Evidence

docs/design/agent-workflows/projects/qa/ui-exploration-20260714.md on branch qa-prerelease-agent-runtime (console captures).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions