Repository navigation
Add --no-daemon to bypass the shared background server - #46088
Merged
copyberry[bot] merged 1 commit intoSep 17, 2026
Merged
copyberry[bot] merged 1 commit into
copyberry[bot] merged 1 commit into
Conversation
## What changed - Run with `--no-daemon` without starting or probing the shared server, even when it is already running. Preserve the flag through `resume` and `fork`, and honor it for session archive commands. - Reject combinations with `--remote`, `codex agents`, and `codex queue`, which require a server connection. Point users to `codex --no-daemon` when the agents overview cannot start its shared server. - Centralize daemon eligibility checks and exclude launches using `--profile` or `CODEX_EXEC_SERVER_URL` from implicit daemon reuse. ## Testing Add coverage for flag propagation, incompatible command combinations, and daemon eligibility. Add a PTY test verifying that `--no-daemon` starts the TUI without creating daemon state or connecting to an existing control socket. GitOrigin-RevId: acc6a7cb339df6433bb8273c796194cdceda37c1
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/acc6a7cb339df6433bb8273c796194cdceda37c1
branch
from
September 17, 2026 02:46
9705b57 to
787823c
Compare
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/acc6a7cb339df6433bb8273c796194cdceda37c1
branch
September 17, 2026 02:47
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Add
--no-daemonto bypass the shared background serverWhat changed
--no-daemonwithout starting or probing the shared server, even when it is already running. Preserve the flag throughresumeandfork, and honor it for session archive commands.--remote,codex agents, andcodex queue, which require a server connection. Point users tocodex --no-daemonwhen the agents overview cannot start its shared server.--profileorCODEX_EXEC_SERVER_URLfrom implicit daemon reuse.Testing
Add coverage for flag propagation, incompatible command combinations, and daemon eligibility. Add a PTY test verifying that
--no-daemonstarts the TUI without creating daemon state or connecting to an existing control socket.