[Feature Request] Make the rollback-detection window configurable

Aperta
#698 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@blaketsk ci sta già lavorando.

Dal 28/11/2026.

  • #709 di @blaketsk — aperta

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
go
Ambito
backend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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).

Lingua principale
Go
Stelle
204
Fork
88
Merge medio
1g 2h
PR unite (30g)
10

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di temporalio/temporal-worker-controller

Tutte le issue di temporalio/temporal-worker-controller

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.