Skip to content

Python CeleryIntegration accumulates baggage header data on retry #2916

@tomas-sk

Description

@tomas-sk

How do you use Sentry?

Sentry Saas (sentry.io)

Version

1.41.0

Steps to Reproduce

  1. Retry celery task within sentry transaction
  2. Each retry appends one duplicate of sentry baggage data

See attached python reproduction steps.
sentry_celery_baggage_py.txt

Expected Result

Make CeleryIntegration, possible other not duplicate baggage headers.

Actual Result

sentry_celery_baggage_log.txt

Metadata

Metadata

Assignees

No fields configured for issues without a type.

Projects

Status

Waiting for: Product Owner

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions