Repository navigation
Commit f8ec4dc
committed
fix(signals): two latest() readers under one async memo ask each question once
- A latest() reader whose frame lands at the seam that would re-derive it
in the verdict lane keeps its flight: the pass was the landing's (it
asked the frame question twice in one flush). The check moves from
core's `_update` into lanes.ts `laneSeams`.
- Verdict-lane work that read a staging re-derives on the committed world
only while the transaction holding the staging stays parked: judged on
the flush's transaction, not the lane's parent, and not when the pass's
own render effect is all that keeps it parked (`heldBy`). The re-derive
asked a question already asked and showed it over inputs the landing
replaced.
- The landing's adopt of a parked frame flight is a lane hook
(`laneAdoptHook`): scheduler.ts no longer imports `adoptFlight`.
- #4398's grouped/split pin passes here: grouped and split ask the same
questions with latest()'s pass the frame's.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_015hPxMkC3jg3Uivh65gvaf21 parent 4bac383 commit f8ec4dc
6 files changed
Lines changed: 269 additions & 40 deletions
File tree
- .changeset
- packages/signals
- docs
- src/core
- tests
| 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 | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
| 149 | + | |
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
211 | | - | |
| 211 | + | |
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
937 | 937 | | |
938 | 938 | | |
939 | 939 | | |
940 | | - | |
| 940 | + | |
| 941 | + | |
| 942 | + | |
| 943 | + | |
| 944 | + | |
| 945 | + | |
| 946 | + | |
| 947 | + | |
| 948 | + | |
| 949 | + | |
| 950 | + | |
| 951 | + | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
941 | 956 | | |
942 | 957 | | |
943 | 958 | | |
| |||
952 | 967 | | |
953 | 968 | | |
954 | 969 | | |
955 | | - | |
956 | | - | |
957 | | - | |
958 | | - | |
959 | | - | |
960 | | - | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
| 980 | + | |
| 981 | + | |
961 | 982 | | |
962 | 983 | | |
963 | 984 | | |
964 | 985 | | |
965 | 986 | | |
966 | 987 | | |
967 | | - | |
| 988 | + | |
968 | 989 | | |
969 | 990 | | |
970 | 991 | | |
| |||
978 | 999 | | |
979 | 1000 | | |
980 | 1001 | | |
981 | | - | |
982 | | - | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
983 | 1007 | | |
| 1008 | + | |
984 | 1009 | | |
985 | 1010 | | |
986 | 1011 | | |
| |||
995 | 1020 | | |
996 | 1021 | | |
997 | 1022 | | |
| 1023 | + | |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
998 | 1032 | | |
999 | 1033 | | |
1000 | 1034 | | |
| |||
1006 | 1040 | | |
1007 | 1041 | | |
1008 | 1042 | | |
1009 | | - | |
| 1043 | + | |
| 1044 | + | |
1010 | 1045 | | |
1011 | 1046 | | |
1012 | 1047 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
| |||
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
33 | | - | |
| 32 | + | |
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
| |||
77 | 76 | | |
78 | 77 | | |
79 | 78 | | |
80 | | - | |
| 79 | + | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
84 | 87 | | |
85 | 88 | | |
86 | 89 | | |
| |||
97 | 100 | | |
98 | 101 | | |
99 | 102 | | |
100 | | - | |
| 103 | + | |
| 104 | + | |
101 | 105 | | |
102 | 106 | | |
103 | 107 | | |
| |||
108 | 112 | | |
109 | 113 | | |
110 | 114 | | |
| 115 | + | |
111 | 116 | | |
112 | 117 | | |
113 | 118 | | |
| |||
1037 | 1042 | | |
1038 | 1043 | | |
1039 | 1044 | | |
1040 | | - | |
| 1045 | + | |
1041 | 1046 | | |
1042 | 1047 | | |
1043 | 1048 | | |
| |||
1184 | 1189 | | |
1185 | 1190 | | |
1186 | 1191 | | |
1187 | | - | |
1188 | | - | |
1189 | | - | |
1190 | | - | |
| 1192 | + | |
1191 | 1193 | | |
1192 | 1194 | | |
1193 | 1195 | | |
| |||
0 commit comments