Skip to content

Update and cleanup Celery integration #2891

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

Merged
merged 26 commits into from
Mar 28, 2024

Conversation

antonpirker
Copy link
Member

@antonpirker antonpirker commented Mar 22, 2024

Cleanup the Celery integration to make it easier to work on it and also update to the new minimum supported Celery versions and the new Scopes API.

The easiest way to review this is probably looking at the "Fixed trace propagation" commit:
a723cb7

The other commits are mostly moving code around.

@antonpirker antonpirker marked this pull request as ready for review March 22, 2024 15:09
@antonpirker
Copy link
Member Author

One thing I need to check. In my test project I have two tasks with 1 minute interval. When I start the server (celery with beat) then the Cron monitors work fine. But If I restart the server then the cron monitors have a "missed" state.

Copy link
Member

@szokeasaurusrex szokeasaurusrex left a comment

Choose a reason for hiding this comment

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

I read through your changes, but I am having trouble understanding the PR at a high level, so I think it would be better if @sentrivana also reviews this.

Copy link
Contributor

@sentrivana sentrivana left a comment

Choose a reason for hiding this comment

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

Looks much better! 🥔 Left a few comments.

@antonpirker antonpirker merged commit 3ad70b0 into sentry-sdk-2.0 Mar 28, 2024
@antonpirker antonpirker deleted the antonpirker/update-celery-integration branch March 28, 2024 13:15
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