# fix\(usage\): preserve unrefreshed cached quotas and filter unknown status for incidents · lucenx/codexbar-plasma

[View on GitCafe](https://git.cafe/lucenx/codexbar-plasma/commit/2e4ea82d959731d22fe6328c42a78bd0d573b439)

Repository: [lucenx/codexbar-plasma](https://git.cafe/lucenx/codexbar-plasma)

Visibility: public

Requested revision: 2e4ea82d959731d22fe6328c42a78bd0d573b439

Requested commit: 2e4ea82d959731d22fe6328c42a78bd0d573b439

Commit: 2e4ea82d959731d22fe6328c42a78bd0d573b439

Tree: fd43982ef9eaf1754a76cbce236f01a921dd68ba

Author: Simone

Committer: GitHub

## Message

```
fix(usage): preserve unrefreshed cached quotas and filter unknown status for incidents

* fix(usage): preserve unrefreshed cached quotas and filter unknown status for incidents

- Retain cached provider quotas across early partial refreshes during startup, preventing premature eviction when a subset of providers completes before checksum.
- Filter out unknown (statusKnown: false) and inactive status indicators in primaryIncidentProvider, panelToolTipText, ProviderHeader, and FullRepresentation, preventing stale outages from masking active incidents.
- Add QtTests for UsageCache.restore and notification wiring.

* test(usage): cover startup cache restoration and incident guards

Document partial startup restoration and unknown-status presentation. Preserve the existing successful refresh label across the late checksum callback, and verify the real lifecycle with the usage-retention smoke scenario.
```

## Parents

- [76d6e828a7e98952aa0989c287f6af2e32bc4b49](https://git.cafe/lucenx/codexbar-plasma/commit/76d6e828a7e98952aa0989c287f6af2e32bc4b49?format=markdown)

[Source at this commit](https://git.cafe/lucenx/codexbar-plasma/tree/2e4ea82d959731d22fe6328c42a78bd0d573b439?format=markdown)
