Repository navigation
Commit a536e29
Re-ruling of the optimistic landing-consumption contract after GabbeV's
union-tear report (#3164). The three interim #3123 mechanisms
(equality-scoped consumption, retained-setter replay, echo mask) are
removed; landings now FOLD: while any transaction retains optimism on a
family, fresh truth stages into the retaining transaction (ordinary
staged-setter channel, authoritative posture) and reveals atomically at
its settle. Ordinary readers keep committed until the reveal
(heldTruthNodes + _heldTruthMasked / optHooks.retainsOptimism, hook-
dispatched so plain bundles pay only the seams); until()/latest() tunnel
through, asyncWrite wakes authoritative observers under an active
override (the #3164 signal deadlock), and the revert path resyncs
overlaid keysets for mapArray. Consolidates the three stale unpublished
changesets into one; re-pins the #2719/#3123 suites to fold semantics;
adds #3164 union-tear + deadlock regression tests; bumps size budgets
with attribution.
Co-authored-by: Cursor <[email protected]>
1 parent 893b8f9 commit a536e29
15 files changed
Lines changed: 762 additions & 550 deletions
File tree
- .changeset
- packages
- signals
- src
- core
- store/next
- tests/store
- web/test/harness/__artifacts__
- scripts/size
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
411 | 412 | | |
412 | 413 | | |
413 | 414 | | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
414 | 426 | | |
415 | 427 | | |
416 | 428 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1219 | 1219 | | |
1220 | 1220 | | |
1221 | 1221 | | |
1222 | | - | |
| 1222 | + | |
| 1223 | + | |
| 1224 | + | |
| 1225 | + | |
| 1226 | + | |
| 1227 | + | |
| 1228 | + | |
| 1229 | + | |
| 1230 | + | |
| 1231 | + | |
| 1232 | + | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
1223 | 1236 | | |
1224 | 1237 | | |
1225 | 1238 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
492 | 492 | | |
493 | 493 | | |
494 | 494 | | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
495 | 502 | | |
496 | 503 | | |
497 | 504 | | |
| |||
1125 | 1132 | | |
1126 | 1133 | | |
1127 | 1134 | | |
| 1135 | + | |
| 1136 | + | |
| 1137 | + | |
| 1138 | + | |
| 1139 | + | |
| 1140 | + | |
| 1141 | + | |
| 1142 | + | |
| 1143 | + | |
| 1144 | + | |
| 1145 | + | |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
| 1152 | + | |
| 1153 | + | |
| 1154 | + | |
| 1155 | + | |
1128 | 1156 | | |
1129 | 1157 | | |
1130 | 1158 | | |
| |||
0 commit comments