Commit graph

5 commits

Author SHA1 Message Date
James Long
ad4fd72c55 refactor(codemode): run every job on the machine and drive it from a thin Effect loop
The machine now owns the scheduler: job queue, inbox, parked awaits, unhandled
rejections, and promise operations. An await cuts the stack at the innermost
async boundary (the program's frame or an async function's call frame) and
parks the frames on the promise as data. Host calls are HostCall records the
machine hands to the driver at its stops; blocking host work is a blocking
HostCall. The generator evaluator, runner.ts, and CODEMODE_EVALUATOR are gone.
2026-11-05 00:53:14 +00:00
Aiden Cline
e26f85bcd3
refactor(codemode): run programs on one job queue instead of a fiber per async call (#57976) 2026-10-27 12:13:30 -05:00
James Long
bf6788b94c
test(codemode): extend promise limit timeout (#50693) 2026-09-22 13:22:21 -04:00
Aiden Cline
2b855fccb2
test(codemode): drop the slow split and matchAll cap cases (#49051) 2026-09-14 16:24:27 -05:00
Aiden Cline
76594882b4
fix(codemode): bound what one built-in can build with string, array, and promise caps (#49019) 2026-09-14 12:54:02 -05:00