Skip to content

chore(tooling): Fold the open-PR run findings into verify-pr - #7115

Merged
antonis merged 2 commits into
mainfrom
chore/verify-pr-skill-reliability
Nov 26, 2026
Merged

antonis merged 2 commits into
mainfrom
chore/verify-pr-skill-reliability

Conversation

@antonis

@antonis antonis commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

📜 Description

Fixes the verify-pr skill problems found by running it on seven PRs (#7105). Only the skill changes; no SDK or sample code.

Also includes #7118

💡 Motivation and Context

Part of #7105: the skill should be reliable enough to run without someone watching before it's considered for CI.

💚 How did you test it?

  • Ran flows/examples/turbo-module-calls-then-native-crash.yml, the skill's regression check for flows/steps/, on a Pixel_8 emulator (Android 17, release build). It passed in 36 s. The crashed process had died before the relaunch, the relaunch screenshot shows the rendered app, and the crash event arrived tagged with the run id.
  • yarn lint:lerna

📝 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

🤖 Generated with Claude Code

Force the Android JS re-bundle and check the APK has the side's code,
uninstall before install, wait for render on launch and relaunch, carry
the run tags through the relaunch, and require a control event for
absences and repeats for surprising results. Adds evidence rows for
trace linking and incomplete native setup, a short report for runs
stopped at the gate, and the dist rebuild at cleanup.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

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): Fold the open-PR run findings into verify-pr by antonis and claude in #7115
  • chore(deps): update Android SDK to v8.66.0 by github-actions in #7112
  • chore(tooling): Add iOS simulator support to the verify-pr skill by antonis and claude in #7104
  • chore(tooling): Add verify-pr skill for on-device PR verification by antonis and claude in #7100
  • test(e2e): Load the WebView demo's browser SDK asynchronously by antonis and claude in #7103
  • feat(ios): Attach a flame graph to JS hang events by alwx in #7042
  • fix(tracing): Sync the JS trace to the native SDKs after they start by RasmusKard in #7107
  • test(e2e): Fix flaky sample app E2E tests by antonis and claude in #7097
  • ci(ios): Build the SwiftPM app on more React Native versions by alwx in #7096
  • chore(tooling): Remove Cursor Bugbot review guidelines by antonis and claude in #7090
  • fix(core): Capture uncaught render errors on React Native 0.78+ by alwx in #7078
  • ci: Fix stale high_risk_code paths in file-filters by antonis and claude in #7091
  • ci(e2e): Fix legacy Android e2e jobs building New Architecture by antonis and claude in #7092
  • chore(deps): update Android SDK to v8.65.1 by github-actions in #7089
  • fix(core): Remove native scope tags set to an empty value by antonis and claude in #7087
  • feat(ios): Add metricKitHangReportingMode option for MetricKit hang flame graphs by alwx in #7059
  • chore(deps): bump getsentry/craft from 3.12.0 to 3.13.0 by dependabot in #7083
  • chore(deps): bump getsentry/craft/.github/workflows/changelog-preview.yml from 3.12.0 to 3.13.0 by dependabot in #7082
  • chore(deps): bump getsentry/github-workflows/danger from 6bf4a27612e388f9c113d64f75e25190e814b414 to bce11fe6eaa86dbb9d360ab45a96e659828877f0 by dependabot in #7081
  • chore(deps): bump actions/create-github-app-token from 3.3.0 to 3.4.0 by dependabot in #7085
  • chore(deps): bump ruby/setup-ruby from 1.338.0 to 1.342.0 by dependabot in #7084
  • chore(sample): Remove unused Detox setup from the React Native sample by antonis and claude in #7072
  • ci(ios): Build TestFlight sample with Xcode 27 by philprime with sentry-junior in #7065
  • perf(android): Create SDK view managers on demand by alwx in #7049

Plus 3 more


🤖 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 9ee6993

@antonis
antonis marked this pull request as ready for review November 26, 2026 09:13
…pr (#7118)

The sample's release build is debuggable, so the SDK skips the
synchronous hard-crash write and a JS fatal survives only when the
process outlives the crash (#7113).

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 9ee6993. Configure here.

- When `git apply -R --check` fails, fall back to the parent commit: `git checkout <merge-sha>^` (detached), `yarn install && yarn build`, build there, then return. Slower; record that you did it.
- The sample bundles `packages/core/dist/`. Before the first sample build, run `yarn build` in `packages/core` if `dist/` is older than the last change to `packages/core/src` (`git log -1 --format=%cd -- packages/core/src`) — even for native-only PRs.
- **JS changes** (`packages/core/src/`) need that `yarn build` on **both** sides.
- **Android reuses a stale JS bundle.** Gradle's bundle task stays up to date after `packages/core/dist` changes, so the "with" APK ships the "without" JS and reads as **Failed**. After every `yarn build` in `packages/core`, force the re-bundle (see references/android.md), then confirm the APK has the side's code: `unzip -p samples/react-native/app.apk assets/index.android.bundle | grep -c '<string only the PR adds>'` is non-zero with the change and zero without it. Pick a string literal (a log message, an option name); identifiers are minified.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

APK bundle grep treats bytecode as binary

Medium Severity

The new APK check pipes Hermes bytecode into grep -c and expects a numeric 0 vs non-zero count. That file contains null bytes, so macOS grep reports a binary match instead of a count. The stale-bundle safety net this PR adds then cannot tell the two sides apart.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 9ee6993. Configure here.

@alwx alwx left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@antonis
antonis merged commit 72d734b into main Nov 26, 2026
65 of 71 checks passed
@antonis
antonis deleted the chore/verify-pr-skill-reliability branch November 26, 2026 12:23
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.

2 participants