[Feature Request] Make the rollback-detection window configurable

Đang mở
#698 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

@blaketsk đang làm issue này rồi.

Từ ngày 28/11/2026.

  • #709 của @blaketsk — đang mở

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
45/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ệ
go
Lĩnh vực
backend

Hướng nghiên cứu

Start by locating the controller logic that detects rollbacks and the WorkerDeployment spec or controller configuration where durations are defined. Trace how the current one-hour window is applied, then determine how a configurable duration can preserve that default. Done means operators can configure the window and the default behavior remains one hour.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Context

When a release is rolled back to a previously deployed version (e.g. via a Helm rollback), the controller determines whether this is a rollback by checking whether that version was current before, and how much time has passed since. This rollback-detection window is currently fixed at one hour.

Operators whose safe-rollout processes span much longer horizons (rollouts paced over days or weeks) may roll back to a version that was current well over an hour ago, which then falls outside the fixed window and is not treated as a rollback.

Request

Make the rollback-detection window duration configurable, for example:

  • a per-deployment setting on the WorkerDeployment spec, and/or
  • a controller-level default.

The default should preserve the current behavior (one hour).

Ngôn ngữ chính
Go
Star
204
Fork
88
Merge trung bình
1 ngày 2 giờ
Pull request đã merge (30 ngày)
10

Chuẩn bị môi trường

  • Có Dockerfile hoặc tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

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 temporalio/temporal-worker-controller

Tất cả issue của temporalio/temporal-worker-controller

Issue tương tự

Thêm issue về Go

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.