Deployment details page resets selected stage during live polling

Abierto
#7,119 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 2 días

@Soumya-codr ya está trabajando en esto.

Desde el 4/8/2026.

  • #7121 de @kunaldevsahu — cerrado sin fusionar

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
62/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Tranquilo
Área
ci-cd, devops

Línea de trabajo

Comienza en la ruta de live polling de la página Deployment Details, centrándote en la actualización de aproximadamente cuatro segundos descrita en el issue. Reproduce el restablecimiento del stage con un deployment en ejecución activa y, después, sigue cómo el polling actualiza los datos del deployment y el stage seleccionado. Se considera terminado cuando un stage no predeterminado seleccionado manualmente permanece seleccionado durante el polling, mientras que seguir el stage predeterminado continúa avanzando cuando progresa el deployment.

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

Descripción

kind/bug

What happened

When viewing the Deployment Details page for a running deployment, manually selecting a stage other than the default active stage is not preserved. While the deployment is running, the page periodically polls for updated deployment data. Each polling cycle resets the selected stage back to the current default active stage, overriding the user's manual selection.

As a result, users cannot continuously inspect logs or details of a non-default stage because their selection is automatically changed every time the deployment data is refreshed.


What you expected to happen

A manually selected stage should remain selected across polling updates. Live polling should update deployment data without overriding the user's current stage selection.

The selected stage should only change automatically when:

  • the user opens a different deployment, or
  • the user is still following the default active stage and the deployment progresses to a new default stage.

How to reproduce it

  1. Start or open a deployment that is actively running.
  2. Navigate to the Deployment Details page.
  3. Wait until live polling is active.
  4. Select a stage other than the current default active stage.
  5. Wait for the next polling interval (approximately every 4 seconds).
  6. Observe that the selected stage is automatically reset to the default active stage.

Environment

  • piped version: v0.57.0

  • control-plane version: v0.57.0

  • Others:

    • Operating System: macOS
Lenguaje dominante
Go
Estrellas
1.4k
Forks
391
Merge medio
4 d 1 h
PR fusionados (30 d)
58

Preparar el entorno

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 pipe-cd/pipecd

Todos los issues de pipe-cd/pipecd

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.