Files
fusion/.changeset/fn-4389-token-usage-semantics.md
Fusion 1696c312cb fix(FN-4389): complete missing token usage parity and dashboard split
Fusion-Task-Id: FN-4389
Fusion-Task-Lineage: 366f9d57-c476-448f-96c0-6e753fc8b090
2026-05-13 22:03:38 -07:00

474 B

@runfusion/fusion
@runfusion/fusion
patch

Canonicalize task token usage semantics across heartbeat and executor paths by treating cachedTokens as cache-read only, storing cache writes in new cacheWriteTokens, and preserving raw inputTokens.

Dashboard token stats now render separate Cache read and Cache write values.

Historical rows created before this fix may still contain mixed cache-read+cache-write values inside cachedTokens; existing data is not backfilled.