Skip to content

close worktree when thread archived and/or offer a button in the UI to close worktree #13017

Closed as not planned

Description

@emmerich

What variant of Codex are you using?

App

What feature would you like to see?

Typically towards the end of a thread with Codex I want to be able to checkout the working branch locally - either to run some local tools that don't support worktrees, or to make some final code changes.

I can't do that whilst codex is in its worktree:

fatal: 'feat/some-feature' is already used by worktree at '/Users/stevenh/.codex/worktrees/d721/my-project'

I'd like codex to automatically close worktrees when I archive the thread, or just give me a button to do it, probably here:

Image

Additional information

No response

Activity

  1. github-actions commented on Feb 27, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  2. etraut-openai commented on May 2, 2026

    @etraut-openai
    Contributor

    This feature request hasn't received enough upvotes, so I'm closing it.

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 appenhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions