Skip to content

fix(github): emit resolvable co-author noreply emails - #1704

Open
sentry-junior[bot] wants to merge 2 commits into
mainfrom
fix/github-coauthor-noreply-identity
Open

fix(github): emit resolvable co-author noreply emails#1704
sentry-junior[bot] wants to merge 2 commits into
mainfrom
fix/github-coauthor-noreply-identity

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Junior already stamps requester Co-Authored-By trailers, but they used the Slack/work email. Downstream automation (like sentry-cocoa's unreferenced-PR issue creator) needs a GitHub login to assign the human instead of the bot.

When a linked GitHub identity exists, prefer id+login@users.noreply.github.com in the trailer so assignee resolution is deterministic. Falls back to the existing actor email when no GitHub link is present.

Requested by Thomas Hedderwick.

--

View Junior Session [Sentry]

Prefer linked GitHub noreply addresses in Co-Authored-By trailers so
external automation can assign the human requester instead of the bot.

Co-Authored-By: Thomas Hedderwick <thomas.hedderwick@sentry.io>
@vercel

vercel Bot commented Aug 26, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
junior-docs Error Error Aug 27, 2026 3:59am

Request Review

@NinjaLikesCheez
NinjaLikesCheez marked this pull request as ready for review August 26, 2026 06:57
@github-actions github-actions Bot added the risk: high PR risk score: high label Aug 26, 2026
Comment thread packages/junior-github/src/git-config.ts Outdated
Co-author trailers already credit human requesters. The noreply identity
lookup added too much complexity for little gain; assignment belongs in
the consuming workflow.
@github-actions github-actions Bot added risk: medium PR risk score: medium and removed risk: high PR risk score: high labels Aug 27, 2026

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 54fd0c9. Configure here.

destination: context.destination,
events: input.events,
expiresAtMs: Date.now() + RESOURCE_SUBSCRIPTION_DEFAULT_TTL_MS,
intent: input.intent,

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Resource subscriptions drop destination

High Severity

Plugin resourceEvents.subscribe() no longer passes destination into createResourceEventSubscription. That field is required to build the subscription id, store the Slack team, and match inbound events. Plugin-created watches, including GitHub PR follow-up after create, fail instead of routing events back to the conversation.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 54fd0c9. Configure here.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Not a regression from this PR. destination was intentionally removed from resource-event subscriptions in #1706 (fix(resource-events): let conversations own watch routing). Main and this branch both omit it; the store API no longer accepts destination. Bugbot is comparing against the pre-#1706 merge base.

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.

2 participants