Sentry release tracking for production (git sha + deploy markers)
Los mantenedores suelen responder en 1 día
@vprashrex ya está trabajando en esto.
Desde el 10/10/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
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.
- Lenguaje dominante
- Python
- Estrellas
- 18
- Forks
- 11
- Merge medio
- 3 d 11 h
- PR fusionados (30 d)
- 8
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de ProjectTech4DevAI/kaapi-backend
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
ProjectTech4DevAI/kaapi-backend#889 ·
Los mantenedores suelen responder en 1 día
-
Evaluation: Improve guardrails awarenessPosiblemente ocupada @AkhileshNegi la tomó hace 15 días. Abiertoenhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 15/100
ProjectTech4DevAI/kaapi-backend#1246 ·
Los mantenedores suelen responder en 1 día
-
Logging: Reduce INFO log noisePosiblemente ocupada @vprashrex la tomó hace 3 días. Abiertomaintenance
ProjectTech4DevAI/kaapi-backend#1243 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Sentry Integration: Dynamic release taggingPosiblemente ocupada @vprashrex la tomó hace 3 días. Abiertoenhancement parent
ProjectTech4DevAI/kaapi-backend#1242 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Sentry Integration: Track staging commitsPosiblemente ocupada @vprashrex la tomó hace 3 días. Abiertoenhancement
ProjectTech4DevAI/kaapi-backend#1241 · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de ProjectTech4DevAI/kaapi-backend
Issues similares
-
Broken links in the docsAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
uniswap-python/uniswap-python#487 ·
-
[Bug]: agent_final_response still returns the abandoned branch's answer after navigate moves HEAD backPosiblemente ocupada @enyst la tomó hoy. Abiertobug priority:low ready-for-dev
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
OpenHands/software-agent-sdk#5822 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
-
area: server enhancement good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
scs0209/laya-guard#52 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 2 días