Skip to content

[Github agent] If the agent commits but doesn't push, the resulting commits are never pushed #3893

Closed

Description

@AKTheKnight

Description

If the agent commits but doesn't push, any resulting branchIsDirty() check returns false which means the commit is never pushed up.

Happy to provide a share link or access to git action run logs in private if that is needed.

OpenCode version

1.0.20 (Github)

Steps to reproduce

Use /oc and ask the agent to commit but not push (I didn't have to ask, it just did it for me)

Screenshot and/or share link

Image

Operating System

No response

Terminal

No response

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Nov 4, 2025
  2. github-actions commented on Nov 4, 2025

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Feel free to ignore if none of these address your specific case.

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

    bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentui

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions