Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Remove superseded Cloud Run simulation entry revisions

Đã đóng
#722 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
gcp, python
Lĩnh vực
cloud, devops, release

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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của PolicyEngine/policyengine-sim-api

Tất cả issue của PolicyEngine/policyengine-sim-api

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.