Skip to content

Conversation

@joshedney
Copy link

@joshedney joshedney commented Jul 14, 2025

Goal

Update the Fastlane plugin to delegate dSYM uploads to the BugSnag CLI, improving consistency and maintainability.

Changeset

  • Added CLI support: The plugin now exposes the option to use the BugSnag CLI for dSYM uploads.
  • Custom CLI path support: Users can specify a locally installed CLI binary instead of using the bundled version.
  • If the provided CLI version is older than the bundled one, the plugin will raise an error with instructions to update.
  • Dynamic CLI selection: Logic was added to determine the correct bundled CLI binary based on the host architecture.
  • Option passthrough: Relevant options from the Fastlane plugin are now passed through to the CLI, ensuring feature parity.

Testing

  • Existing tests updated to reflect CLI integration.

@joshedney joshedney changed the title Je/plat 14480 check cli path Update the fastlane plugin to use the BugSnag CLI Jul 16, 2025
@joshedney joshedney force-pushed the je/plat-14480-check-cli-path branch from 775ef33 to 0083788 Compare July 16, 2025 08:50
@joshedney joshedney requested a review from tomlongridge July 16, 2025 08:55
@joshedney joshedney marked this pull request as ready for review July 16, 2025 08:55
Copy link
Contributor

Choose a reason for hiding this comment

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

We refer to this in our legacy docs along with the Homebrew install.

I don't think we should keep it, but we should think about updates to:

  • the readme
  • the legacy docs
  • Homebrew

Copy link
Contributor

Choose a reason for hiding this comment

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

How many of these tests do we no longer run? Is there good reason?

Copy link
Author

Choose a reason for hiding this comment

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

These tests were all related to the bin/bugsnag-dsym-upload file, which has now been integrated into the BugSnag CLI, which has tests to cover its functionality.

@joshedney joshedney force-pushed the je/plat-14480-check-cli-path branch from 8ce362f to c241690 Compare July 24, 2025 08:16
@joshedney joshedney requested a review from tomlongridge July 24, 2025 08:27
@joshedney joshedney merged commit dcd85e9 into integration/cli Aug 5, 2025
3 checks passed
@joshedney joshedney deleted the je/plat-14480-check-cli-path branch August 5, 2025 12:37
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