Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bundle sentry-cli in Sentry NuGet package #2074

Closed
4 of 7 tasks
bruno-garcia opened this issue Dec 5, 2022 · 2 comments
Closed
4 of 7 tasks

Bundle sentry-cli in Sentry NuGet package #2074

bruno-garcia opened this issue Dec 5, 2022 · 2 comments
Assignees
Labels
Feature New feature or request

Comments

@bruno-garcia
Copy link
Member

bruno-garcia commented Dec 5, 2022

Sentry CLI offers many features.
The main features we use during build phase of projects are:

  1. Uploading debug files including ProGuard on Android and JS Source Maps
  2. Creating source bundles
  3. Uploading commit info, to unlock suspect commits
  4. Uploading release details, to enable features like Release Health, resolving issue by release and "First seeing in Release X".

While many dev ecosystems are used to pull a binary and run via the CLI. In others, build system automation abstracts these. We integrate with many, such as Gradle, Fastlane and Webpack.

In the current integrations we have a mock server that simulates Sentry and validates things. This helps us integration test things such as symbol upload.

Goals

Relates to:

@bruno-garcia
Copy link
Member Author

bruno-garcia commented Jan 12, 2023

To make it easier to get the org/proj/auth information to get CLI going, we can use the wizard endpoint:

@jairbubbles
Copy link
Contributor

jairbubbles commented Mar 29, 2023

Hey @bruno-garcia, I was seeing some weird Sentry related errors during my build and I was a bit surprised to see that all this was added to the main Sentry package.

The errors I'm seeing are:

E:\.nuget\packages\sentry\3.28.1\buildTransitive\Sentry.targets(88,5): error : Sentry API request failed.  Either the authentication info is invalid, or the Sentry server could not be reached. 

Please note that I didn't opt-in to upload any info at all as I would need security team to approve it.

It's a geat feature but I feel like it should be added to another package like Sentry.MsBuild.

EDIT : I just saw #2216, I'll update to newest version it should fix my issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature or request
Projects
Archived in project
Development

No branches or pull requests

3 participants