Sentry release tracking for production (git sha + deploy markers)
I maintainer di solito rispondono entro 1 giorno
@vprashrex ci sta già lavorando.
Dal 10/10/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
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.
- Lingua principale
- Python
- Stelle
- 18
- Fork
- 11
- Merge medio
- 4g 3h
- PR unite (30g)
- 13
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ProjectTech4DevAI/kaapi-backend
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
ProjectTech4DevAI/kaapi-backend#889 ·
I maintainer di solito rispondono entro 1 giorno
-
Celery: Investigate memory exitsForse già presa @vprashrex l’ha presa 1 giorno fa. Aperta
ProjectTech4DevAI/kaapi-backend#1268 · 2 assegnatari ·
I maintainer di solito rispondono entro 1 giorno
-
Cloudflare: Investigate 520 error solutionsForse già presa @Prajna1999 l’ha presa 1 giorno fa. Aperta
ProjectTech4DevAI/kaapi-backend#1267 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
ProjectTech4DevAI/kaapi-backend#1266 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 50/100
ProjectTech4DevAI/kaapi-backend#1265 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di ProjectTech4DevAI/kaapi-backend
Issue simili
-
bot-triaged module: LrScheduler module: optimizer triaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
documentation glm5 llm-model
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
vllm-project/vllm-ascend#19062 ·
I maintainer di solito rispondono entro 1 giorno
-
Author Page: shuai-zhao-llmApertaauthor-page correction
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
acl-org/acl-anthology#10496 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Issue Type: Bug Report
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
celery/celery#10875 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
SasanLabs/VulnerableApp#836 ·
I maintainer di solito rispondono entro 1 giorno