GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: hide disabled providers from usage by t3-code-bot[bot] · Pull Request #7645 · pingdotgg/t3code

Conversation

@t3-code-bot

@t3-code-bot t3-code-bot Bot commented Aug 20, 2026 •
edited by macroscopeapp Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

what changed

  • stop scanning usage transcripts when every instance of a provider driver is disabled
  • hide disabled providers from web usage rows, charts, tooltips, and time breakdowns
  • keep legacy provider settings and multiple provider instances working
  • document the behavior and add server/chart regressions

why

the usage service always returned claude and codex sources, and the web page rendered a fixed provider list. disabled providers therefore remained visible and could still contribute historical usage.

ui changes

disabled providers are removed from the existing usage layout. no styling changed.

browser screenshots are not attached because chrome could not launch in the verification environment. the real development server started successfully, and server/chart regression tests cover the behavior.

checklist

  • this pr is small and focused
  • i explained what changed and why
  • i included before/after screenshots for any ui changes
  • no animation or interaction changed

testing

  • vp run --filter t3 test (2,615 passed, 7 skipped)
  • vp run --filter @t3tools/shared test (358 passed)
  • vp run --filter @t3tools/web test (2,651 passed)
  • vp run --filter t3 typecheck
  • vp run --filter @t3tools/shared typecheck
  • vp run --filter @t3tools/web typecheck
  • vp run --filter @t3tools/web build
  • changed-file lint and format checks

request provenance

  • requested by: @maria-rcks

Note

Medium Risk
Changes how usage paths are resolved (multi-instance, legacy, env) and what the UI displays; behavior is covered by new tests but affects reporting accuracy for mixed enablement setups.

Overview
Usage now respects which provider instances are enabled, instead of always scanning Claude and Codex and showing both on the page.

On the server, transcript directories are built from enabled claudeAgent and codex instances (including legacy settings and per-instance homePath / env overrides), with deduplication when multiple instances share the same path. Disabled drivers are not scanned and do not appear in summary sources.

The web Usage page derives the provider list from non-stale environment summary sources, so side stats, charts, tooltips, and time breakdowns only show providers that actually contributed. UsageProviderChart takes an explicit providers list rather than a fixed order.

Adds getEnabledProviderDriverInstances in shared server settings, server UsageService tests, a chart regression test, and user docs noting disabled providers are excluded.

Reviewed by Cursor Bugbot for commit 42d4669. Bugbot is set up for automated code reviews on this repo. Configure here.

Note

Hide disabled providers from usage summaries and charts

  • UsageService.readSummary now resolves source directories per enabled provider instance via getEnabledProviderDriverInstances, decoding each instance's config, merging per-instance environment, and deduplicating provider+dir pairs. Disabled or invalidly-configured instances are skipped.
  • Adds getEnabledProviderDriverInstances in serverSettings.ts to return a normalized list of enabled instances per driver, including legacy settings when no explicit default instance exists.
  • UsagePage and UsageProviderChart derive the provider list from current environment summaries and render only those providers in tables and charts.
  • Risk: UsageProviderChart now requires a providers prop; any caller not passing it will fail to compile.

Macroscope summarized 42d4669.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@t3-code-bot @maria-rcks
fix: hide disabled providers from usage
59cf95f
Co-authored-by: maria <[email protected]>
@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:L 100-499 changed lines (additions + deletions). labels Aug 20, 2026
macroscopeapp[bot]
macroscopeapp Bot reviewed Aug 20, 2026
View reviewed changes
Comment thread apps/web/src/components/usage/UsagePage.tsx Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread packages/shared/src/serverSettings.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

@github-actions

github-actions Bot commented Aug 20, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Thread transfer impact

✅ Thread transfer remains within every enforced ceiling.

Provider Metric Main baseline This PR Impact PR ceiling
Codex Total thread wire 13.4 KiB 13.4 KiB −16 B (−0.1%) 15.1 KiB ✅
Codex Thread snapshot wire 6.9 KiB 6.9 KiB +5 B (+0.1%) 7.3 KiB ✅
Codex Live turn WebSocket wire 6.6 KiB 6.5 KiB −21 B (−0.3%) 7.8 KiB ✅
Codex Live turn WebSocket decoded 55.0 KiB 55.0 KiB 0 B (0.0%) 66.4 KiB ✅
Codex Live turn messages 16 16 0 (0.0%) 21 ✅
Claude Total thread wire 13.4 KiB 13.4 KiB +27 B (+0.2%) 15.1 KiB ✅
Claude Thread snapshot wire 6.9 KiB 6.9 KiB +6 B (+0.1%) 7.3 KiB ✅
Claude Live turn WebSocket wire 6.5 KiB 6.5 KiB +21 B (+0.3%) 7.8 KiB ✅
Claude Live turn WebSocket decoded 55.8 KiB 55.8 KiB 0 B (0.0%) 66.4 KiB ✅
Claude Live turn messages 16 16 0 (0.0%) 21 ✅

Baseline: f708f63 · PR result: 42d4669 · Source CI: success

Scenario and decoded snapshot size

10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.

  • Codex decoded thread snapshot: 109.4 KiB
  • Claude decoded thread snapshot: 110.1 KiB

Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

cursor[bot]
cursor Bot reviewed Aug 20, 2026
View reviewed changes
Comment thread apps/server/src/usage/UsageService.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

macroscopeapp[bot]
macroscopeapp Bot reviewed Aug 20, 2026
View reviewed changes

@macroscopeapp macroscopeapp Bot left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One finding: the loading skeleton no longer matches the loaded page shape once a provider is hidden. See the inline comment.

Posted via Macroscope — UI Consistency

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread apps/web/src/components/usage/UsagePage.tsx Resolved

Uh oh!

There was an error while loading. Please reload this page.

@macroscopeapp

macroscopeapp Bot commented Aug 20, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Not approved

Macroscope's review found this PR not approvable — This PR changes runtime behavior by filtering which providers appear in usage views based on their enabled/disabled status - previously all providers were shown. While well-implemented with tests, this behavior change affects what data users see and warrants human review.

You can add or adjust custom eligibility rules. Learn more.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

t3-code-bot Bot and others added 2 commits August 20, 2026 07:09
@t3-code-bot @maria-rcks
fix: ignore stale usage environments
e16249a
Co-authored-by: maria <[email protected]>
@t3-code-bot @maria-rcks
fix: preserve enabled provider defaults
29ab4d4
Co-authored-by: maria <[email protected]>
macroscopeapp[bot]
macroscopeapp Bot reviewed Aug 20, 2026
View reviewed changes
Comment thread apps/server/src/usage/UsageService.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

cursor[bot]
cursor Bot reviewed Aug 20, 2026
View reviewed changes

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 29ab4d4. Configure here.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread apps/web/src/components/usage/UsagePage.tsx Resolved

Uh oh!

There was an error while loading. Please reload this page.

@t3-code-bot @maria-rcks
fix: honor provider environment homes
42d4669
Co-authored-by: maria <[email protected]>
@tris203 tris203 mentioned this pull request Sep 26, 2026
fix(usage): omit Cursor warning when no login is saved #13820
Merged
@juliusmarminge ChatGPT Codex Connector

juliusmarminge commented Sep 30, 2026

Copy link
Copy Markdown
Member

Note

This comment is posted by Julius' dot

Closing under the verification rule. This changes the visible provider rows, charts, tooltips and breakdown columns, but the PR explicitly omits before/after screenshots. The server and chart tests do not demonstrate the rendered page. Please attach before/after captures with a provider disabled, then request reconsideration.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge juliusmarminge closed this Sep 30, 2026
@chark1es chark1es mentioned this pull request Oct 26, 2026
feat(usage): choose which CLIProxy hub accounts appear in Limits #25385
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@macroscopeapp macroscopeapp[bot] macroscopeapp[bot] left review comments
@cursor cursor[bot] cursor[bot] left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size:L 100-499 changed lines (additions + deletions). vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@juliusmarminge
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.