Sentry release tracking for production (git sha + deploy markers)
Maintainer antworten meist innerhalb von 1 Tag
@vprashrex arbeitet bereits daran.
Seit 10.10.2026.
Bewertung
Dieses Issue wurde noch nicht bewertet.
Beschreibung
Describe the current behavior
Every event in the kaapi-production Sentry project reports release 0.5.0. The release id comes from the hand-maintained API_VERSION setting, so it has not changed since April 2026. The release has no commits and no deploys attached, which means:
- "Regressed in release" and "Resolved in next release" do not work.
- Suspect commits are never shown on an issue.
- There is no way to tell from Sentry which production deploy introduced a problem.
Describe the enhancement you'd like
- Code (shared with staging): build the release id from Docker build args as
kaapi-backend@<RELEASE_TAG or API_VERSION>+<git sha 12>.SENTRY_RELEASEstays as an override.GIT_SHAalready exists in settings; addRELEASE_TAG. backend/Dockerfile: accept aRELEASE_TAGbuild arg..github/workflows/create-release.yml(tag push → ECS production):- checkout with
fetch-depth: 0 - resolve the same release id (
kaapi-backend@${GITHUB_REF_NAME}+${GITHUB_SHA::12}) - pass
--build-arg RELEASE_TAG=${{ github.ref_name }} - after both ECS rollouts succeed, register the release and deploy with
getsentry/action-release(environment: production,set_commits: auto)
- checkout with
- GitHub setup: Sentry organization token (
project:releases,org:read) as theSENTRY_AUTH_TOKENsecret, plusSENTRY_ORGandSENTRY_PROJECT(kaapi-production) variables. Without them the new step fails the deploy job.
Draft implementation and runbook: #1234 (docs/runbooks/sentry-release-tracking.md).
Why is this enhancement needed?
Faster triage after a production deploy: issues link to the commit and deploy that introduced them, and regressions are flagged automatically.
Additional context
- Staging is tracked separately; it deploys through a different workflow.
- Verify after the first tag deploy: Sentry → Releases shows the new id under
productionwith a non-zero commit count, and API and Celery report the same release.
- Vorherrschende Sprache
- Python
- Sterne
- 18
- Forks
- 11
- Ø Merge
- 4 T. 16 Std.
- Gemergte PRs (30 T.)
- 11
Entwicklungsumgebung
- Enthält ein Dockerfile oder eine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus ProjectTech4DevAI/kaapi-backend
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
ProjectTech4DevAI/kaapi-backend#889 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Evaluation: Add latency summary dataEvtl. vergeben @Ayush8923 hat das vor 1 Tag übernommen. Offen
ProjectTech4DevAI/kaapi-backend#1253 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
Guardrails: Inline validator supportEvtl. vergeben @AkhileshNegi hat das vor 1 Tag übernommen. Offenenhancement
ProjectTech4DevAI/kaapi-backend#1247 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
Logging: Reduce INFO log noiseEvtl. vergeben @vprashrex hat das vor 5 Tagen übernommen. Offenmaintenance
ProjectTech4DevAI/kaapi-backend#1243 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
Sentry Integration: Dynamic release taggingEvtl. vergeben @vprashrex hat das vor 5 Tagen übernommen. Offenenhancement parent
ProjectTech4DevAI/kaapi-backend#1242 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in ProjectTech4DevAI/kaapi-backend
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
aws-samples/sample-per-model-bedrock#243 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
FuRongJun-1999/dsh-memory#404 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 1 Tag
-
bug frontend
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
PennyLaneAI/catalyst#3337 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Workflow.schedule stops when a cron deadline passes before sleepEvtl. vergeben @HuaTNA hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
Maintainer antworten meist innerhalb von 1 Tag