Skip to content

Remove Sentry superuser GraphQL endpoint and privilege flag#969

Open
drazisil-codecov wants to merge 2 commits into
mainfrom
joe/remove-sentry-superuser-api
Open

Remove Sentry superuser GraphQL endpoint and privilege flag#969
drazisil-codecov wants to merge 2 commits into
mainfrom
joe/remove-sentry-superuser-api

Conversation

@drazisil-codecov
Copy link
Copy Markdown
Contributor

]## Summary

  • Removes the should_use_sentry_app privilege flag from codecov_auth/constants.py and all references throughout the codebase
  • Removes the Sentry superuser GraphQL endpoint and associated view/URL routing
  • Cleans up middleware, mutation helpers, and service layer code that relied on the Sentry superuser privilege

Test plan

  • Verify existing tests pass with Sentry superuser logic removed
  • Confirm GraphQL schema no longer exposes the Sentry endpoint
  • Check that normal user flows are unaffected

Joe Becher and others added 2 commits June 2, 2026 13:42
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@drazisil-codecov drazisil-codecov force-pushed the joe/remove-sentry-superuser-api branch from b38ce29 to 72da2aa Compare June 2, 2026 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant