Remove superseded Cloud Run simulation entry revisions
Maintainer thường phản hồi trong vòng 1 ngày
Một pull request liên quan đã được merge.
- #723 của @anth-volk — đã merge
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 52/100
Hướng nghiên cứu
Start by locating the deployment workflow for the simulation entry service and its Cloud Run promotion steps. Trace how production candidates become stable and where staging deployments diverge, then add focused automated tests for the cleanup conditions. Done means failed or unpromoted deployments leave revisions untouched, while a successful promotion retains only the active revision and removes older tags and revisions.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
Each successful deployment of the simulation entry service creates a new Cloud Run revision, but the deployment workflow does not remove superseded revisions. These inactive revisions accumulate after subsequent production deployments.
Proposed change
- Run cleanup after a production candidate completes the deployment workflow and is promoted to stable traffic.
- Verify that the exact revision produced by the workflow is Ready and is the sole revision receiving 100% of service traffic.
- Remove traffic tags that reference older revisions.
- Delete every older revision while retaining the promoted revision.
- Skip cleanup for staging deployments that do not promote their candidate.
Acceptance criteria
- Failed or incomplete deployments cannot delete revisions.
- Unpromoted staging deployments do not run cleanup.
- A successful promoted deployment leaves only its active Cloud Run revision.
- The cleanup behavior has focused automated tests.
- Ngôn ngữ chính
- Python
- Star
- 1
- Fork
- 1
- Merge trung bình
- 1 ngày 7 giờ
- Pull request đã merge (30 ngày)
- 23
Chuẩn bị môi trường
- Không có Dockerfile hay 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 PolicyEngine/policyengine-sim-api
-
Integration tests fail due to missing UV virtual environment setupCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
PolicyEngine/policyengine-sim-api#314 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Update policyengine to 6.2.4Có thể đã có người làm @policyengine đã nhận 1 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 15/100
PolicyEngine/policyengine-sim-api#736 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Update policyengine to 6.2.3Có thể đã có người làm @policyengine đã nhận 2 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 15/100
PolicyEngine/policyengine-sim-api#734 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Update policyengine to 6.2.2Có thể đã có người làm @policyengine đã nhận 3 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 20/100
PolicyEngine/policyengine-sim-api#730 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
PolicyEngine/policyengine-sim-api#729 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của PolicyEngine/policyengine-sim-api
Issue tương tự
-
enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
hatchet-dev/hatchet#5179 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Update Python support to 3.15Đang mởpython-version
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug javascript P2-medium python release:v3.1
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
adrirubio/claude-deck#546 ·
Maintainer thường phản hồi trong vòng 1 ngày