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.
Paseo website
Plugin install counts
Clients report an install by resolving a plugin with X-Paseo-Install: 1 or
?intent=install, using /api/plugins/resolve/<owner>/<slug> or
/plugins/<owner>/<slug>.json. Ordinary resolves do not count. These numbers
measure install intent, not successful artifact installation or npm downloads.
The worker requires Cloudflare's CF-Connecting-IP header to count a report.
It stores the plugin ID plus a SHA-256 hash of the IP in a WEBSITE_CACHE KV key
with a one hour TTL, never the raw IP. An existing key skips the count; repeats
do not extend the hour. Missing or empty IP headers do not count.
Accepted reports increment the existing all-time total and UTC daily buckets in
WEBSITE_CACHE. Daily buckets retain 60 days and supply the website's seven-day
and thirty-day rankings. /api/plugins/installs still returns plugin IDs mapped
to all-time totals. The registry build
reads that endpoint into the published plugin details and index; the website
reads windowed counts from KV through its five-minute cache. Existing counts
remain intact. The KV guard is advisory: concurrent requests and KV propagation
are not serialized.