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

Update Sentry to version 0.23.0 #2954

Closed
wants to merge 4 commits into from

Conversation

jvff
Copy link
Contributor

@jvff jvff commented Oct 25, 2021

Motivation

This is part of the update to use Tokio version 1 (#2200), and must be merged together with the other PRs.

The version of the sentry crate used by Zebra uses an older version of Tokio. In order to prune the dependency tree and avoid having multiple versions of the Tokio runtime running simultaneously, we should update the sentry dependency to a newer version that uses the same version of Tokio as Zebra.

Solution

Update to sentry version 0.23.0. This requires some changes because the TracingIntegration type seems to no longer exist.

Review

@dconnolly has worked with sentry before and can review this, but it shouldn't be merged yet.

Reviewer Checklist

  • Code implements Specs and Designs
  • Tests for Expected Behaviour
  • Tests for Errors

Follow Up Work

jvff added 3 commits October 21, 2021 22:18
Use a version compatible with Tokio version 1.
This seems to not be available from `sentry-tracing` anymore, so it
needs to be replaced.
This seems like the replacement for `TracingIntegration`.
@jvff jvff requested a review from dconnolly October 25, 2021 22:27
@zfnd-bot zfnd-bot bot assigned jvff Oct 25, 2021
@mpguerra mpguerra mentioned this pull request Oct 29, 2021
10 tasks
Copy link
Contributor

@teor2345 teor2345 left a comment

Choose a reason for hiding this comment

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

I think we might want to tweak a crate version requirement here.

zebrad/Cargo.toml Outdated Show resolved Hide resolved
@jvff jvff requested a review from teor2345 November 1, 2021 17:46
@jvff jvff mentioned this pull request Nov 1, 2021
3 tasks
Use a strict dependency specification.
@jvff jvff force-pushed the update-to-sentry-0.23.0 branch from e3bf317 to e3f82cb Compare November 1, 2021 21:37
Copy link
Contributor

@teor2345 teor2345 left a comment

Choose a reason for hiding this comment

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

The version was fixed, and we have a PR that makes CI detect duplicate crates.

Copy link
Contributor

@dconnolly dconnolly left a comment

Choose a reason for hiding this comment

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

lgtm!

@jvff
Copy link
Contributor Author

jvff commented Nov 2, 2021

Merged through #2994.

@jvff jvff closed this Nov 2, 2021
@jvff jvff deleted the update-to-sentry-0.23.0 branch November 24, 2021 13:00
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