ci: pilot Sentry skill-drift detector#1308
Draft
HazAT wants to merge 1 commit into
Draft
Conversation
Add a per-PR workflow that calls the reusable Flue skill-drift detector hosted in `getsentry/sentry-for-ai`. On every merged PR to `master`, the detector compares this PR's diff against the `skills/sentry-go-sdk/` bundle in sentry-for-ai. If drift is found, a PR (mechanical fixes) or issue (complex changes) is opened in sentry-for-ai. This workflow does not modify sentry-go itself. Pinned to `@flue/skill-drift-port` while sentry-for-ai#127 is in review. Will be flipped to `@main` after that PR merges. Pre-requisites (org admin): - Install the "Sentry Skill Drift" GitHub App on this repo (contents: read) and on getsentry/sentry-for-ai (contents/pull-requests/issues: write). - Set org-level secrets: SENTRY_AI_ANTHROPIC_API_KEY, SENTRY_SKILL_DRIFT_APP_ID, SENTRY_SKILL_DRIFT_APP_PRIVATE_KEY. Refs: getsentry/sentry-for-ai#127 Co-Authored-By: Claude (claude-sonnet-4-6 via Pi)
Semver Impact of This PR🟢 Patch (bug fixes) 📋 Changelog PreviewThis is how your changes will appear in the changelog. Breaking Changes 🛠
Internal Changes 🔧Deps
Other
🤖 This preview updates automatically when you update the PR. |
HazAT
added a commit
to getsentry/sentry-for-ai
that referenced
this pull request
May 21, 2026
Adds on: workflow_dispatch alongside workflow_call with the same detector inputs for pre-production manual runs.\nMoves app-token creation out of detect so manual dispatch can run with only ANTHROPIC_API_KEY.\nSkips actuate on workflow_dispatch (only detect runs + result artifact), and adds visible result summarization for manual inspection.\nIncludes no behavior change for production workflow_call path, which still performs actuator-based PR/issue creation.\nReference: getstarted with pilot in getsentry/sentry-go#1308; this test hook is for manual validation before App secrets are fully in place.\n\nCo-Authored-By: Claude (claude-sonnet-4-6 via Pi)
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.
Pilot install of the Sentry Skill Drift detector workflow.
On every merged PR to
master, this workflow invokes a reusable detector workflow hosted ingetsentry/sentry-for-ai, which compares the merged PR's changes against theskills/sentry-go-sdk/bundle. If the SDK has drifted from what the skill teaches an AI coding agent, the detector opens a PR (mechanical fixes) or files an issue (complex changes) insentry-for-ai.This workflow never modifies
sentry-goitself — all writes happen cross-repo via a scoped GitHub App token.