Skip to content

Commit 86e843a

Browse files
authored
fix(taskworker): add isolation scope to taskworker execution (#93998)
tag pollution between taskworker tasks reported in slack, I _think_ this should fix it?
1 parent fdd385e commit 86e843a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/sentry/taskworker/workerchild.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,7 @@ def _execute_activation(task_func: Task[Any, Any], activation: TaskActivation) -
310310
)
311311
with (
312312
track_memory_usage("taskworker.worker.memory_change"),
313+
sentry_sdk.isolation_scope(),
313314
sentry_sdk.start_transaction(transaction),
314315
):
315316
transaction.set_data(

0 commit comments

Comments
 (0)