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
Bot
commented
Aug 20, 2026
•
edited by macroscopeapp
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
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
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.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
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.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
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.
Uh oh!
There was an error while loading. Please reload this page.
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.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
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.

❌ 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.
Uh oh!
There was an error while loading. Please reload this page.
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.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
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.
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.
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.
|