teknium1
4e74beb064
fix(langfuse): atexit finalizer flushes settled clients without reading credentials
...
_finalize_all_traces called _get_langfuse(), which lazily BUILDS a client when the
launch-profile slot is empty. Under a multiplex gateway every turn runs scoped, so
only the per-home slots are populated; at exit (no scope) the credential read
raised UnscopedSecretError and the flush loop was skipped for every profile,
losing all pending traces. The finalizer now iterates the already-settled
clients (launch slot + per-home map) and never initializes. Test drives two
profiles under real home-override + secret scopes, then finalizes unscoped.
2026-09-13 05:19:48 -07:00
..
2026-09-12 08:29:48 -07:00
2026-09-11 19:50:46 -07:00
2026-09-13 05:09:43 -07:00
2026-09-12 22:00:02 -07:00
2026-09-13 05:09:06 -07:00
2026-09-07 22:47:33 +05:30
2026-09-13 05:09:06 -07:00
2026-09-13 05:19:48 -07:00
2026-09-11 06:37:27 -07:00
2026-09-13 05:19:48 -07:00
2026-09-12 08:30:27 -07:00
2026-09-13 05:07:50 -07:00
2026-09-13 05:19:48 -07:00
2026-09-13 05:19:48 -07:00
2026-09-12 22:40:28 +05:30
2026-09-12 07:54:04 -07:00
2026-09-12 21:20:42 -07:00
2026-09-11 06:37:27 -07:00
2026-09-13 05:09:43 -07:00
2026-09-13 05:09:06 -07:00
2026-09-09 02:35:41 -07:00
2026-09-09 04:38:01 -07:00
2026-09-11 19:01:47 -07:00
2026-09-13 05:07:11 -07:00
2026-09-12 08:30:27 -07:00
2026-09-07 22:47:33 +05:30
2026-09-10 11:48:01 -07:00
2026-09-12 05:13:50 -07:00
2026-09-06 22:45:31 +05:30
2026-09-12 05:09:59 -07:00
2026-09-07 06:09:56 -07:00
2026-09-08 17:13:48 -07:00
2026-09-08 17:13:48 -07:00
2026-09-10 18:13:16 -07:00
2026-09-11 06:37:27 -07:00
2026-09-11 10:30:29 +10:00
2026-09-12 08:30:27 -07:00
2026-09-12 08:30:27 -07:00
2026-09-11 06:23:23 -07:00
2026-09-13 04:29:06 -07:00
2026-09-10 10:45:57 -07:00
2026-09-12 08:26:17 -07:00
2026-09-12 08:32:09 -07:00
2026-09-09 18:26:15 +05:30
2026-09-09 09:19:54 -07:00
2026-09-09 13:30:28 -07:00
2026-09-10 02:21:16 +05:30
2026-09-11 11:54:49 -07:00
2026-09-13 05:08:29 -07:00
2026-09-13 05:07:11 -07:00
2026-09-11 15:44:00 -07:00
2026-09-09 11:31:10 -07:00
2026-09-11 06:24:54 -07:00
2026-09-07 06:04:23 -07:00
2026-09-09 18:26:15 +05:30
2026-09-11 06:37:27 -07:00
2026-09-09 09:19:57 -07:00
2026-09-11 15:44:00 -07:00
2026-09-11 15:27:23 -07:00
2026-09-11 19:50:46 -07:00
2026-09-09 12:20:38 -07:00
2026-09-10 10:27:07 -07:00
2026-09-12 12:32:55 -07:00
2026-09-07 08:23:08 -07:00
2026-09-09 18:25:11 +05:30