Skip to content

dash: other views still read the uncapped replay credit (/api/savings, status-line windows, metrics export, series buckets) #586

Open

Description

@OsherElhadad

#546 and #573 cap the summarizer and offloader replay credit in the Overview headline, /api/components and the episode view (one ledger each). These readers still sum the stored request_components.saved_usd, so they can disagree with the headline: /api/savings and SavingsTotals (status line), the metrics export, the series buckets and the per-group totals.

Fix: route them through the ledgers (SummarizeLedgerFor, ReplayLedgerFor), or label them as uncapped. Bounded scans matter for the status line (#502). Related: #546, #573.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions