Skip to content

v1.23.70

Latest

Choose a tag to compare

@github-actions github-actions released this 05 Dec 07:29
· 4 commits to main since this release
  • agents insights perf drains a large spool again. The perf spool
    (~/.agents/.cache/perf/spool.jsonl) was read in one piece. Node cannot hold a string
    past about 512 MB, so once the spool passed that size the read threw
    ERR_STRING_TOO_LONG and every later drain silently did nothing. From then on the
    spool only grew, and agents insights perf showed numbers frozen at that point; one
    machine reached 918 MB on 2026-12-04, undrained since September 2.
    • The drain now takes the spool by renaming it, so hooks writing at the same moment
      start a fresh file and nothing they write is lost.
    • It reads the renamed file 8 MB at a time.
    • A drain that failed or was killed leaves its file behind, and the next drain picks
      it up.
    • That 918 MB spool, 3.7 million samples, drains in 17 seconds.
    • Source: cli/src/lib/perf/db.ts.