Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/sentry/preprod/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
)
from sentry.preprod.producer import produce_preprod_artifact_to_kafka
from sentry.preprod.size_analysis.models import SizeAnalysisResults
from sentry.preprod.size_analysis.tasks import compare_preprod_artifact_size_analysis
from sentry.preprod.vcs.status_checks.size.tasks import create_preprod_status_check_task
from sentry.silo.base import SiloMode
from sentry.tasks.assemble import (
Expand Down Expand Up @@ -441,6 +442,15 @@ def _assemble_preprod_artifact_size_analysis(
}
)

# Trigger size analysis comparison if eligible
compare_preprod_artifact_size_analysis.apply_async(
kwargs={
"project_id": project.id,
"org_id": org_id,
"artifact_id": artifact_id,
}
)


@instrumented_task(
name="sentry.preprod.tasks.assemble_preprod_artifact_size_analysis",
Expand Down
Loading