Repository navigation
Conversation
Adds a local skill that verifies a PR end to end on an Android emulator: build the sample without and with the change, drive it with Maestro, find both runs' events in sentry-sdks through the Sentry MCP, and write a draft before/after report. The sample tags events with verify.pr, verify.commit and verify.run_id when launched with matching launch arguments, and does nothing otherwise. It also enables logs in sentry.options.json, so native Android matches the JS enableLogs setting. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Semver Impact of This PR⚪ None (no version bump detected) 📋 Changelog PreviewThis is how your changes will appear in the changelog.
🤖 This preview updates automatically when you update the PR. |
📲 Install BuildsAndroid
|
Scenarios were one-off per PR and nothing runs them, so a shared folder would grow and rot. Move the #7087 flow to flows/examples/ as the worked example and regression check, write each run's flow next to its report, and promote to flows/steps/ only when a second run needs it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
antonis
marked this pull request as ready for review
November 24, 2026 13:59
This was referenced Nov 24, 2026
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.
📢 Type of change
📜 Description
Adds a local
verify-prskill (.agents/skills/verify-pr) that lets an agent verify a PR end to end on an Android emulator against real Sentry, and write a draft before/after report.SKILL.md: plan (claim, scenario, evidence) → build without the change (reverse-apply the PR's SDK diff, fall back to the parent commit) → run → tag → check in Sentry → draft report. Four verdicts: Verified, Not reproduced, Failed, Inconclusive. The report is never posted without a maintainer's approval.references/evidence.md: how to pick the evidence per claim type (event tags, crashes, logs, spans, profiles, option mapping), the Sentry MCP lookup sequence that works, and its pitfalls (e.g. Discover can't tell a missing tag from an empty one).references/android.md: setup (JDK 17, full emulator image,SENTRY_DISABLE_AUTO_UPLOAD), builds, launching, Maestro, and auiautomatorfallback.references/report-template.md: the report format.flows/: reusable Maestro steps (launch.ymlwith the run tags,open-errors-screen-button.yml,native-crash-and-relaunch.yml) and one scenario built from them (turbo-module-calls-then-native-crash.yml).Sample app:
src/verifyRun.tstags events withverify.pr,verify.commitandverify.run_idfrom launch arguments, so a run can be found in Sentry. Without the arguments it does nothing.sentry.options.jsongets"enableLogs": true. The JSSentry.initalready sets it, but on Android the native SDK starts fromsentry.options.json, so native logs were off.The skill is registered in
agents.tomland the skills table inAGENTS.md.💡 Motivation and Context
Closes #7099. Builds on the first manual run in #7098 (report).
💚 How did you test it?
A fresh agent, given only the skill, verified two PRs on a Pixel_8 emulator (Android 17, New Architecture, release builds):
turbo_module.*tags set tonull.turbo_module.*tags.logs.enabledwasfalsewithout the change (log) andtruewith it (log).The 13 gaps that run found are folded into the skill. The main one: Android starts the native SDK from
sentry.options.json, so options set inApp.tsxnever reach it.yarn lint:lernapasses.📝 Checklist
sendDefaultPIIis enabled.🔮 Next steps
🤖 Generated with Claude Code