GeezerVison is showing github.com — refactor(contracts): trim unused client API runtime exports by juliusmarminge · Pull Request #10169 · pingdotgg/t3code
Conversation
Client API modules export implementation constants and HTTP groups that have no external consumers.
Keep those runtime values private and remove the unused isExternalLauncherError predicate and its server re-export. Preserve client schemas, auth schemas, and API types, including EnvironmentApi. This is now five files, not the previous schema/type cleanup.
Verification: contracts and consumer typechecks pass; existing contracts tests and the integrated Knip gate pass. No existing tests were changed or removed.
Follows #10168.
Model: gpt-6 astra. Harness: Codex in T3 Code.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Thread transfer impact
✅ Thread transfer remains within every enforced ceiling.
ℹ️ No successful main baseline artifact is available yet. This run establishes the initial measurement.
| Provider |
Metric |
Main baseline |
This PR |
Impact |
PR ceiling |
|
| Codex |
Total thread wire |
— |
13.6 KiB |
— |
15.1 KiB |
✅ |
| Codex |
Thread snapshot wire |
— |
7.0 KiB |
— |
7.3 KiB |
✅ |
| Codex |
Live turn WebSocket wire |
— |
6.6 KiB |
— |
7.8 KiB |
✅ |
| Codex |
Live turn WebSocket decoded |
— |
57.1 KiB |
— |
66.4 KiB |
✅ |
| Codex |
Live turn messages |
— |
10 |
— |
21 |
✅ |
| Claude |
Total thread wire |
— |
13.6 KiB |
— |
15.1 KiB |
✅ |
| Claude |
Thread snapshot wire |
— |
7.0 KiB |
— |
7.3 KiB |
✅ |
| Claude |
Live turn WebSocket wire |
— |
6.5 KiB |
— |
7.8 KiB |
✅ |
| Claude |
Live turn WebSocket decoded |
— |
57.9 KiB |
— |
66.4 KiB |
✅ |
| Claude |
Live turn messages |
— |
10 |
— |
21 |
✅ |
Baseline: unavailable · PR result: 83986b0 · 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: 113.8 KiB
- Claude decoded thread snapshot: 114.5 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.
macroscopeapp
Bot
commented
Sep 5, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Approvability
Verdict: Approved at 83986b0
Macroscope's review found this PR approvable — This is a contained cleanup of unused runtime exports from a private contracts package. Existing schemas, endpoint groups, keybinding values, and server behavior remain unchanged.
Notes:
- Diff unchanged. Approvability was decided on eligibility alone.
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.
juliusmarminge
changed the title
refactor(contracts): prune obsolete desktop API declarations
refactor(contracts): trim unused client API runtime exports
Sep 5, 2026
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:S
10-29 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.
|