Skip to content

Worktrees Auto-delete limit setting is ignored for SSH worktrees #39901

Description

@faucct

What version of the Codex App are you using (From “About Codex” dialog)?

Version 26.814.41957

What subscription do you have?

Enterprise

What platform is your computer?

Darwin 25.4.0 arm64 arm

What issue are you seeing?

The Mac Codex App has been prematurely deleting the remote worktrees on the server, I've made it SSH to.
I've changed the limit in the App to 150 and thought this will fix the problem, but the cleanup has happened again and there are 15 remote worktrees again.
Now I've tried copying the configuration to remote ~/.codex/config.toml, but don't know if it'll help:

[desktop]
worktree-keep-count = 150

What steps can reproduce the bug?

Add SSH connection to Mac Codex App, increase the worktrees limit and try creating more than 15 remote worktrees.

What is the expected behavior?

It will not remote the extra worktrees.

Additional information

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appIssues related to the Codex desktop appbugSomething isn't workingconfigIssues involving config.toml, config keys, config merging, or config updatesremote

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions