mudler's LocalAI [bot]
05ff401de8
fix(test): stop the backend-trace specs racing the lossy trace channel ( #11146 )
...
RecordBackendTrace does a non-blocking send onto a 100-slot channel and
drops when it is full, so tracing never stalls inference. The payload
bounding specs pushed all 200 traces in one tight loop, which overruns
that channel on a loaded machine: entries are dropped for good and the
Eventually waiting for 200 can never be satisfied, no matter the timeout.
CI hit this on master at 0a8a7fbb , settling at 158/200.
Feed the traces in chunks of 50, draining after each, so the channel is
never overrun and the count stays exact. Reproduced with 60 busy loops on
a 20-core box at GOMAXPROCS=2: 0/12 runs passed before, 12/12 after.
Assisted-by: Claude Code:claude-opus-5 [Read] [Edit] [Bash]
Signed-off-by: Ettore Di Giacinto <mudler@localai.io >
Co-authored-by: Ettore Di Giacinto <mudler@localai.io >
2026-07-27 22:38:23 +02:00
..
2026-06-24 09:42:09 +02:00
2026-06-24 09:42:09 +02:00
2026-04-04 15:14:35 +02:00
2026-03-30 00:47:27 +02:00
2026-03-30 00:47:27 +02:00
2026-05-08 16:25:45 +02:00
2026-06-24 09:42:09 +02:00
2026-06-20 22:38:42 +02:00
2026-06-20 22:38:42 +02:00
2026-07-13 09:54:46 +02:00
2026-07-13 09:54:46 +02:00
2026-07-16 16:25:31 +01:00
2026-05-30 12:04:10 +02:00
2026-07-02 19:16:29 +02:00
2026-07-20 01:09:37 +02:00
2026-07-03 18:00:37 +02:00
2026-07-03 18:00:37 +02:00
2026-04-04 15:14:35 +02:00
2026-04-04 15:14:35 +02:00
2026-07-20 01:09:22 +02:00
2026-07-25 08:38:48 +02:00
2026-07-25 08:38:48 +02:00
2026-05-26 22:06:10 +02:00
2026-05-08 16:25:45 +02:00
2026-05-08 16:25:45 +02:00
2026-06-27 01:36:57 +02:00
2026-06-27 01:36:57 +02:00
2026-05-08 16:25:45 +02:00
2026-05-30 12:04:10 +02:00
2026-06-16 16:28:28 +02:00
2026-05-08 01:44:47 +02:00
2026-07-20 01:09:37 +02:00
2026-07-20 01:09:37 +02:00
2026-06-27 01:36:57 +02:00
2026-06-27 01:36:57 +02:00
2026-05-08 01:44:47 +02:00
2026-05-08 01:44:47 +02:00
2026-04-22 21:55:41 +02:00
2026-05-08 01:44:47 +02:00
2026-05-08 01:44:47 +02:00
2026-05-08 01:44:47 +02:00
2026-07-20 01:09:37 +02:00
2026-07-23 00:02:23 +02:00
2026-05-08 01:44:47 +02:00
2026-04-22 21:55:41 +02:00
2026-04-22 22:42:37 +02:00
2026-07-23 00:02:23 +02:00
2025-08-14 23:48:09 +02:00
2026-03-11 07:30:49 +01:00
2026-03-11 07:30:49 +01:00
2026-03-30 00:47:27 +02:00
2026-06-18 11:45:22 +01:00
2026-04-04 15:14:35 +02:00
2026-06-28 01:22:48 +02:00
2026-07-15 09:16:55 +02:00
2026-06-13 18:31:06 +02:00
2026-05-30 23:24:22 +02:00
2026-06-22 18:24:29 +02:00
2026-07-15 09:58:45 +02:00
2026-07-23 00:03:21 +02:00
2026-04-04 15:14:35 +02:00
2026-06-18 11:45:22 +01:00
2026-06-18 11:45:22 +01:00
2026-04-28 19:29:27 +02:00
2026-07-20 01:09:37 +02:00
2026-05-25 09:28:27 +02:00
2026-05-25 09:28:27 +02:00
2026-05-25 09:28:27 +02:00
2026-06-24 11:08:57 +02:00
2026-07-16 22:39:59 +02:00
2025-12-12 12:28:38 +01:00
2026-04-04 15:14:35 +02:00
2026-06-27 01:36:57 +02:00
2026-04-04 15:14:35 +02:00
2026-07-27 22:38:23 +02:00
2026-07-22 22:51:25 +02:00
2026-07-27 19:03:32 +02:00
2026-07-27 19:03:32 +02:00
2026-07-27 19:03:32 +02:00
2026-03-30 00:47:27 +02:00
2026-04-04 15:14:35 +02:00
2026-07-12 23:58:46 +02:00
2026-07-12 23:58:46 +02:00
2026-05-08 01:44:47 +02:00
2026-05-08 01:44:47 +02:00
2026-04-23 12:07:14 +02:00
2026-05-08 01:44:47 +02:00
2026-07-13 09:54:46 +02:00
2026-07-13 09:54:46 +02:00
2026-05-08 01:44:47 +02:00
2026-05-08 01:44:47 +02:00
2026-05-06 14:51:38 +02:00
2026-05-06 14:51:38 +02:00
2026-03-30 00:47:27 +02:00