Skip to content

PR on-behalf-of uses wrong GitHub handle #333

@sentry-junior

Description

@sentry-junior

When creating a PR on behalf of a user, the agent wrote @Swatinem instead of the requester's actual GitHub handle (@cleptric for Michi Hoffmann).

  • The agent had the requester's Slack display name but no Slack-to-GitHub handle mapping
  • Instead of looking up the GitHub handle (e.g. via gh api search/users), it guessed a handle from memory and got it wrong
  • This tagged the wrong person in the PR description

The agent should resolve GitHub handles from evidence (GitHub user search, repo commit history, or org membership) rather than guessing. When a handle cannot be confirmed, use the person's display name without an @-mention.

Related: getsentry/sentry-docs#17724

Action taken on behalf of Michi Hoffmann.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working
    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