Skip to content

Git rebase often hangs because conflicts aren’t surfaced to the model #5560

Closed

Description

@shanev

What version of Codex is running?

codex-cli 0.47.0

What subscription do you have?

Pro

Which model were you using?

gpt-5-codex

What platform is your computer?

Darwin 25.0.0 arm64 arm

What issue are you seeing?

git rebase often hangs forever.

Why?

When git rebase stops on conflicts, Codex kept treating the run as a generic failure because parse_git_apply_output never recognized the CONFLICT (…) lines that rebase emits. The downstream tooling got an empty conflicted_paths, so the agent couldn’t tell which files to inspect and ended up stuck.

What steps can reproduce the bug?

Run a task that triggers git rebase with a conflict; observe the agent’s “stuck” behavior and empty conflicted_paths.

What is the expected behavior?

Rebase should complete successfully.

Additional information

No response

Activity

  1. added
    bug
    on Oct 23, 2025
  2. added
    tool-calls
    on Nov 15, 2025
  3. etraut-openai commented on Jan 10, 2026

    @etraut-openai
    Contributor

    Closing old issue.

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

    bugtool-calls

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions