feat(identities): Add GitHub Copilot identity to account identities page#107443
Merged
feat(identities): Add GitHub Copilot identity to account identities page#107443
Conversation
Open
3 tasks
Contributor
|
🚨 Warning: This pull request contains Frontend and Backend changes! It's discouraged to make changes to Sentry's Frontend and Backend in a single pull request. The Frontend and Backend are not atomically deployed. If the changes are interdependent of each other, they must be separated into two pull requests and be made forward or backwards compatible, such that the Backend or Frontend can be safely deployed independently. Have questions? Please ask in the |
Add support for viewing and disconnecting GitHub Copilot identities from the account identities page at /settings/account/identities/. This adds: - RpcGitHubCopilotIdentity model for the hybrid cloud service - get_one_or_none and delete methods to GitHubCopilotIdentityService - wrap_github_copilot method to UserIdentityConfig serializer - GitHub Copilot identity fetching in get_identities endpoint - Special handling for GitHub Copilot identity deletion The default service implementation returns None/False, so this only shows identities when getsentry is configured with the real service.
7940b6e to
b2d4302
Compare
Member
Author
|
@cursor review |
Member
Author
|
@sentry review |
Contributor
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
kddubey
approved these changes
Feb 3, 2026
JoshFerge
added a commit
that referenced
this pull request
Feb 5, 2026
## Summary Add github_copilot mapping to IDENTITY_ICONS so the GitHub Copilot identity displays the GitHub logo instead of the generic placeholder. Split out from #107443 for independent deployment. ## Test plan - Visual verification that GitHub Copilot identity shows GitHub logo on the identities page
jaydgoss
pushed a commit
that referenced
this pull request
Feb 12, 2026
…age (#107443) ## Summary Adds support for viewing and disconnecting GitHub Copilot identities from the account identities page at `/settings/account/identities/`. This PR adds the Sentry-side infrastructure for the GitHub Copilot identity feature: - `RpcGitHubCopilotIdentity` model for the hybrid cloud service interface - `get_one_or_none` and `delete` methods to `GitHubCopilotIdentityService` - `wrap_github_copilot` method to `UserIdentityConfig` serializer - GitHub Copilot identity fetching in the `get_identities` endpoint - Special handling for GitHub Copilot identity deletion via the service The default service implementation returns `None`/`False`, so identities will only appear when getsentry is configured with the real service implementation. **Note**: This requires a corresponding PR in getsentry to implement the actual service. ## Test plan - [x] Existing tests pass (`pytest -svv --reuse-db tests/sentry/users/api/endpoints/test_user_identity_config.py`) - [x] With devserver running and getsentry configured, navigate to `/settings/account/identities/` and verify GitHub Copilot identity appears - [x] Test disconnecting the identity
jaydgoss
pushed a commit
that referenced
this pull request
Feb 12, 2026
## Summary Add github_copilot mapping to IDENTITY_ICONS so the GitHub Copilot identity displays the GitHub logo instead of the generic placeholder. Split out from #107443 for independent deployment. ## Test plan - Visual verification that GitHub Copilot identity shows GitHub logo on the identities page
dcramer
pushed a commit
that referenced
this pull request
Feb 17, 2026
…age (#107443) ## Summary Adds support for viewing and disconnecting GitHub Copilot identities from the account identities page at `/settings/account/identities/`. This PR adds the Sentry-side infrastructure for the GitHub Copilot identity feature: - `RpcGitHubCopilotIdentity` model for the hybrid cloud service interface - `get_one_or_none` and `delete` methods to `GitHubCopilotIdentityService` - `wrap_github_copilot` method to `UserIdentityConfig` serializer - GitHub Copilot identity fetching in the `get_identities` endpoint - Special handling for GitHub Copilot identity deletion via the service The default service implementation returns `None`/`False`, so identities will only appear when getsentry is configured with the real service implementation. **Note**: This requires a corresponding PR in getsentry to implement the actual service. ## Test plan - [x] Existing tests pass (`pytest -svv --reuse-db tests/sentry/users/api/endpoints/test_user_identity_config.py`) - [x] With devserver running and getsentry configured, navigate to `/settings/account/identities/` and verify GitHub Copilot identity appears - [x] Test disconnecting the identity
dcramer
pushed a commit
that referenced
this pull request
Feb 17, 2026
## Summary Add github_copilot mapping to IDENTITY_ICONS so the GitHub Copilot identity displays the GitHub logo instead of the generic placeholder. Split out from #107443 for independent deployment. ## Test plan - Visual verification that GitHub Copilot identity shows GitHub logo on the identities page
1 task
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.
Summary
Adds support for viewing and disconnecting GitHub Copilot identities from the account identities page at
/settings/account/identities/.This PR adds the Sentry-side infrastructure for the GitHub Copilot identity feature:
RpcGitHubCopilotIdentitymodel for the hybrid cloud service interfaceget_one_or_noneanddeletemethods toGitHubCopilotIdentityServicewrap_github_copilotmethod toUserIdentityConfigserializerget_identitiesendpointThe default service implementation returns
None/False, so identities will only appear when getsentry is configured with the real service implementation.Note: This requires a corresponding PR in getsentry to implement the actual service.
Test plan
pytest -svv --reuse-db tests/sentry/users/api/endpoints/test_user_identity_config.py)/settings/account/identities/and verify GitHub Copilot identity appears