Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 21, 2023

Bumps sentry-sdk from 0.16.1 to 1.14.0.

Release notes

Sourced from sentry-sdk's releases.

1.14.0

Various fixes & improvements

1.13.0

Various fixes & improvements

  • Add Starlite integration (#1748) by @​gazorby

    Adding support for the Starlite framework. Unhandled errors are captured. Performance spans for Starlite middleware are also captured. Thanks @​gazorby for the great work!

    Usage:

    from starlite import Starlite, get
    import sentry_sdk

... (truncated)

Changelog

Sourced from sentry-sdk's changelog.

1.14.0

Various fixes & improvements

1.13.0

Various fixes & improvements

  • Add Starlite integration (#1748) by @​gazorby

    Adding support for the Starlite framework. Unhandled errors are captured. Performance spans for Starlite middleware are also captured. Thanks @​gazorby for the great work!

    Usage:

    from starlite import Starlite, get

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 0.16.1 to 1.14.0.
- [Release notes](https://github.com/getsentry/sentry-python/releases)
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md)
- [Commits](getsentry/sentry-python@0.16.1...1.14.0)

---
updated-dependencies:
- dependency-name: sentry-sdk
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 21, 2023
@codecov
Copy link

codecov bot commented Mar 21, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (6b6d152) 67.59% compared to head (ecb9fa9) 67.59%.

Additional details and impacted files
@@             Coverage Diff              @@
##           development     #296   +/-   ##
============================================
  Coverage        67.59%   67.59%           
============================================
  Files               31       31           
  Lines             4154     4154           
============================================
  Hits              2808     2808           
  Misses            1346     1346           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Contributor

@jlchang jlchang left a comment

Choose a reason for hiding this comment

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

@eweitz if the build passes, what else is necessary before merging this PR? sentry-sdk is used in monitor.py but I don't know if we have any tests that explicitly check for Sentry reporting in this repo.

If we approve this PR, do we need to test in staging to ensure that an expected ingest failure mode gets reported in non-prod Sentry?

Copy link
Member

@eweitz eweitz left a comment

Choose a reason for hiding this comment

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

If we approve this PR, do we need to test in staging to ensure that an expected ingest failure mode gets reported in non-prod Sentry?

We could, but I don't think we need to. The worst case I can reasonably envision from deferring such a check is that Ingest Pipeline stops logging unhandled errors to Sentry. I see no errors logged from Ingest to Sentry in the last 90 days. And IIUC, we also log unhandled errors in delocalized GCS files and Rails local logs, and log handled errors / user validation errors in Mixpanel, so the segment of unlogged errors seems like it would be small (if anything) in that worst case. That worst case strikes me as unlikely; breaking changes in 1.0.0 don't seem likely to affect our usage.

Given that, while addressing within 30 days this security issue marked as high severity is important for security compliance, specific manual regression testing here seems less essential.

Reading the security report indicates the issue requires multiple conditions that aren't used in this project. So while merging and deploying this update seems like it'd be fine, it seems unlikely we'd ever meet the conditions for this issue to manifest -- e.g. we're prohibited from setting sendDefaultPII set to True for pre-existing reasons.

Copy link
Contributor

@jlchang jlchang left a comment

Choose a reason for hiding this comment

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

@eweitz Thanks for walking me through how to evaluate a security update PR. It's completely obvious, in retrospect, that this PR can be evaluated in the context of 1. what breaking changes are involved in the update and 2. what the security report is concerned about.

I really appreciate the link to the Sentry report showing that we no longer get logger:ingest-pipeline errors - I'll make a note to investigate as the mixpanel data suggests those error still occur. At least we won't attribute those errors to this update!

@jlchang jlchang merged commit 74a1d97 into development Mar 23, 2023
@jlchang jlchang deleted the dependabot/pip/sentry-sdk-1.14.0 branch March 23, 2023 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants