refactor(client-runtime): remove unused runtime exports and helpers#10167

merged6
cleanup-packages/shared-internals
cleanup-packages/client-internals
openedSep 5, 2026byJJulius Marminge
View on GitHubTwo-way sync enabledPR last imported 4d ago

Client runtime exposes unused helpers and layer wrappers through its internal package API.

Remove unused runtime helpers/wrappers and redundant runtime re-exports. Preserve exported types, schema values, and live web re-exports. Keep the unused vcsStatus module deletion because whole-file checks remain enforced; its stale re-export is removed with it. Retain service constructors and the non-schema error exports needed by consumers' inferred return types.

Verification: client-runtime and web typechecks pass. Existing client-runtime and affected web tests pass on the rebased stack, including the sidebar ordering and VCS suites. No existing tests were changed or removed.

Follows #10166.

Model: gpt-6 astra. Harness: Codex in T3 Code.

Synced from GitHub

Bugbot is paused — on-demand spend limit reached

Bugbot uses usage-based billing for this team and has hit its on-demand spend limit.

A team admin can raise the spend limit in the Cursor dashboard, or wait for the next billing cycle to continue.

Synced from GitHub

Thread transfer impact

✅ Thread transfer remains within every enforced ceiling.

ℹ️ No successful main baseline artifact is available yet. This run establishes the initial measurement.

ProviderMetricMain baselineThis PRImpactPR ceiling
CodexTotal thread wire—13.5 KiB—15.1 KiB✅
CodexThread snapshot wire—7.0 KiB—7.3 KiB✅
CodexLive turn WebSocket wire—6.5 KiB—7.8 KiB✅
CodexLive turn WebSocket decoded—57.0 KiB—66.4 KiB✅
CodexLive turn messages—8—21✅
ClaudeTotal thread wire—13.5 KiB—15.1 KiB✅
ClaudeThread snapshot wire—7.0 KiB—7.3 KiB✅
ClaudeLive turn WebSocket wire—6.5 KiB—7.8 KiB✅
ClaudeLive turn WebSocket decoded—57.8 KiB—66.4 KiB✅
ClaudeLive turn messages—8—21✅

Baseline: unavailable · PR result: 1de8906 · 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.

Synced from GitHub

Approvability

Verdict: Not approved

Macroscope's review found this PR not approvable — This PR primarily removes unused runtime exports and helper layers without changing active implementations or product defaults. It also modifies the client-runtime authorization package, which is a sensitive area requiring human review under the approvability criteria.

Notes:

  • Diff unchanged. Approvability was decided on eligibility alone.

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

Synced from GitHub

Bugbot is paused — on-demand spend limit reached

Bugbot uses usage-based billing for this team and has hit its on-demand spend limit.

A team admin can raise the spend limit in the Cursor dashboard, or wait for the next billing cycle to continue.

Added 6 commits

  • refactor(client-runtime): preserve live re-exports while retaining types1de8906
  • refactor(client-runtime): remove unused package exports and helpers29d1a8f
  • refactor(client-runtime): preserve inferred public error types5a40669
  • refactor(client-runtime): retain exported types and schemas6e1799b
  • refactor(web): remove stale client-runtime reexports9c4487c
  • refactor(client-runtime): retain canonical service constructors9f5e49e