[Feature Request] Make the rollback-detection window configurable

Abierto
#698 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

@blaketsk ya está trabajando en esto.

Desde el 28/11/2026.

  • #709 de @blaketsk — abierto

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
45/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
go
Área
backend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
Go
Estrellas
204
Forks
88
Merge medio
1 d 2 h
PR fusionados (30 d)
10

Preparar el entorno

  • Incluye un Dockerfile o un archivo de Docker Compose
  • Sin plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de temporalio/temporal-worker-controller

Todos los issues de temporalio/temporal-worker-controller

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.