Skip to content

Commit 58797c2

Browse files
committed
test(signals): with #4383, isPending of the unresolved m1 holds its Loading, so the unheld latest case asks like the held one
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_015hPxMkC3jg3Uivh65gvaf2
1 parent 0ae47d1 commit 58797c2

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎packages/signals/tests/verdict-memo-flight-no-reask.test.ts‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,10 @@ const expected = {
3535
// (F-6: async derived from a display-ahead read is the lane's), then the
3636
// landing asks each memo once.
3737
"latest held": ["m0:4", "m1:5", "m0:5", "m1:6"],
38-
"latest unheld": ["m0:4", "m0:5", "m1:6"],
38+
// Unheld too: `m1` never resolved (`m0:3` rejected), so `isPending(m1)` of
39+
// the lane node throws NotReady (A19 exc. 1, #4362) and the Loading holds
40+
// the write like `h` does.
41+
"latest unheld": ["m0:4", "m1:5", "m0:5", "m1:6"],
3942
"plain held": ["m0:5", "m1:6"],
4043
"plain unheld": ["m0:5", "m1:6"]
4144
};

0 commit comments

Comments
 (0)