fix(asyncify): retire the deferral family — guard-layer road closed
v0.1.24 in prod, doubly convicted the same morning: the Leonardo open crawled/hung (open:settled result=failed at the 60s escape, heap never past 256MB — every main-loop iteration runs INSIDE its yield-wake extent, so the "root-owned wake" scope matched thousands of legitimate nested coroutine Call/returns per open, each paying a deferred macrotask, throttled to ≥1s in a background tab), AND the Nano crashed 22ms after deferrals=1 fired. Harmful and insufficient: the fatal nested-rewind interleave and the benign bulk are observationally identical at this layer — no discriminator exists. Retired (second and final retraction, async/16 round 5). What stays shipped and clean: consume-once root suspensions, the internally-parked quarantine + laundering check, the flight recorder + beacons, the WSOD floor, the pendingSleeps leak fix (confirmed by pendingSleeps=[] in the Nano dump). The rare nested-rewind crash is ACCEPTED and fully observable until the structural fix — the design-B fiber-first runtime (async/06,12,13), where one scheduler owns every suspension and this interleave cannot exist. .ci-cache-epoch 6→7. Local: fiber 2/2 (one refusal beacon) + timer + firefox sweep 21 passed, chromium scenarios 11 passed/4 quarantine-skips, web fatal+follow 2/2. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019SE4o46Lnq3hF574FFq8x4
This commit is contained in:
parent
1b84b77c8d
commit
f734d700a2
3 changed files with 37 additions and 31 deletions
|
|
@ -1 +1 @@
|
|||
6
|
||||
7
|
||||
|
|
|
|||
Loading…
Reference in a new issue