Skip to content

Version 7.0.0-beta5: Bugsee Gradle plugin 4.1.1 - #197

Merged
krassx merged 2 commits into
mainfrom
chore/gradle-plugin-4.1.1
Nov 17, 2026
Merged

krassx merged 2 commits into
mainfrom
chore/gradle-plugin-4.1.1

Conversation

@krassx

@krassx krassx commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Brings in the latest Bugsee Gradle plugin (4.1.1, was 4.0.8; confirmed latest on Maven) and bumps both packages to 7.0.0-beta5.

  • native-versions.json and its baked copy, the bare example, the README snippet, the design plan and the release-script tests move to 4.1.1.
  • 4.1.0 requires AGP 8.6 and Gradle 8.7 or newer (Gradle 9 supported); the example already builds on Gradle 9.4.1.
  • Release notes for 7.0.0-beta5 in docs/release-notes.md.

Validated locally (placeholder token, dead endpoint, as CI)

  • yarn lint, yarn typecheck, yarn test (5276 passed), yarn check:options-manifests.
  • Bare example: assembleDebug and assembleRelease succeed with plugin 4.1.1 (the Release mapping task runs and skips the upload because the token is a placeholder).
  • Android 36 arm64 emulator e2e: launch, relaunch, launch-options, options-readback, reporting, native-crash, network, js-crash, exceptions: 7 suites, 153 tests passed.
  • Not run locally: the Expo prebuild flow, Windows lanes and the iOS e2e; CI covers them.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Ws1LS4EaUy9s7QaKsfyvb4

Pin the Gradle plugin to 4.1.1 (was 4.0.8): native-versions.json and its baked
copy, the bare example, the README snippet, the design plan, release-script
tests. 4.1.0 needs AGP 8.6 and Gradle 8.7 or newer. Both packages go to
7.0.0-beta5, with release notes.

Validated on the bare example with the placeholder token: assembleDebug and
assembleRelease build with plugin 4.1.1, and on an Android 36 arm64 emulator the
e2e suites launch, relaunch, launch-options, options-readback, reporting,
native-crash, network, js-crash and exceptions pass (153 tests).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ws1LS4EaUy9s7QaKsfyvb4
@coderabbitai

coderabbitai Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 10 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 11b08c98-8317-48dc-9546-5b93453e2e41
Commits

Reviewing files that changed from the base of the PR and between bbccd76 and 1e3b1a8.

Files ignored due to path filters: 1

  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
Files selected for processing: 15

  • docs/design/plans/2026-09-16-implementation-plan.md
  • docs/release-notes.md
  • examples/bare/android/build.gradle
  • native-versions.json
  • packages/react-native-feedback/README.md
  • packages/react-native-feedback/package.json
  • packages/react-native/README.md
  • packages/react-native/ios/Support/Sources/BugseeRNSupport/BGSRNWrapper.m
  • packages/react-native/ios/Support/Tests/BugseeRNSupportTests/BGSRNWrapperTests.m
  • packages/react-native/package.json
  • packages/react-native/plugin/build/index.js
  • packages/react-native/plugin/build/native-versions.baked.json
  • packages/react-native/plugin/src/index.ts
  • scripts/__tests__/github-release.test.ts
  • scripts/__tests__/native-versions.test.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@claude

claude Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

Claude finished @krassx's task in 26s —— View job


Review of PR #197: Bugsee Gradle plugin 4.1.1 and 7.0.0-beta5

I found no bugs or regressions in this PR. I read the diff and grepped the tree for leftover references. I did not run the build, tests or lint.

Overall risk: Low
Merge recommendation: Approve, once CI is green. CI covers the Expo prebuild flow, the Windows lanes and the iOS e2e, which the PR description says were not run locally.

What I checked

  • Plugin pin: native-versions.json, the baked copy plugin/build/native-versions.baked.json, examples/bare/android/build.gradle (both the plugins {} entry and the applied guard), the README snippet and the test fixtures all say 4.1.1.
    • The Expo prebuild check script reads the version from native-versions.json. The bare example's guard throws if it disagrees with that file.
    • So the pin can't silently drift in these places.
  • Version bump: Both package.json files, the feedback peer range (^7.0.0-beta5), the matching yarn.lock entry, plugin/src/index.ts and its compiled plugin/build/index.js, BGSRNWrapper.m and BGSRNWrapperTests.m all say beta5. A grep for 7.0.0-beta4 finds no stale runtime version string.
    • The remaining beta4 hits are historical comments. They describe SDK behaviour "as of beta4" and are correct as written.
  • Floor compatibility: The plugin now requires AGP 8.6 and Gradle 8.7 or newer. The bare example already builds on Gradle 9.4.1, and the React Native 0.81 floor ships AGP and Gradle versions well above those minimums, so I don't expect consumers on the supported RN range to break.

Minor, optional (not blocking)

  • P3, docs: The AGP 8.6 and Gradle 8.7 requirement appears only in docs/release-notes.md. The README's Android Gradle plugin section, where bare apps are told to apply 4.1.1, doesn't mention it. A bare app on an older AGP would hit the plugin's early failure with no hint in the README. One sentence there would help.
  • P3, stale wording: These places still say "4.0.8" and are now slightly behind:
    • the comment in examples/bare/android/app/build.gradle:120
    • scripts/check-expo-prebuild.sh:43
    • the doc comments in plugin/src/gradle.ts, and the generated plugin/build/gradle.{js,d.ts}
    • the README at packages/react-native/README.md:638 ("4.0.8 and later", which is accurate)
    • Nothing breaks and the statements remain true for 4.1.1. They are just version-specific wording you may want to generalize later.
  • Release notes: I couldn't verify the 4.1.x claims in docs/release-notes.md (failOnUploadError, proxy support, the bugsee-cli fallback, multi-module native crash capture). Those need a check against the plugin's own changelog.

Positives

  • The version is read from a single source (native-versions.json) everywhere it's consumed, with guards that fail the build if the pins disagree.
  • The PR validates the change on the bare example (assembleDebug and assembleRelease) and an Android emulator e2e run, and it lists what wasn't covered.
  • The release notes explain the new AGP and Gradle floor to consumers.
    · Branch: chore/gradle-plugin-4.1.1

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ws1LS4EaUy9s7QaKsfyvb4
@krassx

krassx commented Nov 17, 2026

Copy link
Copy Markdown
Contributor Author

Added the AGP 8.6 / Gradle 8.7 floor to the README's Android Gradle plugin section in 1e3b1a8. The remaining '4.0.8' mentions (the bare example's app/build.gradle comment, check-expo-prebuild.sh, the gradle.ts doc comments, README:638) describe behavior of 4.0.8 and later, so they are accurate as written and left alone.

@claude

claude Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

Claude finished @krassx's task in 24s —— View job


Re-review of PR #197 after the new commit (1e3b1a8)

I found no new bugs or regressions. I read the diff and grepped for leftover references. I did not run the build, tests or lint. CI was still running when I checked (0 passed, 0 failed, 5 pending).

Overall risk: Low
Merge recommendation: Approve, once CI is green.

Earlier findings

  • README AGP/Gradle floor (was P3): fixed. 1e3b1a8 adds the "AGP 8.6 or newer and Gradle 8.7 or newer (Gradle 9 is supported)" note to packages/react-native/README.md, right after the plugins {} snippet. This matches what the release notes say.
  • Stale "4.0.8" wording (P3): still open, not blocking. These places are still version-specific, and they are still accurate for 4.1.1:
    • examples/bare/android/app/build.gradle:120
    • scripts/check-expo-prebuild.sh:43
    • packages/react-native/plugin/src/gradle.ts:723 and :916, and the generated plugin/build/gradle.js:613
    • plugin/src/gradle.ts:1180 says "Gradle plugin 4.0.7 has no switch…" and is written into users' build.gradle as a comment. Generalizing it later would keep that comment from going stale.
  • Release-note claims (4.1.x proxy, failOnUploadError, bugsee-cli fallback, multi-module crash capture): still not verified. Please check them against the plugin's own changelog before tagging.

One thing to confirm

plugin/src/gradle.ts:1182 implements uploadSymbols: false with tasks.matching { it.name.startsWith('uploadBugsee') }.configureEach { enabled = false }. The PR says the Release mapping task skipped the upload on the bare example, but that was because of the placeholder token. I could not confirm from this repo that 4.1.x still names its upload tasks uploadBugsee*. If 4.1.x renamed them, uploadSymbols: false would stop disabling uploads without any error. Checking the task names once, for example with ./gradlew :app:tasks --all | grep -i bugsee, would rule this out. I'm not reporting it as a bug because I have no evidence of a rename.

Checked and fine

  • All version pins read 4.1.1 and 7.0.0-beta5: native-versions.json, the baked copy, the bare example (both the plugins {} entry and the applied guard), the feedback peer range, and the test fixtures. The bare example's guard fails the build if it disagrees with native-versions.json.
  • The only remaining 4.0.8 hits are the historical release-notes entries and the comments listed above. The other hits are unrelated npm packages in yarn.lock.

Positives

  • The plugin version has one source of truth, with a guard that fails on a mismatch.
  • The PR lists what was not run locally: the Expo prebuild flow, the Windows lanes and the iOS e2e.
  • The README now states the new AGP and Gradle floor where bare apps apply the plugin.
    · Branch: chore/gradle-plugin-4.1.1

@krassx
krassx merged commit 88a98ab into main Nov 17, 2026
51 checks passed
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