Files
millionco__react-doctor/.changeset/trace-timeout-increase.md
Skosh ce5ce930de fix(cli): increase runtime trace finalization timeout to 60s (#1753)
* fix(cli): increase runtime trace finalization timeout to 60s

Chrome needs more time to finalize large performance traces, especially
for longer recording sessions (up to 5 minutes). The previous 10-second
timeout was insufficient for complex React applications generating
substantial trace data.

Increased timeout from 10s to 60s, which:
- Aligns with industry best practices for CDP trace finalization
- Accommodates traces from the max 5-minute recording duration
- Prevents spurious timeouts on large/complex applications

Also improved the error message to be more actionable.

Closes #1752

Co-authored-by: Skosh <skoshx@users.noreply.github.com>

* fix(cli): harden runtime trace finalization

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Skosh <skoshx@users.noreply.github.com>
Co-authored-by: Aiden Bai <aiden@million.dev>
2026-09-05 14:22:43 -07:00

151 B

react-doctor
react-doctor
patch

Increase runtime trace finalization timeout from 10 to 60 seconds to handle large traces from longer recording sessions