Repository navigation
Commit de309ca
committed
fix(octane): preserve signal retry visit across hydration deferral
When hydration.suspend defers a renderBlock call, the locally captured
retryVisit was dropped on return. The resumed renderBlock re-enters
scopeSignalOwner which finds the cached owner and skips the branch that
builds a visit, so pruneSignalRetryVisit never ran for that attempt.
Capture the visit in the hydration suspend closure and restore it to the
SIGNAL_RETRY_VISIT global immediately before the deferred renderBlock
re-entry, so the re-entered call finds and consumes it normally.1 parent 86afe31 commit de309ca
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11104 | 11104 | | |
11105 | 11105 | | |
11106 | 11106 | | |
11107 | | - | |
| 11107 | + | |
| 11108 | + | |
| 11109 | + | |
| 11110 | + | |
| 11111 | + | |
11108 | 11112 | | |
11109 | 11113 | | |
11110 | 11114 | | |
| |||
0 commit comments