Sentry release tracking for production (git sha + deploy markers)
Les mainteneurs répondent en général sous 1 jour
@vprashrex y travaille déjà.
Depuis le 10/10/2026.
Évaluation
Cette issue n'a pas encore été évaluée.
Description
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.
- Langage dominant
- Python
- Étoiles
- 18
- Forks
- 11
- Merge moyen
- 4 j 3 h
- PR mergées (30 j)
- 13
Préparer son environnement
- Fournit un Dockerfile ou un fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de ProjectTech4DevAI/kaapi-backend
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
ProjectTech4DevAI/kaapi-backend#889 ·
Les mainteneurs répondent en général sous 1 jour
-
Celery: Investigate memory exitsPeut-être pris @vprashrex l’a pris aujourd’hui. Ouverte
ProjectTech4DevAI/kaapi-backend#1268 · 2 personnes assignées ·
Les mainteneurs répondent en général sous 1 jour
-
Cloudflare: Investigate 520 error solutionsPeut-être pris @Prajna1999 l’a pris aujourd’hui. Ouverte
ProjectTech4DevAI/kaapi-backend#1267 · 1 personne assignée ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 4/5 3-5 jours Accessibilité débutants 25/100
ProjectTech4DevAI/kaapi-backend#1266 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 3/5 1-2 jours Accessibilité débutants 50/100
ProjectTech4DevAI/kaapi-backend#1265 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de ProjectTech4DevAI/kaapi-backend
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
PolicyEngine/policyengine-us#10262 ·
Les mainteneurs répondent en général sous 2 jours
-
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
kellyjonbrazil/jc#788 ·
Les mainteneurs répondent en général sous 2 jours
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
Les mainteneurs répondent en général sous 1 jour
-
`/search.json` ignores the documented `editions.sort` parameterPeut-être pris @PranavD2905 l’a pris aujourd’hui. OuverteAffects: Server Good First Issue Module: Solr Needs: Triage Theme: Public APIs Theme: Search
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
internetarchive/openlibrary#13989 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
bug P2: misleading query
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
jeffknupp/association#478 ·