shivam and Claude Opus 4.7
614fdcbb1b
refactor(proxy): extract deferred-logging gate into static helper for direct test coverage
...
Code review noted the previous test reimplemented the proxy's
try/except/finally around post_call_success_hook, so it would not catch a
regression that re-introduced the duplicate-log bug in the production code
path. Extract the gating logic into
`ProxyBaseLLMRequestProcessing._flush_deferred_async_logging` so tests
exercise the production helper directly.
The proxy finally block becomes a single call to the helper. Tests now
invoke the helper itself and additionally assert (via inspect.getsource)
that base_process_llm_request continues to delegate to the helper rather
than inlining the gate.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-04-25 15:39:26 -07:00
..
2026-04-25 13:22:04 -07:00
2026-04-17 13:02:59 -07:00
2026-04-23 15:31:16 -07:00
2026-04-25 14:45:06 -07:00
2026-04-17 13:02:59 -07:00
2026-04-25 12:59:12 -07:00
2026-04-22 18:20:16 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-25 15:39:26 -07:00
2026-04-20 15:29:43 -07:00
2026-04-17 19:10:06 -07:00
2026-04-17 13:02:59 -07:00
2026-04-25 14:18:15 -07:00
2026-04-21 17:58:50 -07:00
2026-04-24 18:38:07 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 17:36:40 -07:00
2026-04-24 16:56:44 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 21:32:09 -07:00
2026-02-18 16:58:38 -08:00
2026-04-23 15:31:16 -07:00
2026-04-17 13:02:59 -07:00
2026-04-24 22:52:04 -07:00
2026-04-25 08:50:26 -07:00
2026-04-24 09:21:13 -07:00
2026-04-17 13:02:59 -07:00
2026-04-23 15:31:16 -07:00
2026-04-17 13:02:59 -07:00
2026-03-18 00:54:23 +00:00
2026-04-17 13:02:59 -07:00
2026-02-28 21:32:57 +05:30
2026-03-03 17:29:39 -08:00
2026-04-17 13:02:59 -07:00
2025-06-14 15:35:09 -07:00
2026-01-23 21:21:23 -08:00
2026-04-17 13:02:59 -07:00
2026-04-11 22:24:04 +05:30
2025-10-23 13:59:29 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 12:49:31 +05:30
2026-04-25 14:45:06 -07:00
2026-04-17 13:02:59 -07:00
2026-02-26 12:43:39 +05:30
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-21 14:45:29 -07:00
2026-04-22 10:41:13 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-11 18:58:04 +05:30
2026-04-17 13:02:59 -07:00
2025-07-04 10:04:43 -07:00
2026-04-24 08:36:25 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-14 23:37:49 +05:30