Skip to content

Conversation

@Lms24
Copy link
Member

@Lms24 Lms24 commented Aug 26, 2022

This PR removes our SentryFacade abstraction from the project. As we got rid of Sentry CLI (#34) there is no need anymore to have this additional layer and we can just call the facade's functions directly.

Additionally, the PR introduces the SentryContext type which should hold "sentry internal" values/data, like the hub and the parent span. We might wanna add the logger here later (cc @vladanpaunovic). This replaces the arguments we pass down to the release pipeline functions so we can add more stuff w/o having to add yet another param.

@Lms24 Lms24 requested review from lforst and vladanpaunovic August 26, 2022 15:32
Copy link

@lforst lforst left a comment

Choose a reason for hiding this comment

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

nice

* Holds data for Sentry internal purposes
* (e.g. telemetry and logging)
*/
export type SentryContext = {
Copy link

Choose a reason for hiding this comment

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

s/SentryContext/BuildContext/? Just to indicate that this can be used for more stuff than just Sentry SDK objects?

@Lms24 Lms24 enabled auto-merge (squash) August 26, 2022 16:00
@Lms24 Lms24 merged commit 3058cb2 into main Aug 26, 2022
@Lms24 Lms24 deleted the lms-facade branch August 26, 2022 16:01
@Lms24 Lms24 mentioned this pull request Aug 26, 2022
29 tasks
lforst pushed a commit that referenced this pull request Aug 26, 2022
Remove our `SentryFacade` abstraction from the project. As we got rid of Sentry CLI (#34) there is no need anymore to have this additional layer and we can just call the facade's functions directly.

Additionally, the PR introduces the `SentryContext` type which should hold "sentry internal" values/data, like the hub and the parent span. We might wanna add the logger here later (cc @vladanpaunovic). This replaces the arguments we pass down to the release pipeline functions so we can add more stuff w/o having to add yet another param.
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.

3 participants