[Feature Request] Forced retirement (force-delete) of a version that is a security risk

Aperta
#699 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

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

Direzione di ricerca

Start by reading the worker version retirement and draining flow, including the existing draining and sunset timeout settings mentioned in the issue. Decide how forced retirement should interact with rollout pacing and workflows still running on the old version; the issue leaves that behavior open. Done means operators can explicitly retire a selected version, optionally set a deadline, and default behavior remains unchanged.

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

Descrizione

Context

Deploying a patched worker version does not remove older versions that are still serving workflows. When a deployed version turns out to be a security risk, operators need to retire it deliberately and promptly.

Today this requires manual intervention (e.g. editing or deleting Kubernetes resources directly), which is impractical at scale.

Request

An explicit forced-retirement mechanism: a way to force-delete (or immediately retire) a specific version, for example:

  • an annotation or spec field that forces retirement of a version, bypassing normal rollout/drain pacing;
  • a configurable retirement deadline, so operators can balance patch urgency against disruption to running workflows (including long-running workflows still executing on the old version);
  • possibly reusing/extending the existing draining and sunset timeouts as part of the mechanism.

Default behavior should remain unchanged; forced retirement would be an explicit operator opt-in.

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.