Skip to content

chore(tooling): Make the verify-pr gate stop at the first no - #7125

Merged
antonis merged 2 commits into
mainfrom
chore/verify-pr-gate-first-no
Nov 26, 2026
Merged

antonis merged 2 commits into
mainfrom
chore/verify-pr-gate-first-no

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

📜 Description

Makes the verify-pr skill's gate consistent in two places.

One rule for a gate "no". The gate questions are answered in order and the first "no" decides the answer. The questions after it are written as "not reached", and Without side and Also check as "not needed"; they aren't answered anyway. Planning the "without" side now happens only when the gate passes, in either mode (it used to say "in gate-only mode too").

Event-based gate. A change whose only effect is what's shipped (bundle contents, APK or app classes, size) is Not verifiable this way, and the gate report names a bundle or APK content check as what would verify it, with the command shape. Step 1.3's build-configuration claims are narrowed to build changes whose effect shows up in Sentry events or on device, e.g. #7035. Its dexdump check stays, as confirmation that the build change took effect, not as evidence.

Gate report template. The gate table allows "not reached" for rows after the first "no", and **Without side:** / **Also check:** allow "not needed". The "What would verify it" placeholder also lists a bundle or APK content check.

No CHANGELOG entry: tooling only.

💡 Motivation and Context

Gate-only runs on #7107, #7062, #7059 and #7111 (results in getsentry/team-sdk-skills#235) all matched, but disagreed on whether to keep answering after a "no" and on where to write "not reached". #7062 (web Replay/Feedback left out of native bundles) fit both the gate's "Metro/bundler config isn't runtime behavior" and step 1.3's "a module excluded" build-configuration claim, so either answer was defensible.

Part of #7122

💚 How did you test it?

How the new text answers the cases from those runs:

  1. fix(core): Remove web Replay and Feedback from native bundles by default #7062 (web Replay/Feedback left out of native bundles): Not verifiable this way at the runtime-behavior question; the report names a bundle content check under "What would verify it".
  2. fix(android): Skip replay breadcrumb converter when sentry-android-replay is excluded #7035 (replay breadcrumb converter skipped when sentry-android-replay is excluded): still verifiable, through the native SDK's init, visible in sdk.name and logcat.
  3. feat(ios): Add metricKitHangReportingMode option for MetricKit hang flame graphs #7059 (MetricKit on the simulator): after "Trigger possible?" is "no", the native-SDK row is "not reached", and Without side and Also check are "not needed".
  4. No sentence in SKILL.md says to plan the "without" side after a gate "no".

📝 Checklist

  • I added tests to verify changes.
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • All tests passing.
  • Public API changes reviewed by another Mobile SDK team member or implemented according to the develop docs spec.
  • No breaking changes.

🔮 Next steps

via Antonis Lilis.

--

View Session [Sentry]

Answer the gate questions in order and stop at the first "no": later
questions are "not reached", and the without side and also-check paths
are "not needed". Keep verification event-based: a change whose only
effect is what's shipped is not verifiable this way, and the gate report
names a bundle or APK content check instead. Build-configuration claims
in step 1.3 are limited to changes visible in events or on device.

Co-Authored-By: Antonis Lilis <antonis.lilis@sentry.io>
@github-actions

github-actions Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Semver Impact of This PR

⚪ None (no version bump detected)

📋 Changelog Preview

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


  • chore(tooling): Make the verify-pr gate stop at the first no by antonis and claude with sentry-junior in #7125
  • chore(tooling): Add review checks and a gate-only mode to verify-pr by antonis and claude in #7121
  • chore(tooling): Fold the open-PR run findings into verify-pr by antonis and claude in #7115

🤖 This preview updates automatically when you update the PR.

@github-actions

github-actions Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor
Fails
🚫 Pull request is not ready for merge, please add the "ready-to-merge" label to the pull request

Generated by 🚫 dangerJS against 7662ca6

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@antonis
antonis marked this pull request as ready for review November 26, 2026 15:45
@antonis
antonis merged commit c5233af into main Nov 26, 2026
58 of 65 checks passed
@antonis
antonis deleted the chore/verify-pr-gate-first-no branch November 26, 2026 15:45
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