GeezerVison is showing github.com (truncated) — feat(settings): providers can be turned on or off per project by yordis · Pull Request #17879 · pingdotgg/t3code
Conversation
yordis
commented
Oct 10, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Problem
With a project selected, Settings > Providers reads as if a provider can be turned off for that project, but the switch changes the whole machine. Turning a provider off for one repository silently turns it off for every project on that environment, and there is no way to turn on a provider for one project while it stays off for the machine.
Change
- Projects get a per-instance provider override (
projectSettingsOverrides[projectId].providerInstances) that falls back to the machine value when unset. The Providers page writes it when a project is in scope, for every checkout of that project on the selected machine, and offers a reset back to the machine value.
- The server enforces the effective value wherever a turn can start: new threads, sends, queued messages, follow-ups from delegated tasks, agent-started child threads and delegations over MCP, and scheduled tasks. A turn already running when the switch flips finishes, and a delegated task's result still lands in its parent thread. A command receipt skips the check so retries still replay.
- Clients that predate the override keep a project's stored value when they save other project settings, and deleting a project drops its override so it does not linger in settings.
- A machine-disabled instance that some project turned on stays running, so that project can still use it.
- Text generation moves to a fallback instance when its configured instance is off for the project, using the same fallback order as the machine-level guard. Machine-level fallback is unchanged.
- Web and mobile pickers, automatic routing, and send paths read the per-project value. On mobile, sending a model the project turned off puts the message back in the composer and points the user to the project's provider settings instead of asking them to set up the provider.
Scope and approval
There is no linked issue. Project-scoped settings overrides and the project scope on the Settings page already exist; this makes the provider switch that page already shows apply to the selected project instead of the whole machine. It adds no new settings surface or workflow.
Verification
vp test run on the touched suites: packages/shared/src/projectSettings.test.ts, apps/server/src/mcp/OrchestratorMcpService.test.ts, apps/server/src/orchestration-v2/ThreadMessageIntake.test.ts, apps/server/src/orchestration-v2/ThreadManagementService.test.ts, apps/web/src/components/settings/ProviderSettingsPanel.logic.test.ts, apps/web/src/components/settings/settingsScope.test.ts, apps/mobile/src/lib/modelOptions.test.ts, apps/mobile/src/state/thread-outbox.test.ts. All pass.
- The new tests cover: a project turning off a machine-enabled instance and turning on a machine-disabled one; retries replaying past the gate; driver-only delegation skipping a turned-off instance; text generation falling back for the project only; the override being written to every checkout of a project; and mobile refusing to send a model the project turned off, for any provider.
tsc --noEmit for server, web, and mobile, plus targeted lint on changed files, report no errors.
- Screenshots below are from the desktop client.
Sorry, something went wrong.
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 adds a broad project-scoped provider capability across persisted settings, server orchestration, provider lifecycle, MCP/queue handling, web, and mobile clients. It also changes effective model fallback/default behavior for affected projects, so the cross-cutting runtime and product behavior warrant 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.
coderabbitai
Bot
commented
Oct 10, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|

Note
Reviews paused
It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.
Use the following commands to manage reviews:
@coderabbitai resume to resume automatic reviews.
@coderabbitai review to trigger a single review.
Use the checkboxes below for quick actions:
- ▶️ Resume reviews
- 🔍 Trigger review
📝 Walkthrough
-
📝 Walkthrough
-
📝 Walkthrough
-
-
📝 Walkthrough
-
-
-
📝 Walkthrough
-
-
-
-
📝 Walkthrough
-
-
-
-
-
📝 Walkthrough
-
-
-
-
-
-
📝 Walkthrough
-
-
-
-
-
-
-
📝 Walkthrough
-
-
-
-
-
-
-
-
📝 Walkthrough
-
-
-
-
-
-
-
-
-
📝 Walkthrough
-
-
-
-
-
-
-
-
-
-
📝 Walkthrough
-
-
-
-
-
-
-
-
-
-
-
📝 Walkthrough
-
-
-
-
-
-
-
-
-
-
-
-
📝 Walkthrough
-
-
-
-
-
-
-
-
-
-
-
-
-
📝 Walkthrough
-
-
-
-
-
-
-
-
-
-
| |