gsxdsm
b65bc0bbb4
FN-8650: preserve Grok CLI authentication status
Keep unavailable Grok CLI billing data distinct from authentication expiry.
- Preserve billing outcomes for usage windows, missing data, HTTP responses, and transport failures.
- Mark CLI authentication expired only after observed 401 or 403 responses.
- Cover unmeterable authenticated accounts in usage and indicator tests.
- Add a patch changeset for the corrected indicator behavior.
Files changed:
.changeset/fn-8650-grok-cli-auth-expired.md | 7 ++
.../components/__tests__/UsageIndicator.test.tsx | 16 +++++
packages/dashboard/src/__tests__/usage.test.ts | 79 ++++++++++++++++++++--
packages/dashboard/src/usage.ts | 57 ++++++++++++----
4 files changed, 139 insertions(+), 20 deletions(-)
Fusion-Task-Id: FN-8650
Fusion-Task-Lineage: f18cceb6-1092-4073-b540-9c7a5434fbcd
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
2026-07-31 19:20:16 -07:00
..
2026-07-31 13:34:03 -07:00
2026-07-26 18:11:47 -07:00
2026-07-31 17:50:33 -07:00
2026-07-31 19:20:16 -07:00
2026-07-31 17:13:53 -07:00
2026-07-27 19:40:08 -07:00
2026-07-31 19:16:07 -07:00
2026-07-28 22:19:42 -07:00
2026-07-27 19:40:08 -07:00
2026-07-27 19:40:08 -07:00
2026-07-27 19:40:08 -07:00
2026-07-27 19:40:08 -07:00