A Sentry alert starts an agent with the event context. It reproduces the failure, opens a pull request with the fix, and comments on the Sentry issue.
Install the Ellipsis integration in your Sentry organization and point your alert rules at it.
Choose the projects and alerts that start a session, and what the session does, in sentry.yaml.
Each alert starts a session with the event, and the agent opens a pull request with the fix.