Skip to content

Use server model defaults for connected TUI fresh starts - #50913

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/8fe1485c6e66c8d46560b34d904ce1724458993a
Oct 4, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/8fe1485c6e66c8d46560b34d904ce1724458993a

Conversation

@copyberry

@copyberry copyberry Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

Use server model defaults for connected TUI fresh starts

Why

Fresh starts connected to an app server can bootstrap with stale client model settings before reading the server configuration. An empty model catalog can also prevent startup even when managed new-thread defaults provide a model.

What changed

  • Read server configuration before model bootstrap for fresh starts using a local daemon or remote server without an explicit profile.
  • Preserve explicit model and reasoning-effort overrides, clear implicit client settings when config/read is unsupported, and allow managed new-thread defaults to supply a model when the catalog is empty.
  • Use the launch directory for local daemon configuration reads and the server directory for remote reads.

Testing

Update startup-default tests to cover managed model selection with an empty catalog. Strengthen the reconnect test with a stale client model and an assertion that config/read uses the server directory.

## Why

Fresh starts connected to an app server can bootstrap with stale client model settings before reading the server configuration. An empty model catalog can also prevent startup even when managed new-thread defaults provide a model.

## What changed

- Read server configuration before model bootstrap for fresh starts using a local daemon or remote server without an explicit profile.
- Preserve explicit model and reasoning-effort overrides, clear implicit client settings when `config/read` is unsupported, and allow managed new-thread defaults to supply a model when the catalog is empty.
- Use the launch directory for local daemon configuration reads and the server directory for remote reads.

## Testing

Update startup-default tests to cover managed model selection with an empty catalog. Strengthen the reconnect test with a stale client model and an assertion that `config/read` uses the server directory.

GitOrigin-RevId: 8fe1485c6e66c8d46560b34d904ce1724458993a
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/8fe1485c6e66c8d46560b34d904ce1724458993a branch from cf19e83 to c2f7fe8 Compare October 4, 2026 16:57
@copyberry
copyberry Bot merged commit c2f7fe8 into main Oct 4, 2026
5 of 8 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/8fe1485c6e66c8d46560b34d904ce1724458993a branch October 4, 2026 16:57
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 4, 2026
@amitkrguptag
amitkrguptag deployed to issue-triage October 4, 2026 16:59 — with GitHub Actions Active
@amitkrguptag
amitkrguptag deployed to issue-triage October 4, 2026 16:59 — with GitHub Actions Active
@amitkrguptag
amitkrguptag deployed to issue-triage October 4, 2026 16:59 — with GitHub Actions Active
@Kizron
Kizron deployed to issue-triage October 4, 2026 17:04 — with GitHub Actions Active
@Kizron
Kizron deployed to issue-triage October 4, 2026 17:04 — with GitHub Actions Active
@Kizron
Kizron deployed to issue-triage October 4, 2026 17:04 — with GitHub Actions Active
@Kizron
Kizron deployed to issue-triage October 4, 2026 17:05 — with GitHub Actions Active
@n2dea6542845
n2dea6542845 deployed to issue-triage October 4, 2026 17:05 — with GitHub Actions Active
@n2dea6542845
n2dea6542845 deployed to issue-triage October 4, 2026 17:05 — with GitHub Actions Active
@n2dea6542845
n2dea6542845 deployed to issue-triage October 4, 2026 17:05 — with GitHub Actions Active
@jrp121
jrp121 deployed to issue-triage October 4, 2026 17:09 — with GitHub Actions Active
@jrp121
jrp121 deployed to issue-triage October 4, 2026 17:09 — with GitHub Actions Active
@jrp121
jrp121 deployed to issue-triage October 4, 2026 17:09 — with GitHub Actions Active
@jrp121
jrp121 deployed to issue-triage October 4, 2026 17:10 — with GitHub Actions Active
@sunnyren1
sunnyren1 deployed to issue-triage October 4, 2026 17:13 — with GitHub Actions Active
@sunnyren1
sunnyren1 deployed to issue-triage October 4, 2026 17:13 — with GitHub Actions Active
@sunnyren1
sunnyren1 deployed to issue-triage October 4, 2026 17:13 — with GitHub Actions Active
@Darkeye7778
Darkeye7778 deployed to issue-triage October 4, 2026 17:14 — with GitHub Actions Active
@Darkeye7778
Darkeye7778 deployed to issue-triage October 4, 2026 17:14 — with GitHub Actions Active
@Darkeye7778
Darkeye7778 deployed to issue-triage October 4, 2026 17:14 — with GitHub Actions Active
@J-ShuJie
J-ShuJie deployed to issue-triage October 4, 2026 17:36 — with GitHub Actions Active
@J-ShuJie
J-ShuJie deployed to issue-triage October 4, 2026 17:36 — with GitHub Actions Active
@J-ShuJie
J-ShuJie deployed to issue-triage October 4, 2026 17:36 — with GitHub Actions Active
@J-ShuJie
J-ShuJie deployed to issue-triage October 4, 2026 17:37 — with GitHub Actions Active
@fugamante
fugamante deployed to issue-triage October 4, 2026 17:44 — with GitHub Actions Active
@BoredChick
BoredChick deployed to issue-triage October 4, 2026 18:02 — with GitHub Actions Active
@BoredChick
BoredChick deployed to issue-triage October 4, 2026 18:02 — with GitHub Actions Active
@BoredChick
BoredChick deployed to issue-triage October 4, 2026 18:02 — with GitHub Actions Active
@jonathansull
jonathansull deployed to issue-triage October 4, 2026 18:02 — with GitHub Actions Active
@jonathansull
jonathansull deployed to issue-triage October 4, 2026 18:02 — with GitHub Actions Active
@jonathansull
jonathansull deployed to issue-triage October 4, 2026 18:02 — with GitHub Actions Active
@jonathansull
jonathansull deployed to issue-triage October 4, 2026 18:03 — with GitHub Actions Active
@phanjen
phanjen deployed to issue-triage October 4, 2026 18:09 — with GitHub Actions Active
@phanjen
phanjen deployed to issue-triage October 4, 2026 18:09 — with GitHub Actions Active
@phanjen
phanjen deployed to issue-triage October 4, 2026 18:09 — with GitHub Actions Active
@RustyNeuron
RustyNeuron deployed to issue-triage October 4, 2026 18:35 — with GitHub Actions Active
@RustyNeuron
RustyNeuron deployed to issue-triage October 4, 2026 18:35 — with GitHub Actions Active
@RustyNeuron
RustyNeuron deployed to issue-triage October 4, 2026 18:35 — with GitHub Actions Active
@vi3e3e3w
vi3e3e3w deployed to issue-triage October 4, 2026 18:35 — with GitHub Actions Active
@vi3e3e3w
vi3e3e3w deployed to issue-triage October 4, 2026 18:35 — with GitHub Actions Active
@vi3e3e3w
vi3e3e3w deployed to issue-triage October 4, 2026 18:35 — with GitHub Actions Active
@vi3e3e3w
vi3e3e3w deployed to issue-triage October 4, 2026 18:36 — with GitHub Actions Active
@RustyNeuron
RustyNeuron deployed to issue-triage October 4, 2026 18:36 — with GitHub Actions Active
@CharGrnmn
CharGrnmn deployed to issue-triage October 4, 2026 18:40 — with GitHub Actions Active
@CharGrnmn
CharGrnmn deployed to issue-triage October 4, 2026 18:40 — with GitHub Actions Active
@CharGrnmn
CharGrnmn deployed to issue-triage October 4, 2026 18:40 — with GitHub Actions Active
@CharGrnmn
CharGrnmn deployed to issue-triage October 4, 2026 18:41 — with GitHub Actions Active
@berkyuo2-cpu
berkyuo2-cpu deployed to issue-triage October 4, 2026 18:41 — with GitHub Actions Active
@berkyuo2-cpu
berkyuo2-cpu deployed to issue-triage October 4, 2026 18:41 — with GitHub Actions Active
@berkyuo2-cpu
berkyuo2-cpu deployed to issue-triage October 4, 2026 18:41 — with GitHub Actions Active

This branch was successfully deployed

1 active deployment
issue-triage — c2f7fe89 Deployed Oct 4, 2026 by tawanab49 via Identify potential duplicates (all issues) #51782
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.