codeburn/tests
Resham Joshi 354492e500
Some checks are pending
CI / semgrep (push) Waiting to run
Tests / test (22) (push) Waiting to run
Tests / test (22.13.0) (push) Waiting to run
Tests / test (24) (push) Waiting to run
Tests / test (26) (push) Waiting to run
Tests / test-platforms (macos-latest) (push) Waiting to run
Tests / test-platforms (windows-latest) (push) Waiting to run
Tests / desktop (push) Waiting to run
Tests / vscode (push) Waiting to run
Copilot: count every agent round and bill exact credits in VS Code chat sessions (#1752)
* Copilot: count every agent round and exact credits in VS Code chat sessions

Copilot Chat 0.69 keeps only the last model call of an agent request in result.metadata. Read the request's modelTotals (input, cache reads, output over every call) first, then root completionTokens, then metadata. Carry copilotCredits as nanoAiu so plan credits are exact. Bump the copilot parse tag so cached chat sessions re-parse.

modelKeyMatches no longer lets claude-sonnet-4 capture claude-sonnet-4-6.

* Copilot: bill chat-session credits exactly and skip agent-host twins

A chat-session request that records copilotCredits now costs credits x $0.01 through costFromBilling; requests without it stay priced from tokens. A chat session whose id matches a session-state dir is left to the agent-host path so it is counted once.

* Copilot: drop agent-host twins at serve time, rate chat requests one by one, re-derive past days

A chat-session journal request is left out when the same session has billed agent-host usage (session-state calls with tokens or nanoAiu, or session-store rows). Plan credits rate chat-session requests individually, so older requests in a mixed session keep their estimate. DAILY_CACHE_VERSION 75 with copilot pending re-derive so settled days pick up the new counts.
2026-10-13 01:02:04 +02:00
..
fixtures Fix Antigravity 2.16 quota decoding in CLI and desktop (#1667) 2026-10-07 11:00:31 +02:00
providers Copilot: count every agent round and bill exact credits in VS Code chat sessions (#1752) 2026-10-13 01:02:04 +02:00
security fix: fix and improve test isolation and collision with environment (#530) 2026-06-20 13:42:10 +02:00
setup feat(providers): add Command Code (#1658) 2026-10-07 00:18:50 +02:00
sharing fix(overview): group thousands in the integer part of costs only (#1714) 2026-10-10 07:05:12 +02:00
act-journal.test.ts fix(guard): dedupe streaming message copies in the incremental cost fold 2026-07-03 12:32:46 +02:00
act-model-defaults.test.ts fix(optimize): isolate sidechains from behavior 2026-08-14 02:51:54 +05:30
act-report.test.ts merge: main into connector guidance branch 2026-08-18 08:17:25 -07:00
act-undo.test.ts fix(act): support directory moves for archive actions 2026-07-03 10:14:48 +02:00
antigravity-statusline.test.ts fix: fix and improve test isolation and collision with environment (#530) 2026-06-20 13:42:10 +02:00
audit-report.test.ts fix(codex): count cache writes toward the long-context threshold, tier only above 272k (#1706) 2026-10-10 02:55:47 +02:00
bash-commands.test.ts perf(classifier): linear bash separator split 2026-08-16 18:31:41 -07:00
billable-output-1115.test.ts fix: uncap the Overview model table, billions token rung, unpriced calls dimming (#1443) 2026-09-17 13:53:10 +02:00
billing-route-filter.test.ts feat(cli): filter usage by billing route and mode (#1486) 2026-09-19 11:32:06 -07:00
blob-to-text.test.ts Merge main into feat/multi-provider-plans, remove dead tautology 2026-05-16 10:42:03 -07:00
bounded-load-parse.test.ts perf: store the session cache in day pieces (#1550) 2026-09-24 20:45:35 +02:00
branch-spend.test.ts Add spend-by-branch report (spend --format branch-json) 2026-09-12 13:09:00 -07:00
budget.test.ts feat(budget): spend budgets with overview display and scriptable --check (#562) 2026-07-16 11:10:16 -07:00
bundle-litellm.test.ts fix(pricing): take the maker's price for bare model ids (#1653) 2026-10-06 19:56:41 +02:00
cache-dir.test.ts perf(desktop): share cache state and eliminate duplicate cold hydration 2026-08-12 17:16:41 +03:00
cache-directory-switch.test.ts feat(antigravity): parse tool calls, bash commands, MCP tools, and skills from SQLite steps table (#1456) 2026-09-17 09:14:17 +02:00
cache-persistence-coldstart.test.ts perf(cache): shard the session cache per provider 2026-08-16 19:03:12 -07:00
cache-refresh-lock-corrupt-body.test.ts fix(cache): recover a corrupt session-refresh lock instead of freezing ingestion 2026-07-30 13:06:25 +05:30
cache-refresh-lock-process.test.ts fix(tui): clean cache locks on confirmed exit (#1165) 2026-08-28 15:06:07 -07:00
cache-refresh-lock-status-snapshot.test.ts fix: harden status snapshot invalidation and writes 2026-08-25 01:24:19 +03:00
cache-refresh-lock.test.ts fix(cache-lock): coalesce heartbeat ticks; make time-sensitive tests deterministic (#1559) 2026-09-25 05:06:43 +02:00
cache-sweep.test.ts 0.9.25: correctness, energy, menu bar and installer fixes (#1511) 2026-09-21 00:16:21 +02:00
classifier.test.ts fix(optimize): stop flagging delivered and editing sessions as low-worth (#1719) 2026-10-10 07:05:47 +02:00
claude-long-context-tier.test.ts fix(pricing): apply Anthropic long-context tiers to Claude calls (#1716) 2026-10-10 07:05:27 +02:00
cli-billing-route-filters.test.ts fix(opencode): Vertex sessions no longer show $0 (#1552) 2026-09-25 00:01:02 +02:00
cli-budget.test.ts fix(pricing): apply Anthropic long-context tiers to Claude calls (#1716) 2026-10-10 07:05:27 +02:00
cli-cache-read-pipeline.test.ts test(cli): keep fresh cache-read seeds inside the current UTC day 2026-09-13 06:04:04 +03:00
cli-codex-tps.test.ts test: isolate the real home on Windows and make the CLI suite pass there 2026-09-02 13:43:57 -07:00
cli-compare-cohort.test.ts Fix cohort accounting and exact project selection 2026-09-12 14:01:29 -07:00
cli-date.test.ts feat(cli): add lifetime period for CLI and dashboard (#753) 2026-07-20 05:24:33 -07:00
cli-deepseek-v4-pricing.test.ts fix(pricing): restore the DeepSeek v4 and gpt-5.6-codex repricing invariants (#1134) (#1577) 2026-09-29 15:05:37 +02:00
cli-devin-model-variants.test.ts devin: price sessions from tokens, drop the ACU rate (#1469) 2026-09-17 16:57:30 +02:00
cli-durable-totals.test.ts fix(aggregator): overlayProviderDaySlices overwrote settled cache days with shrunken parses 2026-09-02 07:32:02 -07:00
cli-emitters.test.ts feat: mark estimated dollars the same way in every view (#1657) 2026-10-06 22:27:13 +02:00
cli-export-date-range.test.ts test: isolate the real home on Windows and make the CLI suite pass there 2026-09-02 13:43:57 -07:00
cli-export-project-filter.test.ts fix(app): stop reporting an export that wrote nothing as a success 2026-09-12 05:38:52 -07:00
cli-json-daily.test.ts fix(cache-lock): coalesce heartbeat ticks; make time-sensitive tests deterministic (#1559) 2026-09-25 05:06:43 +02:00
cli-model-flat-rate.test.ts fix(models): classify real subscription SKUs and let --remove opt out built-ins 2026-08-21 16:45:24 +05:30
cli-model-savings.test.ts test: isolate the real home on Windows and make the CLI suite pass there 2026-09-02 13:43:57 -07:00
cli-models-unpriced.test.ts fix: name the usage that prices at $0 instead of hiding it (#1491) 2026-09-18 16:48:26 -07:00
cli-node-env.test.ts fix(cli): default NODE_ENV to production so Ink's React build stops leaking user-timing entries. 2026-09-07 10:27:46 -03:00
cli-peak-hours.test.ts Track peak vs off-peak usage for first-party DeepSeek and Z.ai routes (#1561) 2026-09-28 18:48:38 +02:00
cli-plan.test.ts test: isolate the real home on Windows and make the CLI suite pass there 2026-09-02 13:43:57 -07:00
cli-price-override.test.ts test: isolate the real home on Windows and make the CLI suite pass there 2026-09-02 13:43:57 -07:00
cli-progress-keepalive-entry.test.ts fix: stop the desktop status-timeout loop (#1644) 2026-10-05 23:51:04 +02:00
cli-project-filter-commands.test.ts fix(cache-lock): coalesce heartbeat ticks; make time-sensitive tests deterministic (#1559) 2026-09-25 05:06:43 +02:00
cli-project-link.test.ts feat: project links put a folder in a repo project (#1695) 2026-10-08 17:41:23 +02:00
cli-provider-validation.test.ts test: isolate the real home on Windows and make the CLI suite pass there 2026-09-02 13:43:57 -07:00
cli-proxy-path.test.ts test: isolate the real home on Windows and make the CLI suite pass there 2026-09-02 13:43:57 -07:00
cli-refresh-help.test.ts Stabilize TUI refresh, scrolling, responsive layout, and dashboard data density (#863) 2026-08-09 03:39:19 +03:00
cli-route-surfaces.test.ts feat(models): carry the billing route on the call and key model rows on it (#1448) 2026-09-17 13:32:34 +02:00
cli-session-across-days.test.ts feat: group projects by git repository (#1691) 2026-10-08 06:45:26 +02:00
cli-settings-json.test.ts test: isolate the real home on Windows and make the CLI suite pass there 2026-09-02 13:43:57 -07:00
cli-status-menubar.test.ts feat(gnome): show combined usage from paired devices (#1566) 2026-09-27 16:14:53 +02:00
codex-cache-concurrent-load.test.ts perf: fan out the discovery sweep instead of walking it one syscall at a time 2026-08-22 15:52:47 -07:00
codex-cache-invalidation.test.ts fix(codex): price Codex Auto Review by date (#1641) 2026-10-05 19:43:33 +02:00
codex-cache-wsl-flush.test.ts windows: discover provider roots inside WSL distros (#1062) 2026-09-19 12:33:29 -07:00
codex-credits.test.ts fix(codex): price Codex Auto Review by date (#1641) 2026-10-05 19:43:33 +02:00
codex-missing-cumulative.test.ts fix(codex): preserve distinct requests when cumulative usage is missing (#1264) 2026-09-16 10:50:25 +02:00
codex-pricing-1075-rehydrate.test.ts fix(codex): price Flex tier turns and the gpt-reserve / gpt-5.3-spark ids (#1642) 2026-10-05 21:18:59 +02:00
codex-pricing-1075.test.ts docs(pricing): bound the codex repricing drift in verify:upgrade, fix stale comments 2026-08-21 12:49:05 -07:00
codex-projects-index.test.ts perf: load only the session-cache members a date range can use (#1542) 2026-09-24 19:52:42 +02:00
codex-rich-capture.test.ts feat(capture): parse-time capture of branch, LOC deltas, interruptions, titles, PR links 2026-07-20 05:56:38 -07:00
codex-session-index.test.ts feat(codex): show thread names from session_index.jsonl (#1687) 2026-10-09 13:25:13 +02:00
codex-session-names-cache.test.ts feat(codex): show thread names from session_index.jsonl (#1687) 2026-10-09 13:25:13 +02:00
codex-throughput.test.ts Preserve Codex work after fork replay (#1569) 2026-09-27 17:18:05 +02:00
compare-cohorts.test.ts Wire cohort samples to the real drill-through, scope and serve the new flags 2026-09-12 14:02:01 -07:00
compare-periods-cli.test.ts fix(compare-periods): real drill-through, project scope, clean date errors 2026-09-12 13:43:41 -07:00
compare-stats.test.ts feat(copilot): read per-request input/cache from session-store.db 2026-08-17 17:52:01 -04:00
content-utils.test.ts fix(parser): tolerate string message content; isolate per-file parse failures (#441) (#450) 2026-06-06 04:01:12 +02:00
context-budget-home.test.ts fix(context-budget): stop double-counting home skills and CLAUDE.md 2026-08-04 06:32:58 +03:00
context-tree-api-prefix.test.ts test: isolate the real home on Windows and make the CLI suite pass there 2026-09-02 13:43:57 -07:00
context-tui-title.test.ts dashboard: Workflow panel, footer coaching notes, title-first context list 2026-07-20 22:26:50 +02:00
context-window.test.ts context: Fable and Mythos 5 report a 1M window (#1522) 2026-09-23 16:35:29 +02:00
copilot-agent-host.test.ts fix(copilot): count store-row output for unclosed sessions, price grok-4.6 at xAI rates (#1652) 2026-10-06 19:15:43 +02:00
copilot-aiu-serve.test.ts perf: store the session cache in day pieces (#1550) 2026-09-24 20:45:35 +02:00
copilot-aiu.test.ts feat: Copilot AI Credit plan math from total_nano_aiu 2026-08-23 19:12:04 +05:30
copilot-chatsession-twin.test.ts Copilot: count every agent round and bill exact credits in VS Code chat sessions (#1752) 2026-10-13 01:02:04 +02:00
copilot-journal-cache.test.ts Restore input usage in Copilot chat-session journals (#1607) 2026-10-03 23:32:28 +02:00
cross-provider-pr-correlation.test.ts fix(pr-attribution): time-bound working-directory correlation 2026-08-10 14:13:57 -07:00
cross-provider-project-merge.test.ts fix(usage): fold Windows case in spend identity, qualify --json counts, drop scratch tests 2026-09-07 14:56:32 -07:00
currency-fallback.test.ts fix(currency): show USD instead of a foreign symbol when no FX rate is available (#1715) 2026-10-10 07:05:23 +02:00
currency-rounding.test.ts fix(currency): resolve RON symbol to "lei" across all surfaces 2026-07-06 03:43:03 +03:00
cursor-import.test.ts fix: Cursor import clears covered days on a new build's first run (#1698) 2026-10-08 21:56:22 +02:00
cursor-range-cache.test.ts fix(cursor): parse the full lookback regardless of the requested range (#1718) 2026-10-10 07:05:31 +02:00
cursor-sync-background.test.ts test(cursor-sync): use a week window so the test passes at any hour (#1744) 2026-10-11 04:04:54 +02:00
cursor-sync.test.ts feat(cursor): show the Cursor sync status and an on/off switch in the apps (#1638) 2026-10-05 17:11:41 +02:00
daily-cache-carry-forward.test.ts fix(cache): keep history exact when a cache upgrade meets a timezone change (#1713) 2026-10-10 02:56:14 +02:00
daily-cache-cursor-import.test.ts fix(cache): drop stale cursor-agent slices on days a Cursor import covers (#1710) 2026-10-10 03:16:02 +02:00
daily-cache-degraded-completeness.test.ts fix: one timezone per daily cache, re-derive settling days on seal (#1696) 2026-10-08 20:18:23 +02:00
daily-cache-reseal-straddle.test.ts fix(pricing): apply Anthropic long-context tiers to Claude calls (#1716) 2026-10-10 07:05:27 +02:00
daily-cache-tz-dedup.test.ts fix(cache): keep history exact when a cache upgrade meets a timezone change (#1713) 2026-10-10 02:56:14 +02:00
daily-cache-version-rederivation.test.ts Copilot: count every agent round and bill exact credits in VS Code chat sessions (#1752) 2026-10-13 01:02:04 +02:00
daily-cache.test.ts Count Claude queued prompts as turns (#1582) 2026-10-02 11:48:12 +02:00
dashboard-custom-range-provider.test.ts perf(tui): show cached periods before refreshing sources (#1159) 2026-08-28 13:21:47 -07:00
dashboard-exit.test.ts test: isolate the real home on Windows and make the CLI suite pass there 2026-09-02 13:43:57 -07:00
dashboard-period-truth.test.ts perf(tui): show cached periods before refreshing sources (#1159) 2026-08-28 13:21:47 -07:00
dashboard-process-exit.test.ts test: wait for the lifetime phase before the dashboard exit checks (#1649) 2026-10-06 12:18:40 +02:00
dashboard-progressive-startup.test.ts feat: group projects by git repository (#1691) 2026-10-08 06:45:26 +02:00
dashboard-resize.test.ts fix(tui): clear stale panels on settled resize (#1156) 2026-08-28 13:21:03 -07:00
dashboard.test.ts dashboard: fold instead of spread when measuring column widths (#1460) 2026-09-16 18:52:02 +02:00
date-range-filter.test.ts fix(cache-lock): coalesce heartbeat ticks; make time-sensitive tests deterministic (#1559) 2026-09-25 05:06:43 +02:00
day-aggregator-savings.test.ts feat(models): carry the billing route on the call and key model rows on it (#1448) 2026-09-17 13:32:34 +02:00
day-aggregator.test.ts fix: key the daily project split per real path, not per label (#1679) 2026-10-08 00:39:18 +02:00
default-today-period.test.ts feat: open the interactive dashboard on today, falling back to 7 days when today is empty 2026-08-23 02:39:41 -07:00
defer-plans.test.ts feat(act): defer-* plan kinds for native deferral config (part 2 of #614) (#631) 2026-07-16 19:01:54 -07:00
dev-command.test.ts fix: make npm run dev work on Windows (#1629) 2026-10-09 13:38:06 +02:00
devices-json.test.ts fix(cache-lock): coalesce heartbeat ticks; make time-sensitive tests deterministic (#1559) 2026-09-25 05:06:43 +02:00
discovery-concurrency.test.ts perf: fan out the discovery sweep instead of walking it one syscall at a time 2026-08-22 15:52:47 -07:00
doctor.test.ts fix(dsh): count every dropped session toward doctor 2026-09-12 03:48:52 -07:00
dsh-cache-invalidation.test.ts Fix interleaved DSH accounting and preserve inclusive output 2026-09-11 21:12:15 +08:00
durable-publish-guard.test.ts fix: never hold back a save for any durable-source provider (#1514) 2026-09-21 00:38:33 +02:00
durable-underread-reconcile.test.ts fix(daily-cache): keep the reconcile from rewriting a day's carried mark 2026-09-12 04:58:13 -07:00
editor-data-paths.test.ts Honor redirected Copilot and Cursor storage roots (#1624) 2026-10-04 22:17:28 +02:00
editor-discovery-cache.test.ts Honor redirected Copilot and Cursor storage roots (#1624) 2026-10-04 22:17:28 +02:00
env-isolation-declarations.test.ts test: consume runtime CLEARED/REDIRECTED arrays in the isolation guard 2026-08-21 18:58:21 +05:30
export.test.ts fix: four cost accuracy bugs in export and pricing (#1544) 2026-09-24 15:55:23 +02:00
fetch-utils.test.ts fix(network): add timeouts to critical-path fetches (#445) (#448) 2026-06-06 03:25:36 +02:00
flat-slice.test.ts fix(parser): flatten already-sliced previews and memoize canonical path walks 2026-08-16 01:49:10 -07:00
format-carried-cost-note.test.ts fix(dashboard): label the day-count denominator, explain durable carry-forward 2026-07-29 23:02:05 +05:30
format-mark-estimated.test.ts feat: mark estimated dollars the same way in every view (#1657) 2026-10-06 22:27:13 +02:00
format-status-bar.test.ts feat(copilot): read per-request input/cache from session-store.db 2026-08-17 17:52:01 -04:00
format-tokens.test.ts fix: uncap the Overview model table, billions token rung, unpriced calls dimming (#1443) 2026-09-17 13:53:10 +02:00
fs-utils.test.ts Raise streaming session cap to 4GB so large Codex sessions are counted (#569) 2026-06-26 01:16:56 +02:00
git-origin-repo-boundary.test.ts fix(projects): stop the git origin walk at the folder's own repo (#1707) 2026-10-10 02:55:54 +02:00
granular-history.test.ts fix(web): count legend title uniqueness in code points 2026-08-21 21:59:13 +05:30
grok-parser-pipeline.test.ts fix(grok): read per-request usage from logs/unified.jsonl (#1677) 2026-10-08 00:14:53 +02:00
guard-hooks.test.ts fix: keep macOS and Linux path behaviour exact in guard flags and Hermes 2026-09-02 15:11:01 -07:00
guard-install.test.ts fix(guard): dedupe streaming message copies in the incremental cost fold 2026-07-03 12:32:46 +02:00
hermes-cost-fallback.test.ts harden provider period and cache contracts 2026-09-02 16:18:05 +05:30
hermes-pr-links-pipeline.test.ts test: isolate the real home on Windows and make the CLI suite pass there 2026-09-02 13:43:57 -07:00
hermes-session-ledger.test.ts feat(cli): filter usage by billing route and mode (#1486) 2026-09-19 11:32:06 -07:00
hydration-interrupt-convergence.test.ts perf(cache): shard the session cache per provider 2026-08-16 19:03:12 -07:00
incremental-sweep.test.ts perf: store the session cache in day pieces (#1550) 2026-09-24 20:45:35 +02:00
ink-win.test.ts fix(ink-win): strip synchronized-update escapes instead of exact-matching them 2026-08-04 03:06:47 +03:00
kimi-stand-in-estimated.test.ts fix(models): price kimi-for-coding by the model it served on the call date (#1676) 2026-10-08 00:02:38 +02:00
kiro-cache-invalidation.test.ts perf(cache): shard the session cache per provider 2026-08-16 19:03:12 -07:00
kiro-projectpath.test.ts fix(kiro): emit workingDirectory so sync attribution can resolve the repo 2026-09-10 17:39:37 +00:00
launcher-homes.test.ts test: isolate the real home on Windows and make the CLI suite pass there 2026-09-02 13:43:57 -07:00
live-sessions.test.ts feat(dock): one Claude ring per config directory, with its own sessions and today (#1570) 2026-09-28 19:06:53 +02:00
local-model-savings.test.ts feat(cli): track local-model cost savings against a paid baseline (#421) 2026-06-01 11:06:39 +03:00
mcp-coverage.test.ts fix(optimize): price deferred MCP tools as name lines, once per call (#1720) 2026-10-10 07:05:50 +02:00
mcp-deferral.test.ts feat(act): defer-* plan kinds for native deferral config (part 2 of #614) (#631) 2026-07-16 19:01:54 -07:00
mcp-redact.test.ts fix(pr): charge pushed branches to their PR and show every PR's details (#1737) 2026-10-10 23:47:23 +02:00
mcp-server.test.ts feat(mcp): get_usage + get_savings tools with annotations, schemas, coalescing 2026-06-02 02:16:10 -07:00
mcp-tables.test.ts fix(models): treat subscription SKUs as honestly $0 2026-08-20 01:35:39 +05:30
menubar-carried-headline.test.ts test: isolate the real home on Windows and make the CLI suite pass there 2026-09-02 13:43:57 -07:00
menubar-history-project-filter.test.ts fix(usage-aggregator): slice the 365-day history by the project filter 2026-09-12 05:50:40 -07:00
menubar-installer-windows.test.ts fix(windows): Store installs get no GitHub update offer, and codeburn menubar opens the Store copy by its app id (#1520) (#1549) 2026-09-24 19:51:04 +02:00
menubar-installer.test.ts feat(update): one codeburn update command for CLI, menu bar and desktop (#1740) 2026-10-11 04:33:57 +02:00
menubar-json.test.ts fix(models): price kimi-for-coding by the model it served on the call date (#1676) 2026-10-08 00:02:38 +02:00
menubar-legacy-decode.test.ts fix(menubar): older menubar apps load again, and in-app Update restarts the app (#1548) 2026-09-24 20:07:25 +02:00
menubar-model-tokens.test.ts fix: uncap the Overview model table, billions token rung, unpriced calls dimming (#1443) 2026-09-17 13:53:10 +02:00
menubar-project-identity.test.ts fix(projects): take project row money from the day set only (#1708) 2026-10-10 02:56:00 +02:00
menubar-provider-alias-contract.test.ts test(menubar): pin every ProviderFilter case to a real CLI provider id 2026-09-02 07:55:54 -07:00
menubar-relaunch.test.ts feat(update): one codeburn update command for CLI, menu bar and desktop (#1740) 2026-10-11 04:33:57 +02:00
menubar-report-parity.test.ts test(menubar): ignore idleSeconds in the payload parity check 2026-09-02 23:18:34 -07:00
menubar-savings.test.ts kimicode: discover desktop-runtime sessions and fix menubar visibility 2026-07-23 21:31:25 +02:00
minimax.test.ts chore(pricing): refresh LiteLLM snapshot; MiniMax-M3 standard tier 2026-07-02 06:17:01 +02:00
model-breakdown.test.ts models: resolve Fireworks-hosted models to friendly display names (#787) 2026-07-20 14:22:12 -07:00
model-display-consistency-1530.test.ts fix(models): name dot-form Claude minors and future GPT ids consistently (#1531) 2026-09-28 18:48:21 +02:00
model-efficiency.test.ts 0.9.25 round 2: fixes found testing the built apps (#1517) 2026-09-21 13:53:45 +02:00
model-routes.test.ts fix(opencode): Vertex sessions no longer show $0 (#1552) 2026-09-25 00:01:02 +02:00
model-rows-reconcile.test.ts fix: model tables sum to the headline above them (#1468) 2026-09-17 15:54:14 +02:00
models-hoist.test.ts fix(models): price kimi-for-coding by the model it served on the call date (#1676) 2026-10-08 00:02:38 +02:00
models-report.test.ts feat: mark estimated dollars the same way in every view (#1657) 2026-10-06 22:27:13 +02:00
models.test.ts Copilot: count every agent round and bill exact credits in VS Code chat sessions (#1752) 2026-10-13 01:02:04 +02:00
mouse-tracking.test.ts fix: mouse tracking off by default so text selection works, m toggles it (#1562) 2026-09-25 20:17:07 +02:00
opencode-route-cache-invalidation.test.ts feat(cli): filter usage by billing route and mode (#1486) 2026-09-19 11:32:06 -07:00
opencode-vertex-cost-cache.test.ts fix(opencode): Vertex sessions no longer show $0 (#1552) 2026-09-25 00:01:02 +02:00
optimize-apply.test.ts optimize: flag sessions with a low prompt cache hit rate (#1536) 2026-09-24 02:54:50 +02:00
optimize-fs.test.ts fix(claude): attribute each call to the project of its own cwd (#1689) 2026-10-08 06:28:32 +02:00
optimize-scan-memo.test.ts Consistent period totals and incremental refresh (#1467) 2026-09-17 12:35:05 +02:00
optimize-sidechains.test.ts fix(optimize): stop flagging delivered and editing sessions as low-worth (#1719) 2026-10-10 07:05:47 +02:00
optimize-zero-edit-savings.test.ts optimize: bound zero-edit low-worth savings estimate to a recovery fraction (#640) (#691) 2026-07-16 11:09:44 -07:00
optimize.test.ts fix(optimize): stop flagging delivered and editing sessions as low-worth (#1719) 2026-10-10 07:05:47 +02:00
otel-cache-aggregation.test.ts test: isolate the real home on Windows and make the CLI suite pass there 2026-09-02 13:43:57 -07:00
overview.test.ts fix(overview): group thousands in the integer part of costs only (#1714) 2026-10-10 07:05:12 +02:00
parse-workers.test.ts perf(codex): resolve fork parents once on the main thread (#1725) 2026-10-10 07:06:15 +02:00
parser-advisor-usage.test.ts feat(claude): account for /advisor escalations under the advisor model (#659) 2026-07-16 07:42:49 -07:00
parser-antigravity-timestamp.test.ts perf(cache): shard the session cache per provider 2026-08-16 19:03:12 -07:00
parser-cache-refresh-timeout.test.ts perf(cache): shard the session cache per provider 2026-08-16 19:03:12 -07:00
parser-classify-after-slice.test.ts perf(parser): classify only the turns that survive the date slice 2026-08-17 00:09:38 -07:00
parser-claude-cwd.test.ts test: isolate the real home on Windows and make the CLI suite pass there 2026-09-02 13:43:57 -07:00
parser-claude-per-call-cwd.test.ts fix(claude): attribute each call to the project of its own cwd (#1689) 2026-10-08 06:28:32 +02:00
parser-claude-queued-prompt.test.ts Count Claude queued prompts as turns (#1582) 2026-10-02 11:48:12 +02:00
parser-compact-entry.test.ts sessions: attribute PR spend per turn instead of per session (#790) 2026-07-20 20:44:29 -07:00
parser-estimated-cost.test.ts fix(report): surface estimated costs distinctly (#688) 2026-07-16 10:46:21 -07:00
parser-filter.test.ts fix(cli): expand a leading ~ in a project pattern 2026-09-11 17:29:55 +02:00
parser-gemini-cache.test.ts test: isolate the real home on Windows and make the CLI suite pass there 2026-09-02 13:43:57 -07:00
parser-hydration-lock.test.ts test: isolate the real home on Windows and make the CLI suite pass there 2026-09-02 13:43:57 -07:00
parser-incremental-append.test.ts perf(cache): shard the session cache per provider 2026-08-16 19:03:12 -07:00
parser-large-json-scanner-parity.test.ts parser: dedupe the twin string/Buffer large-JSONL scanners (#698) 2026-07-16 12:23:06 -07:00
parser-large-json-scanner.test.ts parser: keep promptSource on lines over 32 KB 2026-08-18 12:00:29 -07:00
parser-large-session.test.ts fix(optimize): isolate sidechains from behavior 2026-08-14 02:51:54 +05:30
parser-lineage-capture.test.ts feat(parser): capture provider-recorded session lineage (CB-1 slice 1) (#1140) 2026-08-25 05:31:44 -07:00
parser-local-savings.test.ts fix: fix and improve test isolation and collision with environment (#530) 2026-06-20 13:42:10 +02:00
parser-mcp-inventory.test.ts feat(optimize): MCP tool coverage detector with cache-aware costing 2026-05-05 04:13:04 +03:00
parser-number-helpers.test.ts feat: add devin provider (#444) 2026-06-09 21:58:31 +02:00
parser-progress-keepalive.test.ts fix: address adversarial review of the timeout watchdog (F1-F7) 2026-08-22 09:58:59 -07:00
parser-proxy-codex-only.test.ts fix: fix and improve test isolation and collision with environment (#530) 2026-06-20 13:42:10 +02:00
parser-proxy-merge.test.ts fix: fix and improve test isolation and collision with environment (#530) 2026-06-20 13:42:10 +02:00
parser-proxy-pricing.test.ts test: fix the five environment-sensitive failures the first ubuntu run exposed 2026-08-04 03:38:18 +03:00
parser-rich-capture.test.ts sessions: fold subagent runs into PR attribution (#791) 2026-07-20 20:47:23 -07:00
parser-single-pass-scanner.test.ts perf(parser): single-pass field extraction in the large-line JSONL scanner 2026-07-18 17:23:34 -07:00
parser-skip-line.test.ts Merge main into feat/multi-provider-plans, remove dead tautology 2026-05-16 10:42:03 -07:00
parser-subagent-collection.test.ts feat(report): Claude-scoped agent-type breakdown 2026-06-10 11:45:28 +02:00
parser-subagent-range.test.ts fix(optimize): exclude sidechains from session heuristics (#974) 2026-08-12 20:59:12 +05:30
parser.test.ts fix(copilot): count store-row output for unclosed sessions, price grok-4.6 at xAI rates (#1652) 2026-10-06 19:15:43 +02:00
peak-hours.test.ts Track peak vs off-peak usage for first-party DeepSeek and Z.ai routes (#1561) 2026-09-28 18:48:38 +02:00
perf-harness-phase0.test.ts test(perf): add Phase 0 wait-path harness and pin main baselines 2026-08-29 23:45:46 +05:30
period-diff-boundary-parse.test.ts Compare periods: lead sentence, three tiles, day bars, top movers (#1446) 2026-09-15 23:12:12 +02:00
period-diff.test.ts fix(claude): attribute each call to the project of its own cwd (#1689) 2026-10-08 06:28:32 +02:00
phantom-spend-guard.test.ts 0.9.25: correctness, energy, menu bar and installer fixes (#1511) 2026-09-21 00:16:21 +02:00
pi-project-cwd-identity.test.ts fix(usage): fold Windows case in spend identity, qualify --json counts, drop scratch tests 2026-09-07 14:56:32 -07:00
pi-two-roots-same-basename.test.ts fix(usage): fold Windows case in spend identity, qualify --json counts, drop scratch tests 2026-09-07 14:56:32 -07:00
plan-budget-copy.test.ts fix(plan): move the Copilot credits bar onto the estimate and print whole credits (#1199) 2026-08-31 03:10:29 -07:00
plan-usage.test.ts Copilot: count every agent round and bill exact credits in VS Code chat sessions (#1752) 2026-10-13 01:02:04 +02:00
plans.test.ts feat: Google AI plan presets and the Antigravity tier label (#1683) 2026-10-07 23:34:49 +02:00
plugin-exporter.test.ts test: isolate the real home on Windows and make the CLI suite pass there 2026-09-02 13:43:57 -07:00
plugin-signing.test.ts fix(plugins): codepoint-ordered signature canonicalization; sign fails loudly on unreadable files 2026-08-28 05:52:36 -07:00
plugin-socket.test.ts test: isolate the real home on Windows and make the CLI suite pass there 2026-09-02 13:43:57 -07:00
plugin-tar-security.test.ts test: isolate the real home on Windows and make the CLI suite pass there 2026-09-02 13:43:57 -07:00
pr-insights.test.ts fix(pr): charge pushed branches to their PR and show every PR's details (#1737) 2026-10-10 23:47:23 +02:00
pricing-fallback-data.test.ts feat(pricing): automatic gap-fill from models.dev and OpenRouter (#457) 2026-06-09 21:17:23 +02:00
progressive-cold-start.test.ts perf: paint the cold dashboard from the recent files, index the rest behind it 2026-08-23 01:37:15 -07:00
project-filter-durable-totals.test.ts fix(cli): anchor an absolute-path project pattern to a segment boundary 2026-09-11 16:12:21 +02:00
project-identity-residuals.test.ts fix(usage): fold Windows case in spend identity, qualify --json counts, drop scratch tests 2026-09-07 14:56:32 -07:00
project-key-cwd-preserve-1260.test.ts fix(usage): fold Windows case in spend identity, qualify --json counts, drop scratch tests 2026-09-07 14:56:32 -07:00
project-match-parity.test.ts feat: group projects by git repository (#1691) 2026-10-08 06:45:26 +02:00
project-path-posix-case.test.ts fix(usage): fold Windows case in spend identity, qualify --json counts, drop scratch tests 2026-09-07 14:56:32 -07:00
project-rows-sum-to-total.test.ts fix(pricing): apply Anthropic long-context tiers to Claude calls (#1716) 2026-10-10 07:05:27 +02:00
provider-display-name.test.ts fix(optimize): preserve Claude copy and use provider display names 2026-08-20 00:37:41 +05:30
provider-env-declarations.test.ts feat(providers): add Command Code (#1658) 2026-10-07 00:18:50 +02:00
provider-issues.test.ts feat: telemetry for CLI error causes, provider read failures and update results (#1702) 2026-10-09 12:47:49 +02:00
provider-phase-partial-save.test.ts fix: thread partial-progress saves into non-Claude provider phases 2026-08-22 09:39:26 -07:00
provider-probe-roots-tier2.test.ts fix(grok): read per-request usage from logs/unified.jsonl (#1677) 2026-10-08 00:14:53 +02:00
provider-probe-roots.test.ts fix(cursor-agent): read CLI sessions that exist only in ~/.cursor/chats store.db (#986) (#1556) 2026-09-25 05:16:29 +02:00
provider-registry.test.ts feat(providers): add Command Code (#1658) 2026-10-07 00:18:50 +02:00
provider-turn-grouping.test.ts test: isolate the real home on Windows and make the CLI suite pass there 2026-09-02 13:43:57 -07:00
quota-antigravity.test.ts feat: Google AI plan presets and the Antigravity tier label (#1683) 2026-10-07 23:34:49 +02:00
quota-claude-wsl.test.ts fix(windows): read the Claude quota credential from running WSL distros (#1061) (#1554) 2026-09-25 01:35:41 +02:00
quota-clinepass.test.ts fix(quota): say when Cline's saved login expired and how to renew it (#1736) 2026-10-10 21:40:52 +02:00
quota-codex-banked-resets.test.ts feat(quota): show Codex limit resets in the Plan tab, hover card and CLI 2026-09-12 14:37:24 -07:00
quota-codex-refresh.test.ts fix(windows): make the cross-process lock test poll, not spin, so it passes on Windows 2026-09-03 11:28:01 -07:00
quota-commandcode.test.ts fix(commandcode): show the monthly window (#1734) 2026-10-10 21:40:43 +02:00
quota-copilot-ghe.test.ts fix(quota): reject a Copilot host carrying a URL delimiter 2026-09-12 06:14:26 -07:00
quota-copilot-windows.test.ts fix(cli): read the Copilot plugin token from %LOCALAPPDATA% on Windows 2026-09-01 16:52:44 -07:00
quota-cursor.test.ts fix(cursor): connect Enterprise team seats on the team on-demand meter (#1553) 2026-09-25 01:33:41 +02:00
quota-devin.test.ts feat(devin): plan and quota from the Devin CLI cache (#1606) 2026-10-02 16:43:15 +02:00
quota-grok.test.ts test(quota): write credential fixtures with private permissions 2026-09-02 14:28:08 -07:00
quota-grokbot.test.ts Grok Bot: sessions, estimated spend and the weekly allowance on all three surfaces (#1462) 2026-09-16 21:17:48 +02:00
quota-providers.test.ts feat(dock): one Claude ring per config directory, with its own sessions and today (#1570) 2026-09-28 19:06:53 +02:00
quota-zai.test.ts test(quota): write credential fixtures with private permissions 2026-09-02 14:28:08 -07:00
quota-zcode.test.ts feat(quota): add ZCode (z.ai coding plan) live quota provider (#1347) 2026-09-18 18:11:08 -07:00
quota.test.ts prerelease: quota NaN guard, 10-year daily retention, test date bomb (#764) 2026-07-20 07:37:56 -07:00
release-build-contract.test.ts fix release build hermeticity 2026-09-02 16:17:28 +05:30
repo-grouping.test.ts fix(projects): take project row money from the day set only (#1708) 2026-10-10 02:56:00 +02:00
report-parse-count.test.ts 0.9.25: correctness, energy, menu bar and installer fixes (#1511) 2026-09-21 00:16:21 +02:00
reported-cost-cache.test.ts fix(crush): keep the recorded session cost through the session cache (#1618) 2026-10-04 20:31:42 +02:00
result-cache-suffix.test.ts Honor redirected Copilot and Cursor storage roots (#1624) 2026-10-04 22:17:28 +02:00
retired-providers.test.ts chore: remove Roo Code support (#1551) 2026-09-24 21:34:39 +02:00
save-cache-yields.test.ts fix(tui): keep the dashboard responsive during the cold-start fill and exit on Ctrl+C (#1142) 2026-08-25 06:08:39 -07:00
scan-progress.test.ts fix(parser): keep scan-progress out of the interactive dashboard and compare TUIs 2026-07-10 00:50:35 +02:00
scoped-run-completeness.test.ts fix(cache): record session-cache completeness per provider 2026-09-12 04:00:40 -07:00
serve-codex-session-names.test.ts feat(codex): show thread names from session_index.jsonl (#1687) 2026-10-09 13:25:13 +02:00
serve-progressive-hydration.test.ts test: isolate the real home on Windows and make the CLI suite pass there 2026-09-02 13:43:57 -07:00
serve-resident-release.test.ts 0.9.25: correctness, energy, menu bar and installer fixes (#1511) 2026-09-21 00:16:21 +02:00
serve-stdio.test.ts fix(cache-lock): coalesce heartbeat ticks; make time-sensitive tests deterministic (#1559) 2026-09-25 05:06:43 +02:00
session-cache-bounded-load.test.ts perf: store the session cache in day pieces (#1550) 2026-09-24 20:45:35 +02:00
session-cache-day-pieces.test.ts perf: store the session cache in day pieces (#1550) 2026-09-24 20:45:35 +02:00
session-cache-rich-capture.test.ts perf(cache): shard the session cache per provider 2026-08-16 19:03:12 -07:00
session-cache-shards.test.ts perf: store the session cache in day pieces (#1550) 2026-09-24 20:45:35 +02:00
session-cache-status-snapshot.test.ts fix(cache-lock): coalesce heartbeat ticks; make time-sensitive tests deterministic (#1559) 2026-09-25 05:06:43 +02:00
session-cache-v5-adoption.test.ts sessions: fold subagent runs into PR attribution (#791) 2026-07-20 20:47:23 -07:00
session-cache.test.ts Find Hermes sessions in Windows local app data (#1617) 2026-10-04 21:01:04 +02:00
session-contributions.test.ts Fix drill-through provider, day and model attribution 2026-09-12 12:22:19 -07:00
session-count-label.test.ts fix(menubar): older menubar apps load again, and in-app Update restarts the app (#1548) 2026-09-24 20:07:25 +02:00
session-period-count.test.ts fix(usage): preserve project identity and qualify incomplete session counts 2026-09-07 22:02:54 +05:30
session-why.test.ts feat(sessions): fold subagent sessions into their parent row (#1690) 2026-10-08 06:27:58 +02:00
sessions-by-branch.test.ts payload: spend by pull request and by branch; desktop Pull requests tab (#788) 2026-07-20 14:36:53 -07:00
sessions-by-pr.test.ts sessions: correlate cross-provider work with pull requests (#792) 2026-07-21 11:50:11 +02:00
sessions-report.test.ts feat: mark estimated dollars the same way in every view (#1657) 2026-10-06 22:27:13 +02:00
sessions-subagent-fold.test.ts sessions: fold subagent runs into PR attribution (#791) 2026-07-20 20:47:23 -07:00
single-pass-parse.test.ts fix(cache): record session-cache completeness per provider 2026-09-12 04:00:40 -07:00
spend-flow.test.ts fix(cache-lock): coalesce heartbeat ticks; make time-sensitive tests deterministic (#1559) 2026-09-25 05:06:43 +02:00
sqlite-readonly-parent.test.ts test: isolate the real home on Windows and make the CLI suite pass there 2026-09-02 13:43:57 -07:00
sqlite-tcc-preflight.test.ts fix: stop a Full Disk Access blocked Warp read from freezing serve, and harden the Grok Bot quota reader (#1487) 2026-09-18 15:23:22 -07:00
streak.test.ts Consistent period totals and incremental refresh (#1467) 2026-09-17 12:35:05 +02:00
surface-hydration.test.ts fix: emit hydration only while incomplete so warm serve stays byte-identical to one-shots 2026-08-23 05:33:37 -07:00
sync-attribution-cli.test.ts test: isolate the real home on Windows and make the CLI suite pass there 2026-09-02 13:43:57 -07:00
sync-attribution.test.ts test: isolate the real home on Windows and make the CLI suite pass there 2026-09-02 13:43:57 -07:00
sync-cb3-wire.test.ts test: isolate the real home on Windows and make the CLI suite pass there 2026-09-02 13:43:57 -07:00
sync-consent.test.ts test: isolate the real home on Windows and make the CLI suite pass there 2026-09-02 13:43:57 -07:00
sync-e2e.test.ts test: isolate the real home on Windows and make the CLI suite pass there 2026-09-02 13:43:57 -07:00
sync-headless-e2e.test.ts fix(sync): address PR review — https enforcement, keychain test isolation, golden ID pins 2026-07-13 16:45:39 +00:00
sync-infra-e2e.test.ts test(sync): unit, mock-IdP e2e, and developer-only integration tests 2026-07-12 16:05:34 +00:00
sync-ledger-otlp.test.ts fix(cache-lock): coalesce heartbeat ticks; make time-sensitive tests deterministic (#1559) 2026-09-25 05:06:43 +02:00
sync-project-provenance.test.ts fix(sync): trust only proven outbound project metadata 2026-08-24 16:05:35 +05:30
sync-push.test.ts fix(cache-lock): coalesce heartbeat ticks; make time-sensitive tests deterministic (#1559) 2026-09-25 05:06:43 +02:00
sync-wire-privacy.test.ts fix(sync): address project privacy review 2026-08-24 20:09:27 +05:30
sync.test.ts test: isolate the real home on Windows and make the CLI suite pass there 2026-09-02 13:43:57 -07:00
telemetry-snapshot.test.ts 0.9.25 round 2: fixes found testing the built apps (#1517) 2026-09-21 13:53:45 +02:00
token-estimate.test.ts Extract shared token estimation helper, migrate all CHARS_PER_TOKEN sites (#644) (#677) 2026-07-16 11:58:22 -07:00
update.test.ts feat(update): one codeburn update command for CLI, menu bar and desktop (#1740) 2026-10-11 04:33:57 +02:00
usage-aggregator-billable-output.test.ts fix(report): bill remaining displayed output per call 2026-08-23 18:18:57 +05:30
usage-aggregator-freshness.test.ts feat: surface-wide progressive hydration via an explicit payload marker 2026-08-23 04:49:58 -07:00
usage-aggregator-provider-scope.test.ts fix(dock): scope the glance Today row to the hovered provider 2026-09-03 08:32:20 -07:00
usage-aggregator-savings.test.ts feat(copilot): read per-request input/cache from session-store.db 2026-08-17 17:52:01 -04:00
usage-aggregator.test.ts Merge origin/main into cache-read and quota pace 2026-09-12 20:27:33 +03:00
user-timing-guard.test.tsx fix(cli): default NODE_ENV to production so Ink's React build stops leaking user-timing entries. 2026-09-07 10:27:46 -03:00
vercel-gateway-excluded-totals.test.ts fix: key the daily project split per real path, not per label (#1679) 2026-10-08 00:39:18 +02:00
warp-billing-cost-cache.test.ts 0.9.25: correctness, energy, menu bar and installer fixes (#1511) 2026-09-21 00:16:21 +02:00
web-dashboard.test.ts test: isolate the real home on Windows and make the CLI suite pass there 2026-09-02 13:43:57 -07:00
wheel-scroll.test.ts feat(tui): mouse-wheel scrolling for the dashboard viewport via SGR mouse reporting 2026-08-10 04:41:34 -07:00
windows-cli-update.test.ts feat(update): Windows tray updates the CLI through the engine (#1743) 2026-10-11 04:36:20 +02:00
work-units.test.ts fix: fold subagents into top sessions (#1694) 2026-10-08 13:08:55 +02:00
workflow-insights.test.ts fix(models): treat subscription SKUs as honestly $0 2026-08-20 01:35:39 +05:30
workflow-panel.test.ts fix(tui): floor pricing coverage so 100% means genuinely complete 2026-08-10 04:46:39 -07:00
wsl-cache-durable.test.ts windows: discover provider roots inside WSL distros (#1062) 2026-09-19 12:33:29 -07:00
wsl-cache-eviction-codex.test.ts windows: discover provider roots inside WSL distros (#1062) 2026-09-19 12:33:29 -07:00
wsl-cache-eviction.test.ts windows: discover provider roots inside WSL distros (#1062) 2026-09-19 12:33:29 -07:00
wsl-discovery.test.ts feat(mistral-vibe): scan WSL homes for sessions (#1681) 2026-10-07 23:34:15 +02:00
wsl-spawn.test.ts windows: discover provider roots inside WSL distros (#1062) 2026-09-19 12:33:29 -07:00
yield-branch-rescue.test.ts fix(yield): rescue sessions whose branch shipped past the session's window (#1476) 2026-09-18 17:10:27 -07:00
yield-overlap-attribution.test.ts fix(cli): judge a pattern against the day cache, and never on screen 2026-09-11 17:29:55 +02:00
yield-repo-grouping.test.ts fix(cli): judge a pattern against the day cache, and never on screen 2026-09-11 17:29:55 +02:00
yield.test.ts yield: single-owner commit attribution, ambiguous bucket, heuristic caveat (#692) 2026-07-16 13:09:26 -07:00