ci/woodpecker/push/woodpecker Pipeline was canceled
Applying the draw mid-cycle used to push max_budget below the member's already-recorded spend, so LiteLLM refused every call until their next reset (weeks for some anchors). The draw is still recorded immediately — books are correct — but the cap is only pushed once the member's spend has room for it, which happens right after LiteLLM's reset. The tick retries every 10 minutes, so the cap lands at the first tick after the boundary; deferred members are reported in close_credit_cycles().deferred. tests/test_credit_cycle_close.py covers draw-recorded/cap-deferred and the cap landing after spend resets, with no second draw.