Repository navigation
fix(events): Link the Event doer to their Slack mention - #2250
Merged
Merged
Conversation
GitHub review and comment Events now name the reviewer or commenter as doneBy. Core resolves that person through linked identities, like Event people, and tells the agent that the mention and the GitHub login are the same person. When that person is also in People involved, the agent writes to them as "you" instead of naming them again by login. Fixes #2248 Co-Authored-By: BYK <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
BYK
requested changes
Oct 27, 2026
Fold the doneBy lookup into the Event people query, so one Event makes one identity read and the ingest path has no parallel lookups.
BYK
approved these changes
Oct 27, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR review notifications could mention someone in Slack and then name them again by GitHub login, as if they were two people ("@BYK BYK approved …"). The identity link existed, but the event path only resolved
people. The reviewer was only a raw login intrustedSummary.Events can now carry an optional
doneByperson in@sentry/junior-plugin-api. The GitHub review, review-comment, and comment normalizers set it from the GitHub login. Core resolves it through the same linked-identity lookup aspeople(an exact single match, never a guess). Then the task input adds aDone by:line. That line tells the agent the mention and the login are the same person. When that person is also in People involved, it tells the agent to write to them as "you" and not use the login again.The field is
doneBy, notactor, becauseTERMINOLOGY.mdalready uses Actor for the runtime participant of a source invocation.Fixes #2248
via BYK.
--
View Junior Session in Sentry