Skip to content

Remove Codex service tier option from settings, contracts, and turn dispatch#700

Merged
juliusmarminge merged 2 commits intomainfrom
t3code/remove-service-tier-option
Mar 9, 2026
Merged

Remove Codex service tier option from settings, contracts, and turn dispatch#700
juliusmarminge merged 2 commits intomainfrom
t3code/remove-service-tier-option

Conversation

@juliusmarminge
Copy link
Copy Markdown
Member

@juliusmarminge juliusmarminge commented Mar 9, 2026

Already have fast mode in model picker and this causes out-of-synced state:
image

Summary

  • Removed serviceTier from orchestration and provider contracts (ThreadTurnStart*, provider session/turn inputs, and ProviderServiceTier schema/type).
  • Stopped passing serviceTier through server orchestration flow and Codex adapter turn dispatch.
  • Deleted app-level Codex service tier setting/state and related resolver logic.
  • Simplified web settings UI by removing the default service tier selector and associated fast-tier badge behavior tied to that setting.
  • Updated fast badge logic/tests to use explicit fast-mode enablement instead of service-tier values.

Testing

  • Updated unit tests in apps/web/src/appSettings.test.ts for shouldShowFastTierIcon boolean fast-mode behavior.
  • Not run: bun lint.
  • Not run: bun typecheck.
  • Not run: bun run test.

Note

Medium Risk
Medium risk because it removes the serviceTier field from shared orchestration/provider contracts and from turn/session dispatch, which can break any callers still sending/expecting that property. Changes span web UI, server orchestration, and provider adapter boundaries, so mismatches will surface at runtime if any integration is missed.

Overview
Removes serviceTier from orchestration commands/events and provider API schemas (including deleting ProviderServiceTier) and stops propagating it through the server orchestration flow (decider, ProviderCommandReactor) and Codex adapter turn dispatch.

Simplifies the web app by deleting the Codex service-tier setting/UI and the fast-tier badge logic tied to that setting; chat turn dispatch no longer includes serviceTier, and related unit tests are updated accordingly.

Written by Cursor Bugbot for commit e5cdd46. This will update automatically on new commits. Configure here.

Note

Remove service tier handling across server orchestration, Codex adapter, web UI, and contracts to eliminate Codex service tier options from settings and turn dispatch

Strip serviceTier from orchestration commands/events, provider session/turn inputs, Codex adapter sendTurn forwarding, and web UI/settings, and update call sites to pass undefined provider options; see ProviderCommandReactor.ts, decider.ts, CodexAdapter.ts, and contract schemas in orchestration.ts and provider.ts.

📍Where to Start

Start with orchestration.Layers.ProviderCommandReactor.ensureSessionForThread and sendTurnForThread in ProviderCommandReactor.ts, then review contract schema removals in orchestration.ts.

Macroscope summarized e5cdd46.

- Drop `serviceTier` from orchestration/provider contracts and server dispatch paths
- Remove service-tier app setting/UI and related resolver logic
- Keep fast badge behavior tied to explicit fast-mode boolean
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 9, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 8af4640c-6dc8-4e72-bc80-282c7223efe1

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch t3code/remove-service-tier-option

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions bot added the vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. label Mar 9, 2026
- delete `shouldShowFastTierIcon` and its test
- remove Zap icon badges from slash model commands and provider model picker
- simplify related ChatView props and memo dependencies
@juliusmarminge juliusmarminge merged commit 081a6da into main Mar 9, 2026
8 checks passed
@juliusmarminge juliusmarminge deleted the t3code/remove-service-tier-option branch March 9, 2026 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant