Skip to content

Persist remote-control RPC preferences in managed daemon settings - #52304

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

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/2baf261ed62f7c7ad87c9779ffb91c59e923f0f8

Conversation

@copyberry

@copyberry copyberry Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Persist remote-control RPC preferences in managed daemon settings

Why

Durable remote-control RPC changes need to update the managed daemon's launch settings so future launches use the saved preference.

What changed

  • Save non-ephemeral remoteControl/enable and remoteControl/disable requests to remoteControlEnabled in app-server-daemon/settings.json for managed daemons.
  • Preserve other settings and write updates atomically. Skip persistence when daemon.lock is held so concurrent lifecycle operations take precedence without blocking the RPC.
  • Leave daemon settings untouched for ephemeral requests and unmanaged servers.

Testing

Add integration coverage for durable enable and disable, ephemeral requests, and lock contention. Extend the unmanaged-server test to verify that no daemon settings file is created.

…2304)

## Why

Durable remote-control RPC changes need to update the managed daemon's launch settings so future launches use the saved preference.

## What changed

- Save non-ephemeral `remoteControl/enable` and `remoteControl/disable` requests to `remoteControlEnabled` in `app-server-daemon/settings.json` for managed daemons.
- Preserve other settings and write updates atomically. Skip persistence when `daemon.lock` is held so concurrent lifecycle operations take precedence without blocking the RPC.
- Leave daemon settings untouched for ephemeral requests and unmanaged servers.

## Testing

Add integration coverage for durable enable and disable, ephemeral requests, and lock contention. Extend the unmanaged-server test to verify that no daemon settings file is created.

GitOrigin-RevId: 2baf261ed62f7c7ad87c9779ffb91c59e923f0f8
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/2baf261ed62f7c7ad87c9779ffb91c59e923f0f8 branch from fdf13e2 to 99aa053 Compare October 8, 2026 22:42
@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review 🔄 Running since 2026-10-08T22:42:23.980396Z fdf13e2 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@copyberry
copyberry Bot merged commit 99aa053 into main Oct 8, 2026
1 check passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/2baf261ed62f7c7ad87c9779ffb91c59e923f0f8 branch October 8, 2026 22:42
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 8, 2026
@RowboTony
RowboTony deployed to issue-triage October 8, 2026 22:54 — with Image GitHub Actions Active
@RowboTony
RowboTony deployed to issue-triage October 8, 2026 22:54 — with Image GitHub Actions Active
@RowboTony
RowboTony deployed to issue-triage October 8, 2026 22:54 — with Image GitHub Actions Active
@RowboTony
RowboTony deployed to issue-triage October 8, 2026 22:56 — with Image GitHub Actions Active
@tylerwaltz
tylerwaltz deployed to issue-triage October 8, 2026 23:02 — with Image GitHub Actions Active
@tylerwaltz
tylerwaltz deployed to issue-triage October 8, 2026 23:02 — with Image GitHub Actions Active
@tylerwaltz
tylerwaltz deployed to issue-triage October 8, 2026 23:02 — with Image GitHub Actions Active
@sepa79
sepa79 deployed to issue-triage October 8, 2026 23:11 — with Image GitHub Actions Active
@sepa79
sepa79 deployed to issue-triage October 8, 2026 23:11 — with Image GitHub Actions Active
@sepa79
sepa79 deployed to issue-triage October 8, 2026 23:11 — with Image GitHub Actions Active
@bbs-seg
bbs-seg deployed to issue-triage October 8, 2026 23:11 — with Image GitHub Actions Active
@bbs-seg
bbs-seg deployed to issue-triage October 8, 2026 23:11 — with Image GitHub Actions Active
@bbs-seg
bbs-seg deployed to issue-triage October 8, 2026 23:11 — with Image GitHub Actions Active
@ezrapark
ezrapark deployed to issue-triage October 8, 2026 23:12 — with Image GitHub Actions Active
@ezrapark
ezrapark deployed to issue-triage October 8, 2026 23:12 — with Image GitHub Actions Active
@ezrapark
ezrapark deployed to issue-triage October 8, 2026 23:12 — with Image GitHub Actions Active
@sepa79
sepa79 deployed to issue-triage October 8, 2026 23:12 — with Image GitHub Actions Active
@makki003
makki003 deployed to issue-triage October 8, 2026 23:15 — with Image GitHub Actions Active
@makki003
makki003 deployed to issue-triage October 8, 2026 23:15 — with Image GitHub Actions Active
@makki003
makki003 deployed to issue-triage October 8, 2026 23:15 — with Image GitHub Actions Active
@makki003
makki003 deployed to issue-triage October 8, 2026 23:17 — with Image GitHub Actions Active
@getrdone
getrdone deployed to issue-triage October 8, 2026 23:18 — with Image GitHub Actions Active
@getrdone
getrdone deployed to issue-triage October 8, 2026 23:18 — with Image GitHub Actions Active
@getrdone
getrdone deployed to issue-triage October 8, 2026 23:18 — with Image GitHub Actions Active
@getrdone
getrdone deployed to issue-triage October 8, 2026 23:19 — with Image GitHub Actions Active
@netmet
netmet deployed to issue-triage October 8, 2026 23:22 — with Image GitHub Actions Active
@netmet
netmet deployed to issue-triage October 8, 2026 23:22 — with Image GitHub Actions Active
@netmet
netmet deployed to issue-triage October 8, 2026 23:22 — with Image GitHub Actions Active
@zoxknez
zoxknez deployed to issue-triage October 8, 2026 23:29 — with Image GitHub Actions Active

This branch was successfully deployed

1 active deployment
issue-triage — 99aa0534 Deployed Oct 8, 2026 by COOLak via Identify potential duplicates (open issues fallback) #53395
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.