Skip to content

[Bug]: Android work-log list crashes with "Maximum update depth exceeded" during active subagent work #34031

Closed

Description

@Church54711

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/mobile

Steps to reproduce

A deterministic minimal reproduction has not yet been isolated. Observed scenario:

  1. Use the T3 Code Android app to view a long-running thread connected to a Windows host.
  2. The thread has a running Claude Agent turn with an active helper/subagent producing tool activity.
  3. The mobile thread view fails with Maximum update depth exceeded. The component stack runs through ThreadWorkGroupList and its nested AnimatedLegendList, under a DisclosureRow.

The thread had approximately 2,633 top-level timeline items across 50 runs when inspected. The active helper had performed over 100 tool uses. These are context, not established reproduction requirements. The exact gesture or update immediately preceding the error (opening, expanding, scrolling, or a streamed update) is unknown.

Expected behavior

The Android thread view remains usable while the agent and its helper stream tool activity.

Actual behavior

React throws an update-depth error in the mobile work-log list.

Read-only inspection of the host immediately afterward confirmed that the affected run and its helper were still running, with fresh tool results and a subsequent test-game launch in the provider log. The failure therefore affected the client display while backend work continued.

No host restart, thread interruption, data deletion, or configuration changes were performed during diagnosis.

Impact

Major degradation or frequent failure

The affected Android thread view fails; backend work continues. Reproduction frequency has not been established.

Version or commit

Windows host desktop/server installation: 0.1.9-nightly.20261110.4465, read from the host's desktop-last-started-version.

Android client version/build and commit: not yet captured. The host version should not be treated as the Android client version.

Environment

  • Client: native T3 Code Android app (com.t3tools.t3code), Expo bundle.
  • Phone model and Android version: not yet captured.
  • Host: Windows; T3 Code Nightly.
  • Provider: Claude Agent, with an active helper/subagent.
  • Observed November 10, 2026, around 19:15–19:17 UTC.

Logs or stack traces

Relevant excerpt of the user-visible error below. Identical repeated frames are abbreviated; bundle offsets are retained.

Error: Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.
    at enqueueConcurrentRenderForLane (bundle:1:2656200)
    at updateStoreInstance (bundle:1:2662076)
    at commitHookEffectListMount (bundle:1:2694735)
    at commitPassiveMountOnFiber (bundle:1:2707897)
    at recursivelyTraversePassiveMountEffects (bundle:1:2706866)
    ... repeated passive-mount traversal frames; original trace skips 602 frames ...
    at flushPassiveEffects (bundle:1:2727716)
    at flushPendingEffects (bundle:1:2727499)
    at flushSpawnedWork (bundle:1:2727214)
    at commitRoot (bundle:1:2726179)
    at completeRootWhenReady (bundle:1:2713817)
    at performWorkOnRoot (bundle:1:2713082)
    at flushSyncWorkAcrossRoots_impl (bundle:1:2652976)
    at anonymous (bundle:1:7828190)

Component stack:
    at ContainersLayer2 (bundle:1:6621412)
    at Containers2 (bundle:1:6621928)
    at RCTView
    at View (bundle:1:2598473)
    at RCTScrollView
    at ScrollView (bundle:1:2946037)
    at ScrollView (bundle:1:2949105)
    at ScrollView (bundle:1:2911254)
    at AnimatedComponent(ScrollView) (bundle:1:7956644)
    at ScrollView (bundle:1:7956701)
    at AnimatedScrollView (bundle:1:3146147)
    at ReanimatedScrollBridgeComponent (bundle:1:6555513)
    at ListComponent2 (bundle:1:6622933)
    at LegendListInner2 (bundle:1:6626035)
    at StateProvider (bundle:1:6559227)
    at LegendList2 (bundle:1:6625770)
    at LegendListForwardedRef2 (bundle:1:6557277)
    at AnimatedComponent(Component) (bundle:1:7956644)
    at Component (bundle:1:7956701)
    at AnimatedLegendList2 (bundle:1:6557680)
    ... View wrappers ...
    at ThreadWorkGroupList (bundle:1:7017735)
    ... View wrappers ...
    at WorkLogBlock (bundle:1:7042214)
    at ThreadWorkLog (bundle:1:7015012)
    at ThreadMediaVisibility (bundle:1:7189355)
    at MessageImageGalleryScope (bundle:1:7204101)
    ... View / animated View wrappers ...
    at DisclosureRow (bundle:1:7202939)
    ... View wrappers ...
    at PositionViewState2 (bundle:1:6618328)
    at Container2 (bundle:1:6619875)
    at ContainerSlotBase (bundle:1:6605679)
    at ContainerSlot2

Here bundle stands for:
/data/user/0/com.t3tools.t3code/files/.expo-internal/42bac505bc3eda455134bc0b498d30dc.

Investigation notes

The stack localizes the failure to the grouped work-log list, but does not establish the root cause. A list snapshot/subscription or layout feedback loop is a hypothesis, not a confirmed diagnosis. No source patch or Android reproduction was attempted.

Related reports found during duplicate search:

Workaround

No workaround has been verified on the affected Android client. Using desktop/web or collapsing the work-log group was suggested, but not tested. The running host and thread were deliberately left untouched.

Private conversation text, thread/environment identifiers, local project paths, and raw provider logs are omitted.

Activity

  1. juliusmarminge commented on Nov 10, 2026

    @juliusmarminge
    Member

    @Church54711 Which Android app build were you on (Settings → About in the app), and right before the error were you scrolling or tapping inside the expanded tool-call group, or was the thread just streaming while you watched?

  2. bdamokos commented on Nov 13, 2026

    @bdamokos

    We hit the same crash on iOS, so it isn't Android-specific. A T3 Code triage run (t3 triage playbook) matched our trace to this issue: the error and the component path are the same.

    Environment

    • Client: T3 Code iPhone app 2.3.0, Expo OTA bundle 54c9c3752629a00f98cccc6280f7555f
    • Host: macOS, server 0.1.10-nightly.20261112.4580
    • Thread: Claude Agent, active, with delegated tasks; about 6,500 timeline items across about 600 runs
    • Observed 13 November 2026 while opening that thread

    Trace (abridged)

    Error: Maximum update depth exceeded. ...
        at enqueueConcurrentRenderForLane (bundle:1:2587931)
        at updateStoreInstance (bundle:1:2593811)
        at commitHookEffectListMount (bundle:1:2626514)
        ... repeated commitPassiveMountOnFiber / recursivelyTraversePassiveMountEffects; trace skips 558 frames ...
        at flushPassiveEffects (bundle:1:2659495)
        at flushSpawnedWork (bundle:1:2658993)
        at commitRoot (bundle:1:2657958)
        at performWorkOnRoot (bundle:1:2644861)
        at flushSyncWorkAcrossRoots_impl (bundle:1:2584707)
        ...
        at performWorkOnRootViaSchedulerTask (bundle:1:2586162)
    
    Component stack:
        at ContainersLayer2 / Containers2 / ScrollView ... ListComponent2 / LegendListInner2 / StateProvider / LegendList2 / AnimatedLegendList2
        at ThreadWorkGroupList
        at WorkLogBlock
        at ThreadWorkLog
        at ThreadMediaVisibility
        at MessageImageGalleryScope
        at DisclosureRow
        at PositionViewState2 / Container2 / ContainerSlotBase / ContainerLayoutCoordinatorComponent
        at ContainersLayer2 ... ScrollEdgeBleed / ThreadFeedScrollView ... KeyboardAwareLegendList2
        at ThreadFeed
        at ThreadDetailBody / ThreadDetailScreen ...
    

    Automated comment from a coding agent (Claude Code, T3 Code triage playbook). Model: claude-opus-5-5.

  3. kobayashi90 commented on Nov 13, 2026

    @kobayashi90

    Additional instance of this crash from an Android client, with the full stack trace. Same component path (ThreadWorkGroupList → AnimatedLegendList → ThreadWorkLog → ThreadMediaVisibility → DisclosureRow), same Maximum update depth exceeded error.

    Client: T3 Code Android app (com.t3tools.t3code), bundle /data/user/0/com.t3tools.t3code/files/.expo-internal/57ef64a8094b7f79f1ee037e4d736a0e.

    Full stack:

    Error: Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.
        at enqueueConcurrentRenderForLane (address at /data/user/0/com.t3tools.t3code/files/.expo-internal/57ef64a8094b7f79f1ee037e4d736a0e:1:2679070)
        at updateStoreInstance (address at /data/user/0/com.t3tools.t3code/files/.expo-internal/57ef64a8094b7f79f1ee037e4d736a0e:1:2684938)
        at commitHookEffectListMount (address at /data/user/0/com.t3tools.t3code/files/.expo-internal/57ef64a8094b7f79f1ee037e4d736a0e:1:2717613)
        at commitPassiveMountOnFiber (address at /data/user/0/com.t3tools.t3code/files/.expo-internal/57ef64a8094b7f79f1ee037e4d736a0e:1:2730775)
        at recursivelyTraversePassiveMountEffects (address at /data/user/0/com.t3tools.t3code/files/.expo-internal/57ef64a8094b7f79f1ee037e4d736a0e:1:2729744)
        at commitPassiveMountOnFiber (address at /data/user/0/com.t3tools.t3code/files/.expo-internal/57ef64a8094b7f79f1ee037e4d736a0e:1:2730750)
        at recursivelyTraversePassiveMountEffects (address at /data/user/0/com.t3tools.t3code/files/.expo-internal/57ef64a8094b7f79f1ee037e4d736a0e:1:2729744)
        at commitPassiveMountOnFiber (address at /data/user/0/com.t3tools.t3code/files/.expo-internal/57ef64a8094b7f79f1ee037e4d736a0e:1:2730802)
        ... (602 frames skipped) ...
        at flushPassiveEffects (address at /data/user/0/com.t3tools.t3code/files/.expo-internal/57ef64a8094b7f79f1ee037e4d736a0e:1:2750594)
        at flushPendingEffects (address at /data/user/0/com.t3tools.t3code/files/.expo-internal/57ef64a8094b7f79f1ee037e4d736a0e:1:2750377)
        at flushSpawnedWork (address at /data/user/0/com.t3tools.t3code/files/.expo-internal/57ef64a8094b7f79f1ee037e4d736a0e:1:2750092)
        at commitRoot (address at /data/user/0/com.t3tools.t3code/files/.expo-internal/57ef64a8094b7f79f1ee037e4d736a0e:1:2749057)
        at completeRootWhenReady (address at /data/user/0/com.t3tools.t3code/files/.expo-internal/57ef64a8094b7f79f1ee037e4d736a0e:1:2736695)
        at performWorkOnRoot (address at /data/user/0/com.t3tools.t3code/files/.expo-internal/57ef64a8094b7f79f1ee037e4d736a0e:1:2735960)
        at flushSyncWorkAcrossRoots_impl (address at /data/user/0/com.t3tools.t3code/files/.expo-internal/57ef64a8094b7f79f1ee037e4d736a0e:1:2675846)
    

    Component stack:

    at ContainersLayer2
    at Containers2
    at RCTView / View / RCTScrollView / ScrollView / AnimatedScrollView
    at ReanimatedScrollBridgeComponent
    at ListComponent2 / LegendListInner2 / StateProvider / LegendList2 / AnimatedLegendList2
    at ThreadWorkGroupList
    at RCTView / View
    at WorkLogBlock
    at ThreadWorkLog
    at ThreadMediaVisibility
    at MessageImageGalleryScope
    at RCTView / View / AnimatedComponent(View)
    at DisclosureRow
    at RCTView / View / Animated(View)
    at PositionViewState2
    at Container2 / ContainerSlotBase / ContainerSlot2 / ContainerLayoutCoordinatorComponent
    at ContainersLayer2 / Containers2 / RCTView / View / RCTScrollView / ScrollView / AnimatedScrollView
    at ClippingScrollViewDecoratorView / AnimatedComponent(Component) / Component / AnimatedLegendList2 / KeyboardAwareLegendList2
    at ThreadFeed
    at ColumnWidth
    at WorkspaceMutationIdProvider
    at RenderErrorBoundary
    at ThreadDetailBody / ThreadDetailScreen
    ... (app shell / navigation providers)
    

    Observed while viewing a thread with an active agent/subagent producing tool activity (work-log list streaming). Backend work continued after the client crash.

    Happy to provide the raw full trace or the original pasted file if useful.

  4. kobayashi90 commented on Nov 13, 2026

    @kobayashi90

    Update: I just hit this same crash again while trying to link a previously non-project thread to a new project thread named beach_recomp (to give it context) on the Android beta client. So it's not only happening during active subagent/tool streaming — it also reproduces on this thread-linking/project-assignment flow. Same Maximum update depth exceeded / ThreadWorkGroupList → AnimatedLegendList → ThreadWorkLog → ThreadMediaVisibility → DisclosureRow signature.

  5. 0xr3ngar commented on Nov 14, 2026

    @0xr3ngar

    Same crash on iPadOS as well, so it isn't just iPhone and Android.

    • Client: T3 Code iPad app, iPadOS 26.5, app version 2.3.0
    • Same signature: Maximum update depth exceeded, with the component path running through ThreadWorkGroupList → AnimatedLegendList → WorkLogBlock → ThreadWorkLog → ThreadMediaVisibility → MessageImageGalleryScope → DisclosureRow, inside ThreadFeed on the thread detail screen.
  6. sashamorecode commented on Nov 15, 2026

    @sashamorecode

    Note

    🤖 Claude Opus 5.5 responding on behalf of sashamorecode

    Same crash on Android in a small thread. Thread size and subagents are not required to trigger it.

    Correction: an earlier version of this comment said there was no interaction. That was wrong. The crash has now happened three times, and each time it came right after tapping a tool-call row (a command or another expandable row) to expand it.

    • Client: Android app 2.3.0, bundle 57ef64a8094b7f79f1ee037e4d736a0e
    • Host: Linux, server 0.1.9
    • Trigger: tapping a row inside a tool-call group to expand it. Same ThreadWorkGroupList → DisclosureRow component stack each time.
    • Thread (first crash): Claude Agent, 1 run, 23 timeline items: 11 tool calls (10 shell commands, 1 Read), 7 thinking blocks, 2 assistant messages. No subagents or delegated tasks. The turn took about 85 s.
    • Timing (first crash): the turn completed at 01:11:04 UTC on 15 Nov 2026, and the crash came before 01:11:10.

    The trace matches kobayashi90's above (same bundle, same offsets), so I haven't repeated it.

  7. added
    needs more info
    on Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs more info

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions