Skip to content

fix(web): keep usage pace lines on weekly windows and fix Antigravity Windows User-Agent - #1087

Merged
badcuban merged 1 commit into
mainfrom
fix/provider-usage-display
Nov 24, 2026
Merged

badcuban merged 1 commit into
mainfrom
fix/provider-usage-display

Conversation

@badcuban

Copy link
Copy Markdown
Collaborator

Short 5-hour session usage bars showed pace marks and "ahead of pace" labels even though burst usage inside a 5-hour window is normal. Separately, Antigravity's Cloud Code quota requests sent Node's process.platform and process.arch values (win32, x64) instead of the Go client values (windows, amd64).

Changes

  • Limit pace marks (elapsedPercent, paceDetail) and "ahead of pace" copy to windows of a week or longer (>= 7d), omitting them on 5-hour session bars across the composer popover, Usage page, and Settings.
  • Update the app guide to reflect that pace marks apply to weekly and longer windows.
  • Normalize Antigravity's Cloud Code User-Agent (win32 -> windows, x64 -> amd64, ia32 -> 386).

Verification

  • vp fmt, vp lint, vp run typecheck
  • Unit tests: providerUsage, usageView, AntigravityUsage, guide
  • Full web browser suite (vp run --cache '@threadlines/web#test:browser', 118 files / 1,208 tests)

… Windows User-Agent

Short 5-hour session usage bars showed pace marks and 'ahead of pace' copy even though burst usage inside a 5-hour window is normal. Separately, Antigravity's Cloud Code quota request sent Node platform and architecture names (win32, x64) instead of the Go client names (windows, amd64).

- Limit usage bar pace marks and 'ahead of pace' copy to weekly and longer windows (7 days or more) in providerUsage, and update the app guide to match.
- Normalize Antigravity's Cloud Code User-Agent to map win32 -> windows, x64 -> amd64, and ia32 -> 386.
@vercel

vercel Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
threadlines Skipped Skipped Nov 24, 2026 7:36am UTC

Request Review

@badcuban
badcuban enabled auto-merge November 24, 2026 07:36
@badcuban
badcuban added this pull request to the merge queue Nov 24, 2026
Merged via the queue into main with commit 652ab78 Nov 24, 2026
25 checks passed
@badcuban
badcuban deleted the fix/provider-usage-display branch November 24, 2026 07:47

This branch was previously deployed

1 inactive deployment
Preview — 5ed6e908 Deployed Nov 24, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant