Sentry release tracking for production (git sha + deploy markers)
Mantenedores costumam responder em até 2 dias
@vprashrex já está trabalhando nisso.
Desde 10/10/2026.
Avaliação
Esta issue ainda não foi avaliada.
Descrição
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.
- Linguagem predominante
- Python
- Estrelas
- 18
- Forks
- 11
- Merge médio
- 4d 20h
- PRs com merge (30d)
- 9
Preparar o ambiente
- Inclui um Dockerfile ou arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de ProjectTech4DevAI/kaapi-backend
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
ProjectTech4DevAI/kaapi-backend#889 ·
Mantenedores costumam responder em até 2 dias
-
Evaluation: Add latency summary dataTalvez já em andamento @Ayush8923 assumiu hoje. Aberta
ProjectTech4DevAI/kaapi-backend#1253 · 1 responsável ·
Mantenedores costumam responder em até 2 dias
-
Fallback: Dynamic message translationsTalvez já em andamento @Prajna1999 assumiu hoje. Aberta
ProjectTech4DevAI/kaapi-backend#1251 · 1 responsável ·
Mantenedores costumam responder em até 2 dias
-
Redaction: Verify PII entity typesTalvez já em andamento @AkhileshNegi assumiu hoje. Abertaenhancement
ProjectTech4DevAI/kaapi-backend#1250 · 1 responsável ·
Mantenedores costumam responder em até 2 dias
-
Content Safety: Unified wrapper validatorTalvez já em andamento @Prajna1999 assumiu hoje. Aberta
ProjectTech4DevAI/kaapi-backend#1249 · 1 responsável ·
Mantenedores costumam responder em até 2 dias
Todas as issues de ProjectTech4DevAI/kaapi-backend
Issues semelhantes
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
Deltares/imod-python#1940 ·
Mantenedores costumam responder em até 1 dia
-
effort: low prio: low ready
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 82/100
digitalfabrik/integreat-cms#4621 ·
Mantenedores costumam responder em até 5 dias
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 88/100
ioos/compliance-checker#1375 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
Mantenedores costumam responder em até 1 dia
-
netbox status: backlog topic: testing type: housekeeping
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
netbox-community/netbox#23395 ·
Mantenedores costumam responder em até 1 dia