Skip to content

Opencode Github Integration says it's created a PR, but it hasn't #4098

Closed

Description

@AKTheKnight

Description

I ran /oc on an issue, and the github integration ran, but then it didn't actually create the PR (Despite thinking it had created it).

I think this is the same cause as #1417 where because it did make a commit the branchIsDirty() check is false because git status --porcelain returns nothing if we've committed the changes. So then the const pr = await createPR( never runs and it doesn't actually open the PR

OpenCode version

1.0.46

Steps to reproduce

No response

Screenshot and/or share link

The start of the comment:
Image

And the end:
Image

And the logs:

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 8, 2025
  2. github-actions commented on Nov 8, 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.

  3. removed
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Nov 8, 2025
  4. self-assigned this
    on Nov 8, 2025
  5. rekram1-node commented on Dec 18, 2025

    @rekram1-node
    Contributor

    I think we fixed this, we will reopen if it continues

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions