Sentry release tracking for production (git sha + deploy markers)
Maintainer thường phản hồi trong vòng 1 ngày
@vprashrex đang làm issue này rồi.
Từ ngày 10/10/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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.
- Ngôn ngữ chính
- Python
- Star
- 18
- Fork
- 11
- Merge trung bình
- 3 ngày 11 giờ
- Pull request đã merge (30 ngày)
- 8
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của ProjectTech4DevAI/kaapi-backend
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
ProjectTech4DevAI/kaapi-backend#889 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Logging: Reduce INFO log noiseCó thể đã có người làm @vprashrex đã nhận 2 ngày trước. Đang mởmaintenance
ProjectTech4DevAI/kaapi-backend#1243 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Sentry Integration: Dynamic release taggingCó thể đã có người làm @vprashrex đã nhận 2 ngày trước. Đang mởenhancement parent
ProjectTech4DevAI/kaapi-backend#1242 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Sentry Integration: Track staging commitsCó thể đã có người làm @vprashrex đã nhận 2 ngày trước. Đang mởenhancement
ProjectTech4DevAI/kaapi-backend#1241 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
API Management: Restrict Gemini API keysCó thể đã có người làm @Prajna1999 đã nhận 4 ngày trước. Đang mở
ProjectTech4DevAI/kaapi-backend#1239 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của ProjectTech4DevAI/kaapi-backend
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
huggingface/peft#3955 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
author-page correction
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 60/100
acl-org/acl-anthology#10313 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
anime duplicate exception request-theme
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
LizardByte/ThemerrDB#8926 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
huggingface/transformers#49556 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area/security bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
mozilla-ai/otari#2245 ·
Maintainer thường phản hồi trong vòng 1 ngày