jbovard2016
d574826f37
fix(usage): detach completed request previews ( #13623 )
...
* fix(usage): bound completed request retention
Completed request previews used V8 sliced strings that kept multi-megabyte request backing stores alive. Detach and byte-bound cached details, and add a credential-free profiler with cleanup and physical-retention assertions.
* fix(usage): give the JON-562 memory-profile canary realistic timeouts
The 100k-token worker step alone takes ~230s (tsx/esm boot of the full
route/handler module graph plus the real request lifecycle), well past
the driver's hardcoded 180s spawnSync timeout — the resulting SIGKILL
surfaces as `worker.status === null`, indistinguishable from a real
crash. Bump the worker timeout to 300s and the test's own outer/inner
timeouts to match the measured ~230-330s real runtime.
Also make git-branch provenance detached-HEAD safe: `git branch
--show-current` is empty on a detached HEAD (the normal state for a CI
PR checkout, and for this fix worktree itself), which made the canary
throw "git branch is empty" deterministically outside a regular branch
checkout.
Co-authored-by: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com >
---------
Co-authored-by: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com >
2026-09-18 12:24:52 -03:00
..
2026-09-11 22:29:21 -03:00
2026-06-19 06:49:01 -03:00
2026-09-11 13:32:51 -03:00
2026-09-10 18:13:37 -03:00
2026-09-15 08:50:58 -03:00
2026-06-30 06:54:29 -03:00
2026-09-16 06:09:29 -03:00
2026-08-31 14:14:02 -03:00
2026-06-29 16:51:03 -03:00
2026-08-20 10:27:26 -03:00
2026-07-13 09:12:40 -03:00
2026-09-18 12:24:03 -03:00
2026-08-21 00:29:01 -03:00
2026-09-11 17:41:48 -03:00
2026-09-16 16:37:41 -03:00
2026-08-18 10:51:34 -03:00
2026-08-25 18:22:46 -03:00
2026-09-10 10:23:52 -03:00
2026-09-11 17:41:37 -03:00
2026-08-31 13:39:21 -03:00
2026-09-16 23:10:24 -03:00
2026-08-21 10:28:01 -03:00
2026-09-18 12:24:28 -03:00
2026-07-04 13:00:30 -03:00
2026-07-29 15:18:55 -03:00
2026-09-18 11:30:53 -03:00
2026-08-12 02:13:41 -03:00
2026-09-18 11:58:30 -03:00
2026-09-02 01:19:49 -03:00
2026-08-30 02:27:25 -03:00
2026-09-11 17:42:32 -03:00
2026-09-18 11:56:42 -03:00
2026-07-07 13:14:06 -03:00
2026-08-30 02:27:25 -03:00
2026-09-01 11:06:04 -03:00
2026-07-29 15:18:55 -03:00
2026-08-09 09:54:47 -03:00
2026-08-30 09:16:52 -03:00
2026-08-21 04:25:56 -03:00
2026-08-25 21:08:05 -03:00
2026-08-30 09:16:52 -03:00
2026-09-18 12:21:10 -03:00
2026-07-02 10:47:13 -03:00
2026-08-12 16:54:50 -03:00
2026-09-10 10:42:26 -03:00
2026-06-30 06:54:29 -03:00
2026-09-18 11:30:09 -03:00
2026-06-03 06:45:04 -03:00
2026-08-26 17:54:57 -03:00
2026-09-11 13:27:42 -03:00
2026-06-30 06:54:29 -03:00
2026-09-18 12:22:26 -03:00
2026-09-16 16:56:28 -03:00
2026-09-15 20:01:25 -03:00
2026-08-25 13:12:50 -03:00
2026-09-18 11:34:30 -03:00
2026-09-18 11:57:17 -03:00
2026-09-04 00:45:38 -03:00
2026-09-17 16:24:58 -03:00
2026-09-17 10:44:30 -03:00
2026-07-29 15:18:55 -03:00
2026-08-18 11:31:53 -03:00
2026-02-26 15:11:40 +00:00
2026-08-26 17:54:57 -03:00
2026-06-20 14:55:24 -03:00
2026-09-16 13:36:35 -03:00
2026-09-18 11:59:24 -03:00
2026-04-17 09:00:32 -03:00
2026-09-18 11:33:39 -03:00
2026-08-30 02:27:25 -03:00
2026-09-01 12:07:02 -03:00
2026-09-11 13:27:30 -03:00
2026-04-23 16:57:43 -03:00
2026-09-18 12:24:52 -03:00
2026-08-23 14:25:04 -03:00
2026-09-11 22:29:05 -03:00
2026-08-04 14:34:02 -03:00
2026-09-16 21:09:38 -03:00
2026-08-21 20:54:51 -03:00
2026-09-11 22:29:12 -03:00
2026-05-29 12:44:29 -03:00
2026-08-18 11:31:46 -03:00
2026-09-11 22:05:14 -03:00
2026-06-17 02:43:21 -03:00
2026-09-18 12:24:28 -03:00
2026-08-23 16:51:25 -03:00
2026-03-29 14:37:55 +02:00
2026-03-17 04:24:46 -03:00
2026-08-09 09:52:28 -03:00
2026-08-26 08:11:09 -03:00
2026-05-29 12:44:29 -03:00
2026-09-16 06:10:58 -03:00
2026-08-20 06:29:42 -03:00
2026-08-30 02:27:25 -03:00
2026-09-16 16:37:41 -03:00
2026-09-03 21:01:09 -03:00
2026-06-29 08:40:06 -03:00
2026-08-30 09:09:36 -03:00
2026-06-29 08:40:06 -03:00
2026-08-30 09:21:53 -03:00
2026-09-01 11:58:15 -03:00
2026-07-29 15:18:55 -03:00
2026-09-01 11:58:15 -03:00
2026-09-16 12:59:45 -03:00
2026-08-20 11:47:38 -03:00
2026-08-30 02:27:25 -03:00
2026-08-30 09:16:52 -03:00
2026-08-18 10:57:44 -03:00
2026-07-29 15:18:55 -03:00
2026-08-30 02:27:25 -03:00
2026-08-25 20:11:56 -03:00
2026-09-14 23:14:35 -03:00
2026-08-31 14:13:53 -03:00
2026-09-17 10:45:43 -03:00
2026-08-23 07:01:07 -03:00
2026-08-17 08:21:53 -03:00
2026-09-11 19:28:32 -03:00
2026-08-15 14:23:29 -03:00
2026-08-09 09:55:16 -03:00
2026-08-20 09:31:12 -03:00
2026-09-18 11:58:14 -03:00
2026-09-11 19:28:21 -03:00
2026-04-30 01:27:03 -03:00
2026-09-15 16:58:24 -03:00
2026-08-18 11:31:53 -03:00
2026-06-01 23:13:19 -03:00
2026-08-20 13:11:03 -03:00
2026-08-28 06:52:46 -03:00
2026-08-20 15:19:32 -03:00
2026-09-15 10:11:44 -03:00
2026-09-15 18:09:02 -03:00
2026-09-15 18:26:15 -03:00
2026-09-15 19:48:52 -03:00
2026-09-18 11:59:50 -03:00
2026-07-29 15:18:55 -03:00
2026-08-25 01:38:59 -03:00
2026-08-11 09:16:23 -03:00
2026-09-16 06:13:14 -03:00
2026-09-16 06:13:14 -03:00
2026-08-25 13:12:38 -03:00
2026-09-16 23:10:24 -03:00
2026-08-30 02:27:25 -03:00
2026-08-30 02:36:26 -03:00
2026-08-24 20:04:11 -03:00
2026-09-16 06:12:59 -03:00
2026-08-26 08:11:30 -03:00
2026-09-16 23:10:24 -03:00
2026-02-18 14:43:57 -03:00
2026-02-18 00:02:15 -03:00
2026-08-30 02:27:25 -03:00
2026-06-09 15:56:24 -03:00
2026-08-18 11:25:46 -03:00
2026-09-11 22:04:21 -03:00
2026-08-25 18:55:18 -03:00