Thomas Durieux and Claude Opus 5.5
fc14b2c3ae
fix(preview): anonymize form previews on a worker, trace slow ones to their project
...
A user's backtracking term made each anonymize-form preview block the API's
event loop for ~1.2 s and fail with a 500. One per keystroke, 45 of them
froze every request for about a minute (12:59 UTC, 2026-11-30).
- Previews run on their own worker pool (1 worker by default). A preview
that runs past its deadline (3 s) terminates its worker and answers
422 anonymization_timeout; the form explains the term is too slow.
- One preview per user: a newer edit, or the client leaving, stops the
older preview (409 preview_superseded, logged at info).
- Slow (>=500 ms) or failed previews log an anonymization_preview record
with the project's repoId, input bytes and term count.
- Heartbeats carry the interval's worst event-loop delay (loopMaxMs,
loopP99Ms); a delay of 1 s or more logs event_loop_blocked at warn.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-30 13:17:35 +00:00
..
2026-11-14 13:03:22 +00:00
2026-11-16 15:28:19 +00:00
2026-11-29 16:35:34 +00:00
2026-11-15 13:55:38 +00:00
2026-10-08 14:46:01 +02:00
2026-11-29 13:08:19 +00:00
2026-11-19 15:04:03 +00:00
2026-05-04 11:52:03 +02:00
2026-10-08 08:20:26 +01:00
2026-11-30 13:17:35 +00:00
2026-11-02 21:48:40 +00:00
2026-07-22 04:28:01 +02:00
2026-07-22 04:28:01 +02:00
2026-07-02 13:35:48 +02:00
2026-10-07 10:57:09 +00:00
2026-04-15 09:41:00 +02:00
2026-10-11 12:13:02 +01:00
2026-11-04 14:21:36 +00:00
2026-07-22 04:29:04 +02:00
2026-11-14 22:57:01 +00:00
2026-11-15 18:47:47 +00:00
2026-11-02 21:39:17 +00:00
2026-11-12 16:04:31 +00:00
2026-11-09 08:54:26 +00:00
2026-11-10 12:55:55 +00:00
2026-11-29 09:05:51 +00:00
2026-04-15 09:41:00 +02:00
2026-04-15 09:41:00 +02:00
2026-07-17 06:44:21 +02:00
2026-09-08 13:04:28 +02:00
2026-11-28 20:14:07 +00:00
2026-09-08 13:04:28 +02:00
2026-11-13 11:38:26 +01:00
2026-11-14 13:40:40 +00:00
2026-09-08 13:04:28 +02:00
2026-05-11 12:10:17 +03:00
2026-11-13 02:22:45 +00:00
2026-10-08 03:38:19 +01:00
2026-11-08 10:52:10 +00:00
2026-07-30 02:28:19 +02:00
2026-04-15 09:41:00 +02:00
2026-11-29 08:06:30 +00:00
2026-11-04 14:21:36 +00:00
2026-10-08 10:21:00 +00:00
2026-11-15 13:52:05 +00:00
2026-10-08 10:21:00 +00:00
2026-11-04 14:21:36 +00:00
2026-11-14 13:40:40 +00:00
2026-11-14 13:21:03 +00:00
2026-11-14 13:21:03 +00:00
2026-10-09 09:40:54 +00:00
2026-11-29 11:47:06 +00:00
2026-09-08 16:22:23 +02:00
2026-11-29 13:05:23 +00:00
2026-05-03 21:19:39 +02:00
2026-05-06 20:00:59 +03:00
2026-11-04 14:21:36 +00:00
2026-11-11 10:04:03 +00:00
2026-11-14 13:40:40 +00:00
2026-11-29 10:04:19 +00:00
2026-10-08 10:26:13 +01:00
2026-11-29 12:33:11 +00:00
2026-07-02 14:53:26 +03:00
2026-11-14 22:57:01 +00:00
2026-11-29 11:55:04 +00:00
2026-09-14 16:44:53 +02:00
2026-05-06 20:00:59 +03:00
2026-11-06 12:01:25 +00:00
2026-09-15 20:26:42 +00:00
2026-04-15 09:41:00 +02:00
2026-11-15 13:45:38 +00:00
2026-07-02 13:35:48 +02:00
2026-10-08 08:20:26 +01:00
2026-11-29 13:08:19 +00:00
2026-05-06 08:22:45 +03:00
2026-11-15 00:14:01 +00:00
2026-11-29 13:08:19 +00:00
2026-11-11 14:10:54 +01:00
2026-11-04 14:21:36 +00:00
2026-11-02 07:56:32 +01:00
2026-11-04 14:21:36 +00:00
2026-11-02 07:56:32 +01:00
2026-11-04 14:21:36 +00:00
2026-11-11 10:18:20 +00:00
2026-11-04 14:21:36 +00:00
2026-09-10 16:15:39 +02:00
2026-11-29 08:06:30 +00:00
2026-11-09 10:45:24 +00:00
2026-11-29 07:54:00 +00:00
2026-10-08 10:21:00 +00:00
2026-11-02 21:57:33 +00:00
2026-10-08 10:21:00 +00:00
2026-11-29 07:54:00 +00:00
2026-11-29 07:54:00 +00:00
2026-11-08 20:32:03 +00:00
2026-11-11 14:10:54 +01:00
2026-11-30 13:17:35 +00:00
2026-11-02 21:18:43 +00:00
2026-10-09 10:08:49 +00:00
2026-11-13 11:38:26 +01:00
2026-11-09 10:45:24 +00:00
2026-10-07 14:54:49 +00:00
2026-11-28 21:50:12 +00:00
2026-04-15 09:41:00 +02:00
2026-11-29 12:33:11 +00:00
2026-11-15 18:47:47 +00:00
2026-11-14 13:03:22 +00:00
2026-10-08 10:21:00 +00:00
2026-10-14 19:23:12 +01:00
2026-09-08 14:28:46 +02:00
2026-09-08 14:08:48 +02:00
2026-10-13 13:55:10 +01:00
2026-11-29 07:54:00 +00:00
2026-11-14 12:41:02 +00:00
2026-11-14 14:01:50 +00:00
2026-11-15 18:47:47 +00:00
2026-11-15 13:31:16 +00:00
2026-11-28 18:30:40 +00:00
2026-09-27 15:59:36 +00:00
2026-09-27 13:13:04 +00:00
2026-09-27 15:18:49 +00:00
2026-10-08 16:26:12 +00:00
2026-09-27 14:56:06 +00:00
2026-09-27 15:59:36 +00:00
2026-09-27 13:50:20 +00:00
2026-09-27 15:59:36 +00:00
2026-11-29 12:33:11 +00:00
2026-07-22 04:29:04 +02:00
2026-10-09 03:48:05 +00:00
2026-04-15 09:41:00 +02:00
2026-11-14 22:57:01 +00:00
2026-11-29 08:59:50 +00:00
2026-11-04 14:21:36 +00:00
2026-11-15 13:39:17 +00:00
2026-11-13 14:27:13 +01:00
2026-11-13 14:27:13 +01:00
2026-11-14 13:40:40 +00:00
2026-11-29 08:06:30 +00:00
2026-09-14 15:23:13 +00:00
2026-11-14 12:55:17 +00:00
2026-11-29 12:36:09 +00:00
2026-11-29 12:35:46 +00:00
2026-11-11 14:10:54 +01:00
2026-10-12 21:27:36 +01:00
2026-11-29 09:16:35 +00:00
2026-07-17 06:44:21 +02:00
2026-11-30 07:52:23 +00:00
2026-11-29 11:55:04 +00:00
2026-04-15 09:41:00 +02:00
2026-11-29 16:35:34 +00:00
2026-11-03 15:03:23 +00:00
2026-11-02 21:12:29 +00:00
2026-11-19 15:04:03 +00:00