Yuneng Jiang
5445297da9
[Fix] Stabilize flaky spend accuracy tests with local ground truth
...
Replace the calibration step (one request + 10-minute poll) with an
independent ground truth computed from response usage via
litellm.cost_per_token. All N requests are made up front, so a single
dropped Redis write no longer kills the test.
Add /health/readiness checks at test start and on poll timeout so the
failure message surfaces proxy state (db, cache) instead of "calibration
timed out".
Set PROXY_BATCH_WRITE_AT=2 in the spend tracking CI job to shorten the
scheduler flush window.
2026-04-22 13:45:00 -07:00
..
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-09 11:46:23 -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 18:08:48 +00: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-21 15:41:58 -07:00
2026-04-17 13:02:59 -07:00
2026-04-21 14:40:11 -07:00
2026-04-21 15:24:32 -07:00
2026-04-17 17:36:40 -07:00
2026-04-17 19:29:45 -07:00
2026-03-30 16:24:35 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-18 11:00:09 -07:00
2026-04-20 15:44:11 -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-20 22:19:36 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-22 13:45:00 -07:00
2026-04-17 13:02:59 -07:00
2026-04-21 18:38:00 -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-20 15:08:00 -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-03-30 21:30:57 -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 13:08:59 -07:00
2026-04-17 13:02:59 -07:00
2026-03-28 20:49:02 -07:00
2026-04-17 13:02:59 -07:00
2026-04-01 19:22:54 -07:00