Revert sync abort replay restoration pending a complete fix #37852

Merged
gnoff opened 6:57pm on October 14, 2026 wanted to merge 91 Ξ” into facebook/react main from
jstory/revert-sync-abort-replay

Pull Request Overview

  • Opened on October 14, 2026
  • Status Merged
  • Commit count 1 with first commit October 14, 2026

Total Delta

91 Total Diff Delta

Open Days

Open 23 weekdays

Test Delta

0 Diff Delta in Test Files
Breakdown by Phase

How long has this pull request spent in each phase of its lifecycle?

Fraction of total time Business days Phase
 
0.0 days Authoring 1 commit before pull request opened for review
 
0.0 days Awaiting first review
Set up deploy tracking to begin tracking full PR start-to-deploy times

Total time for pull request 0.0 business days from first commit authored to merge
Deploy tracking has not been set up

Author avatar

Revert sync abort replay restoration pending a complete fix

Revert #37710 and #37850 while we revisit how synchronous prerender aborts preserve replay state.

Restoring the aborted task root as a replay point can overlap postpones from child tasks. #37850 suppresses one form of the overlap, but an indexed parent slot can still coexist with a descendant replay node and fail during resumption. This removes the incomplete change so we can address the replay invariants together.

This deliberately restores the behavior reported in #37709: if a prerender abort interrupts a task after it has rendered part of its shell, the later resume can omit that markup. That regression needs a follow-up fix.

This supersedes #37851.

Tests: yarn test ReactDOMFizzStaticBrowser --runInBand and yarn test ReactDOMFizzStaticBrowser --prod --runInBand (34 passed in each mode).

Comments Threads Pending Resolution

Resolved Comment Threads

No resolved comments have been left on this PR.