fabro/lib
Bryan Helmkamp 9b15a9cd3c
fix(server): dedup retried nodes in run billing
`checkpoint.completed_nodes` records every visit (one entry per re-entry
of a looped node), so the billing handler emitted duplicate rows and
multiplied `runtime_secs` by visit count. Dedup by node before iterating;
duration is now correctly summed across visits exactly once.

Per-visit usage isn't reachable in the current data model — `node_outcomes`
is keyed by `node_id` and overwritten on each visit — so the billing row's
token counts still reflect only the latest visit.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-04 19:02:52 -04:00
..
crates fix(server): dedup retried nodes in run billing 2026-05-04 19:02:52 -04:00
packages/fabro-api-client fabro(01KQT1VDVXGWN9P6MFK4R5E44D): implement (succeeded) 2026-05-04 18:27:54 +00:00