Repository navigation
Commit 8458a4c
committed
fix(octane): prevent independent reveal groups from stranding hidden boundaries and stale settles from clearing active timeouts
Bug 1: stagedRevealGroup() concatenated all ready groups into one flat
array. flushStagedReveals treated that as a single batch, so a visible
member's retry removed unrelated hidden boundaries from STAGED_REVEALS,
stranding them with no wake path. Fix: return only the first ready group
and loop in flushStagedRevealsIfReady so each group flushes independently.
Bug 2: The HELD_TRANSITIONS exception in attachResume's retry closure
allowed stale thenables to proceed, but unconditionally cleared
pendingThenable and transitionTimeoutId. A stale settle disarmed the
timeout that was armed for the current (fresher) thenable, preventing a
finite fallback budget from firing. Fix: guard the cleanup so only the
current thenable's settle clears tracking state.1 parent 4689d76 commit 8458a4c
2 files changed
Lines changed: 18 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2889 | 2889 | | |
2890 | 2890 | | |
2891 | 2891 | | |
2892 | | - | |
2893 | | - | |
| 2892 | + | |
| 2893 | + | |
| 2894 | + | |
| 2895 | + | |
| 2896 | + | |
| 2897 | + | |
2894 | 2898 | | |
2895 | 2899 | | |
2896 | 2900 | | |
| |||
2979 | 2983 | | |
2980 | 2984 | | |
2981 | 2985 | | |
2982 | | - | |
| 2986 | + | |
| 2987 | + | |
2983 | 2988 | | |
2984 | 2989 | | |
2985 | | - | |
2986 | | - | |
2987 | | - | |
2988 | | - | |
2989 | | - | |
2990 | | - | |
2991 | | - | |
| 2990 | + | |
| 2991 | + | |
| 2992 | + | |
| 2993 | + | |
| 2994 | + | |
| 2995 | + | |
| 2996 | + | |
| 2997 | + | |
2992 | 2998 | | |
2993 | 2999 | | |
2994 | 3000 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
458 | 458 | | |
459 | 459 | | |
460 | 460 | | |
461 | | - | |
462 | 461 | | |
463 | 462 | | |
464 | 463 | | |
| |||
480 | 479 | | |
481 | 480 | | |
482 | 481 | | |
483 | | - | |
| 482 | + | |
484 | 483 | | |
485 | | - | |
| 484 | + | |
486 | 485 | | |
487 | 486 | | |
488 | 487 | | |
| |||
0 commit comments