Skip to content

ci: pilot Sentry skill-drift detector#1308

Draft
HazAT wants to merge 1 commit into
masterfrom
flue/skill-drift
Draft

ci: pilot Sentry skill-drift detector#1308
HazAT wants to merge 1 commit into
masterfrom
flue/skill-drift

Conversation

@HazAT
Copy link
Copy Markdown
Member

@HazAT HazAT commented May 21, 2026

Pilot install of the Sentry Skill Drift detector workflow.
On every merged PR to master, this workflow invokes a reusable detector workflow hosted in getsentry/sentry-for-ai, which compares the merged PR's changes against the skills/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) in sentry-for-ai.
This workflow never modifies sentry-go itself — all writes happen cross-repo via a scoped GitHub App token.

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)
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 21, 2026

Semver Impact of This PR

🟢 Patch (bug fixes)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


Breaking Changes 🛠

  • Remove the ContextifyFrames integration. The recommended way to add source context is SCM by giortzisg in #1302

Internal Changes 🔧

Deps

  • Bump github.com/gofiber/fiber/v2 from 2.52.12 to 2.52.13 in /fiber by dependabot in #1300
  • Bump github.com/gofiber/fiber/v2 from 2.52.12 to 2.52.13 in /crosstest by dependabot in #1301
  • Bump getsentry/craft from 2.25.2 to 2.26.2 by dependabot in #1293
  • Bump getsentry/craft/.github/workflows/changelog-preview.yml from 2.25.2 to 2.26.2 by dependabot in #1294

Other

  • Pilot Sentry skill-drift detector by HazAT in #1308

🤖 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)
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