mirror of
https://github.com/getpaseo/paseo.git
synced 2026-12-01 12:46:55 +00:00
The Claude listing heap test capped its child at 96 MB, but most of that budget went to loading the modules. Since prompt attachments import the file-upload module, agent.ts also loads the protocol message schemas, about 50 MB more. The 14 MB listing then ran out of heap on runs where GC ran late. The test now measures what the imports retain in a first child, then caps the listing child at that plus 64 MiB. That is still below the 128 MiB transcript, so loading a whole history still runs out of heap. The opening-scene tests advanced the paused page clock once, right after the scroll. The scene starts a few page tasks later (IntersectionObserver, then a React render and effect). When the clock advance ran first, the scene started on a paused clock and the request never appeared. The tests now advance the clock in 1 s steps until the request shows. CI also uploads the website Playwright results when that step fails, so the next stall has a trace.