Skip to content

[Due for payment 2026-06-16] [$250] NewDot Desktop PWA crashes with React error #185 (infinite render loop) after sending a message in a thread #92263

Description

@melvin-bot

Description

The NewDot desktop PWA (Chrome, macOS) crashed immediately after hitting Enter to send a message in a thread. The app's error boundary caught a Minified React error #185 — "Maximum update depth exceeded" — indicating an infinite setState/re-render loop was triggered by the new comment being inserted into the inverted FlashList (ReportActionsList).

The backend was healthy — the AddComment request returned 200 OK and the message was stored successfully. The crash is purely client-side.


Environment

Field Value
App version 9.3.89-5
Platform web — Chrome 148, macOS (desktop PWA)
Host staging.new.expensify.com
accountID 4087621
Report / thread ID 3091454369606852

Steps to Reproduce

  1. Open a thread (child report) in NewDot desktop PWA on staging (v9.3.89-5).
  2. Type a message and press Enter to send.
  3. Observe: app crashes to the error boundary screen immediately after sending.

Expected Result

Message sends and the thread's message list updates without crashing.

Actual Result

App crashes with Minified React error #185 — "Maximum update depth exceeded". The error boundary is triggered ~180ms after the message send.


Crash Details

Error: NewExpensify crash caught by error boundary — Minified React error #185

Timestamp (UTC): 2026-06-01 16:25:25.027

Timeline:

  • 16:25:24.846AddComment sent to thread report 3091454369606852 (clientCreatedTime)
  • 16:25:25.027 — Infinite render loop detected → error boundary fires → crash (~180ms later)
  • 16:25:57 — User reloaded and re-sent the message successfully

Component stack (from crash log):

ViewHolderCollection
  → RecyclerViewComponent
    → FlashList / InvertedFlashList
      → ReportActionsList
        → ReportActionsView
          → ReportScreen

Backend status: AddComment200 OK, commitCount 35008726001, Pusher events + follow-up jobs queued normally. The crash was not caused by a backend failure.

Internal request IDs (for log search):

  • Send request: a04f92fc0875ba4c-LAX
  • Crash log flush: a04f9303af30ba4c-SEA

Notes

  • After reloading, the user was able to send messages normally — suggesting this may be a transient or state-specific trigger rather than a 100% repro on every thread message send.
  • The issue may be related to how ReportActionsList / InvertedFlashList handles list state updates when a new optimistic comment is inserted.
Upwork Automation - Do Not Edit
Issue OwnerCurrent Issue Owner: @mallenexpensify

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions