Repository navigation
Commit d6b4715
committed
fix(signals): a guess into a log whose lane has shown is not held by another action's refresh (#4666)
Residual shape the #4666 fuzz found: rows 1-4; close(4), assign(3), land
assign:3, then close(3), and #3 stayed shown until every refresh landed.
close(3)'s guess goes into close(4)'s lane, which has already shown. The
overlay, held by assign's refresh, is seated there by laneDirty, but the
lane is judged in the same seam with the overlay's stale pending, so it
holds once. The overlay's lane pass then writes the lane's staging for
its next reveal (`_pendingValue`, the lane has shown). The render effect,
held by the frame the flush joined, read that through laneRead's
frame-staging branch as if it were its frame's staging: its run waited
with the parked frame, and the reveal never re-ran it.
On a shown guess lane, `_pendingValue` is the lane's staging, so a held
leaf reads it as the screen and re-derives at the reveal, or enters the
lane (F-11, D-26). A verdict lane keeps the branch: there the staging is
the frame's (#4275, S-39).
The lane-is-a-verdict-lane test is now one helper (isVerdict) in
lanes.ts, shared by its six sites, which pays for the new condition.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_0117BoWNSSgtemsSYsaX2hXE1 parent 81bae30 commit d6b4715
4 files changed
Lines changed: 53 additions & 10 deletions
File tree
- .changeset
- packages/signals
- docs
- src/core
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
219 | | - | |
| 219 | + | |
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
287 | | - | |
| 287 | + | |
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
| |||
335 | 335 | | |
336 | 336 | | |
337 | 337 | | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
338 | 342 | | |
339 | 343 | | |
340 | 344 | | |
| |||
760 | 764 | | |
761 | 765 | | |
762 | 766 | | |
763 | | - | |
| 767 | + | |
764 | 768 | | |
765 | 769 | | |
766 | 770 | | |
767 | 771 | | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
768 | 779 | | |
769 | 780 | | |
| 781 | + | |
770 | 782 | | |
771 | 783 | | |
772 | 784 | | |
| |||
793 | 805 | | |
794 | 806 | | |
795 | 807 | | |
796 | | - | |
| 808 | + | |
797 | 809 | | |
798 | 810 | | |
799 | 811 | | |
| |||
1133 | 1145 | | |
1134 | 1146 | | |
1135 | 1147 | | |
1136 | | - | |
| 1148 | + | |
1137 | 1149 | | |
1138 | 1150 | | |
1139 | 1151 | | |
| |||
1191 | 1203 | | |
1192 | 1204 | | |
1193 | 1205 | | |
1194 | | - | |
1195 | | - | |
| 1206 | + | |
1196 | 1207 | | |
1197 | 1208 | | |
1198 | 1209 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
184 | 216 | | |
185 | 217 | | |
186 | 218 | | |
| |||
0 commit comments