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

Closed
opened 2026-02-16 17:36:17 -05:00 by yindo · 1 comment
Owner

Originally created by @AKTheKnight on GitHub (Nov 4, 2025).

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

Originally created by @AKTheKnight on GitHub (Nov 4, 2025). ### 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 <img width="1463" height="648" alt="Image" src="https://github.com/user-attachments/assets/ce044e8b-40be-488f-b140-1f5b46ce1d90" /> ### Operating System _No response_ ### Terminal _No response_
yindo added the opentuibug labels 2026-02-16 17:36:17 -05:00
yindo closed this issue 2026-02-16 17:36:17 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Nov 4, 2025):

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

  • #1417: GitHub Integration is not pushing changes in PRs - describes the same issue where commits are made but never pushed to the branch

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

@github-actions[bot] commented on GitHub (Nov 4, 2025): This issue might be a duplicate of existing issues. Please check: - #1417: GitHub Integration is not pushing changes in PRs - describes the same issue where commits are made but never pushed to the branch Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2575