Skip to content

feat(github): Add tools to edit own issue comments and react to issues - #3204

Merged
thomasjiangcy merged 2 commits into
mainfrom
feat/github-issue-comment-edit-and-reaction
Nov 12, 2026
Merged

thomasjiangcy merged 2 commits into
mainfrom
feat/github-issue-comment-edit-and-reaction

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #3207

Label-triggered SDK repro runs (sdk-bug-repro, getsentry/junior-prod#669) need a start signal on the issue, plus one progress comment that the run edits as it goes. The runtime egress policy denies the raw endpoints for both ("This GitHub write request is not supported"):

  • POST /repos/{owner}/{repo}/issues/{n}/reactions
  • PATCH /repos/{owner}/{repo}/issues/comments/{id}

This adds two GitHub plugin tools:

  • github_updateIssueComment { repo, comment_id, body } replaces the body of an issue or PR conversation comment. It reads the comment first and refuses unless the bot posted it.
  • github_reactToIssue { repo, number, content } adds a reaction to the issue or PR itself. content is GitHub's reaction enum. GitHub returns the existing reaction on a repeat, so the call is idempotent.

Egress allows each endpoint only with its tool's egress operation (github.issue.comment.update, github.issue.reaction.create). Sandbox gh api calls stay denied, and the message names the tool. DELETE on issue comments stays unsupported.

via @dingsdax.

--

View Session [Sentry]

sentry-junior Bot and others added 2 commits November 11, 2026 19:35
Label-triggered SDK repro runs need a start signal and a progress comment
on the issue. The runtime egress policy denies raw PATCH issues/comments/ID
and POST issues/N/reactions, so add github_updateIssueComment (bot-authored
comments only) and github_reactToIssue, and allow each endpoint only for
its tool's egress operation.

Co-Authored-By: johdax <[email protected]>
@vercel

vercel Bot commented Nov 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
junior-docs Ready Ready Preview Nov 11, 2026 7:48pm UTC

Request Review

@github-actions github-actions Bot added the risk: medium PR risk score: medium label Nov 11, 2026
@github-actions

Copy link
Copy Markdown
Contributor

11 screenshot changes — 11 changed · 0 added · 0 removed

Review screenshots in Frameshift

Automation Skill Editor · Desktop
Automation Skill Editor · Desktop
Changed
Automation Skill Editor · Mobile
Automation Skill Editor · Mobile
Changed
Conversation Attachment Zoom · Desktop
Conversation Attachment Zoom · Desktop
Changed
Conversation Attachment Zoom · Mobile
Conversation Attachment Zoom · Mobile
Changed
Conversation Captured Memories Popover · Desktop
Conversation Captured Memories Popover · Desktop
Changed
Conversation Details Watched Linked Work · Desktop
Conversation Details Watched Linked Work · Desktop
Changed
Show 5 more changed screenshots
Conversation Long Transcript Touch · Mobile
Conversation Long Transcript Touch · Mobile
Changed
Conversation Share Details · Desktop
Conversation Share Details · Desktop
Changed
Push Notifications Tip · Desktop
Push Notifications Tip · Desktop
Changed
Settings Mcp · Desktop
Settings Mcp · Desktop
Changed
Settings Notifications · Desktop
Settings Notifications · Desktop
Changed

sentry-junior Bot added a commit that referenced this pull request Nov 12, 2026
The decision model never flagged a file list, even on the #2461 draft.
It did reject a reviewed body for a note about missing test coverage.
The #2461 final still reports local check results, so it is now a
reject case, and the #3204 naming case is gone: the model does not read
a naming rationale as a work log.

Co-Authored-By: David Cramer <[email protected]>

@thomasjiangcy thomasjiangcy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@thomasjiangcy
thomasjiangcy merged commit 70a4d6e into main Nov 12, 2026
46 checks passed
@thomasjiangcy
thomasjiangcy deleted the feat/github-issue-comment-edit-and-reaction branch November 12, 2026 03:08

Copy link
Copy Markdown
Contributor

thx

This branch was successfully deployed

1 active deployment
Preview – junior-docs — 23cc650f Deployed Nov 11, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: medium PR risk score: medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Let skills edit their own issue comments and react to issues

2 participants