Skip to content

fix(github): include pull request identity in context - #40363

Merged
rekram1-node merged 1 commit into
devfrom
pr-context-id
Aug 4, 2026
Merged

fix(github): include pull request identity in context#40363
rekram1-node merged 1 commit into
devfrom
pr-context-id

Conversation

@opencode-agent

@opencode-agent opencode-agent Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • fetch the authoritative pull request number and URL with the existing GraphQL context query
  • include both fields in the GitHub Action prompt so the agent does not need to infer the target for PR operations

Checks

  • bun test test/cli/github-action.test.ts (17 passing)
  • bun x prettier --check packages/opencode/src/cli/cmd/github.handler.ts
  • bun x oxlint packages/opencode/src/cli/cmd/github.handler.ts (0 errors)

Requested by: @rekram1-node (Aiden Cline via Slack)

@rekram1-node
rekram1-node merged commit 7e94dda into dev Aug 4, 2026
11 checks passed
@rekram1-node
rekram1-node deleted the pr-context-id branch August 4, 2026 03:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant