Sentry Integration: Dynamic release tagging
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ả
Is your feature request related to a problem?
Sentry currently reports a static release (0.5.0) for both kaapi-production and kaapi-staging. This prevents tracking which commit or deploy introduced issues, limiting regression detection.
Describe the solution you'd like
- Tag every deploy with
kaapi-backend@<tag or main>+<git sha 12>and register it in Sentry. - Split CI/CD changes into two sub-issues:
- #1240 Production: tag push → ECS (
create-release.yml) - #1241 Staging:
mainmerge → EC2 (deploy-staging.yml)
- #1240 Production: tag push → ECS (
- Implement shared changes in release-id code (
resolve_sentry_release,RELEASE_TAGsetting, Dockerfile build arg) with the first sub-issue.
Original issue
Describe the current behavior
Sentry reports a static release (0.5.0) for both kaapi-production and kaapi-staging, with no commits or deploys attached. Neither environment can show which commit or deploy introduced an issue.
Describe the enhancement you'd like
Tag every deploy with kaapi-backend@<tag or main>+<git sha 12> and register it in Sentry with its commits. Production and staging deploy through different workflows, so the CI/CD changes are split into two sub-issues:
- #1240 Production: tag push → ECS (
create-release.yml) - #1241 Staging:
mainmerge → EC2 (deploy-staging.yml)
The release-id code change (resolve_sentry_release, RELEASE_TAG setting, Dockerfile build arg) is shared; land it with whichever sub-issue goes first.
Why is this enhancement needed?
Regression detection, suspect commits and "resolved in next release" in Sentry all depend on a release id that changes per deploy.
Additional context
Draft implementation and runbook: #1234.
- 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
-
Evaluation: Improve guardrails awarenessCó thể đã có người làm @AkhileshNegi đã nhận 15 ngày trước. Đang mởenhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
ProjectTech4DevAI/kaapi-backend#1246 ·
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: Track staging commitsCó thể đã có người làm @vprashrex đã nhận 3 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
-
Sentry release tracking for production (git sha + deploy markers)Có thể đã có người làm @vprashrex đã nhận 3 ngày trước. Đang mởenhancement
ProjectTech4DevAI/kaapi-backend#1240 · 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ự
-
area: agents area: docs good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
openapi/gknowledge#23 ·
-
get() for StrEnumCó thể đã có người làm @FeJo5952 đã nhận hôm nay. Đang mởgood first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
collective/icalendar#1921 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Improvement Python Spans
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
getsentry/sentry-python#7994 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
alphagov/notifications-api#5004 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
equinor/radix-flux#3922 ·
Maintainer thường phản hồi trong vòng 1 ngày