Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Commit d6067c6

Browse files
fix build
1 parent f7bc615 commit d6067c6

File tree

4 files changed

+3
-19
lines changed

4 files changed

+3
-19
lines changed

docker/Dockerfile.requirements

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ENV UV_LINK_MODE=copy \
1616
UV_COMPILE_BYTECODE=1 \
1717
UV_PYTHON_DOWNLOADS=never \
1818
UV_PYTHON=python \
19-
UV_PROJECT_ENVIRONMENT=/worker
19+
UV_PROJECT_ENVIRONMENT=/api
2020

2121
# Then, add the rest of the project source code and install it
2222
# Installing separately from its dependencies allows optimal layer caching

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ dependencies = [
4242
"redis",
4343
"regex",
4444
"requests",
45-
"sentry-sdk>=2.13.0",
45+
"sentry-sdk>=2.18.0",
4646
"setproctitle",
4747
"shared",
4848
"simplejson",
@@ -79,7 +79,6 @@ dev-dependencies = [
7979
"vcrpy",
8080
]
8181

82-
8382
[tool.uv.sources]
8483
codecovopentelem = { git = "https://github.com/codecov/opentelem-python", rev = "df1e241927d4794fc0e24f96431f0fb730edac21" }
8584
shared = { git = "https://github.com/codecov/shared", rev = "9c31870de026a8a3f026f0753b1991e8c832fadb" }

services/task/task.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,8 @@
22
from datetime import datetime, timedelta
33
from typing import Iterable, List, Optional, Tuple
44

5-
import celery
65
from celery import Celery, chain, group, signature
7-
from celery.canvas import Signature
8-
from django.conf import settings
96
from sentry_sdk import set_tag
10-
from sentry_sdk.integrations.celery import _wrap_apply_async
117
from shared import celery_config
128

139
from core.models import Repository
@@ -19,17 +15,6 @@
1915

2016
log = logging.getLogger(__name__)
2117

22-
if settings.SENTRY_ENV:
23-
celery.group.apply_async = _wrap_apply_async(celery.group.apply_async)
24-
celery.chunks.apply_async = _wrap_apply_async(celery.chunks.apply_async)
25-
celery.canvas._chain.apply_async = _wrap_apply_async(
26-
celery.canvas._chain.apply_async
27-
)
28-
celery.canvas._chord.apply_async = _wrap_apply_async(
29-
celery.canvas._chord.apply_async
30-
)
31-
Signature.apply_async = _wrap_apply_async(Signature.apply_async)
32-
3318

3419
class TaskService(object):
3520
def _create_signature(self, name, args=None, kwargs=None, immutable=False):

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)