Skip to content

GitHub Action replies in the PR conversation instead of the triggering comment in review thread #37560

Description

@chAwater

Description

In GitHub, when opencode is triggered (by /oc or /opencode) from an inline review comment (pull_request_review_comment), the "👀" reaction is correctly placed on that inline comment, but the reply is posted to the PR Conversation as a separate top-level comment. The review thread itself (the inline comment) gets no reply.

related issues / PRs:

Plugins

none

OpenCode version

1.18.3 (by anomalyco/opencode/github@latest)

Steps to reproduce

  1. Add the standard workflow generated by opencode github install
  2. Open a PR and go to the Files changed tab
  3. Click + on a line to add an inline comment, eg. "/opencode why create a new function?". Also reproduces with file-level comments ("Comment on this file").
  4. Wait for the workflow to finish

Actual: the 👀 reaction is added to the inline comment, but the reply appears in the PR Conversation (the Conversation tab)
Expected: the reply appears in that inline comment.

Screenshot and/or share link

none

Operating System

ubuntu-latest (GitHub Actions runner)

Terminal

none

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions