Add app-attributed usage display#292
Conversation
Co-authored-by: OpenAI Codex <codex@openai.com>
|
Claude finished @lewtun's task in 3m 28s —— View job Review: app-attributed usage displayNo blocking issues — 2 P1, 3 P2. Solid PR: cross-user isolation is correct, auth is enforced on the session bucket, the live-update path and the persisted-truth refetch reconcile cleanly, and the price catalog is cached. Notes below. P1 — Production (Mongo) usage path has no unit coverage
P1 — Month/session aggregation streams every event into Python and sorts for nothing
P2 — HF Jobs cost uses wall-clock, including queue/startup
P2 — Session-resume wipes runtime usage history (CLI/local only)
P2 —
|
Co-authored-by: OpenAI Codex <codex@openai.com>
|
Claude finished @lewtun's task in 1m 43s —— View job Re-review: app-attributed usage display (commit
|
Co-authored-by: OpenAI Codex <codex@openai.com>
|
Claude finished @lewtun's task in 2m 1s —— View job Re-review: HF billing usage display (commit
|
Co-authored-by: OpenAI Codex <codex@openai.com>
|
Claude finished @lewtun's task in 50s —— View job Re-review: Simplify usage popover (commit
|
Co-authored-by: OpenAI Codex <codex@openai.com>
|
Claude finished @lewtun's task in 33s —— View job Re-review: Remove token row from usage popover (commit
|
Co-authored-by: OpenAI Codex <codex@openai.com>
|
Claude finished @lewtun's task in 25s —— View job Re-review: Move session billing note to usage header (commit
|
Co-authored-by: OpenAI Codex <codex@openai.com>
|
Claude finished @lewtun's task in 1m 12s —— View job Re-review: Optimize usage popover rollup loading (commit
|
Co-authored-by: OpenAI Codex <codex@openai.com>
|
Claude finished @lewtun's task in 37s —— View job Re-review: Round usage costs to cents (commit
|
Adds ML Intern-attributed usage aggregation and a header popover showing current session, daily, and monthly spend split across Inference Providers and estimated HF Jobs usage.\n\nChecks run:\n- uv run ruff check .\n- uv run ruff format --check .\n- uv run pytest tests/unit/test_usage.py tests/unit/test_telemetry_usage.py\n- npm run build\n- Browser check for desktop/mobile header and zero-state popover