[Bug]: React #185 renderer crash recurs in ProviderModelPicker chunk on Alpha 0.0.40 #11308
Before submitting#
- I searched existing issues and did not find an open duplicate.
- I included the available details needed to investigate the crash.
Area#
apps/desktop
Steps to reproduce#
- Use the T3 Code Alpha desktop app version 0.0.40.
- Open or use an existing thread.
- The renderer can crash to the T3 Code crash screen.
The exact interaction immediately preceding the crash was not captured, so this is not yet a deterministic reproduction. The environment/thread path from the crash screen is intentionally omitted because it contains private identifiers.
Expected behavior#
The thread should remain usable and the desktop renderer should not crash.
Actual behavior#
The renderer crashes with React error #185 (Maximum update depth exceeded). The later frames are in the ProviderModelPicker production chunk, though the minified stack alone does not prove that component is the root cause.
This may be a recurrence or a distinct path related to #9481. Its fix in #9482 is included in v0.0.40.
Impact#
Major degradation or frequent failure
Version or commit#
T3 Code (Alpha) 0.0.40
Environment#
T3 Code desktop app. OS and provider/model were not captured.
Logs or stack traces#
Error: Minified React error #185; visit https://react.dev/errors/185 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at fi (t3code://app/assets/dist-BLQyjWCD.js:26:27465)
at ui (t3code://app/assets/dist-BLQyjWCD.js:26:27038)
at Ko (t3code://app/assets/dist-BLQyjWCD.js:26:52159)
at t3code://app/assets/dist-BLQyjWCD.js:26:52040
at q (t3code://app/assets/ProviderModelPicker-D3YD1yeT.js:1:4228)
at Qt (t3code://app/assets/ProviderModelPicker-D3YD1yeT.js:1:17170)
at $t (t3code://app/assets/ProviderModelPicker-D3YD1yeT.js:1:17278)
at pa (t3code://app/assets/ProviderModelPicker-D3YD1yeT.js:1:71935)
at fa (t3code://app/assets/ProviderModelPicker-D3YD1yeT.js:1:70594)
at da (t3code://app/assets/ProviderModelPicker-D3YD1yeT.js:1:69832)
Screenshots, recordings, or supporting files#
None. No private logs or screenshots are attached.
Workaround#
Unknown.
I just updated this morning and now I'm getting this when ever I scroll backwards in a thread.
T3 Code (Nightly) 0.0.43-nightly.20260921.2058 Path: /e9ce4e77-29d0-41d4-9c9a-ccdbd764ef01/bac5f89b-10bd-4668-a307-2f53252f1544 Time: 2026-09-21T18:00:07.481Z Error: Minified React error #185; visit https://react.dev/errors/185 for the full message or use the non-minified dev environment for full errors and additional helpful warnings. at fi (t3code://app/assets/dist-Dd0QIH1a.js:26:27485) at li (t3code://app/assets/dist-Dd0QIH1a.js:26:27010) at Is (t3code://app/assets/dist-Dd0QIH1a.js:26:58533) at Fs (t3code://app/assets/dist-Dd0QIH1a.js:26:58155) at t3code://app/assets/_chat-DA5ugVFK.js:8:59203 at t3code://app/assets/_chat-DA5ugVFK.js:8:59884 at Uc (t3code://app/assets/dist-Dd0QIH1a.js:26:91668) at sl (t3code://app/assets/dist-Dd0QIH1a.js:26:96139) at xl (t3code://app/assets/dist-Dd0QIH1a.js:26:104933) at sl (t3code://app/assets/dist-Dd0QIH1a.js:26:96697)Note
🤖 Claude Opus 5.5 responding on behalf of Theo
Thanks for the report. This is fixed on main in #21269. Please test on the nightly built from main on 2026-10-21, or on the next stable release. If the problem still occurs there, please open a new issue that links to this one, with your version and steps to reproduce it.
t3dotgg(GitHub profile, opens in a new tab) closed this
Sign in to join this conversation.
Thanks for the report. I de-minified the stack against the sourcemaps shipped in the 0.0.40 AppImage and the
ProviderModelPickerchunk is a red herring: that chunk is where the bundler placed@legendapp/list(the virtualizer used by the timeline, the model picker, the branch picker and expanded tool-call groups). Resolved, the frames are:dist-BLQyjWCD.js:26:27465/:27038getRootForUpdatedFiber/enqueueConcurrentRenderForLanedist-BLQyjWCD.js:26:52159/:52040forceStoreRerenderfrom auseSyncExternalStoresubscriptionProviderModelPicker-D3YD1yeT.js:1:4228set$…:17170/:17278addTotalSize→setSize…:71935/:70594/:69832updateOneItemSize→applyItemSize→updateItemSizesBatchSo a virtualized list was re-measured from a layout effect, wrote
totalSize, forced a sync re-render, and that repeated until React gave up. It is the same family as #9390 / #9481 (layout feedback between list row heights, the composer inset and the resting/context-strip state), but I could not reproduce it on currentmainwith real data: thread switching, resting the composer, width/height/DPR sweeps, the model picker (composer, resting strip, Settings), the branch picker and tool-call groups all stay far below the nested-update limit.To pin down the trigger, could you share:
updateItemSizesBatchsay which list and which effect fired the loop).If you can capture it with the devtools console open, the non-minified "Maximum update depth exceeded" message includes the component stack, which would settle this quickly.