Deployment details page resets selected stage during live polling

未关闭
#7,119 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 2 天内回复

@Soumya-codr 已经在做这个了。

开始于 2026年8月4日。

  • #7121 来自 @kunaldevsahu —— 已关闭,未合并

评估

难度
3/5
预计耗时
1-2 天
新手友好度
62/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
冷清
领域
ci-cd, devops

调研方向

从 Deployment Details 页面实时轮询的路径开始,重点关注 issue 中描述的约四秒刷新。使用一个正在运行的 deployment 重现 stage 重置,然后跟踪轮询如何更新 deployment 数据和所选 stage。完成的标准是:手动选择的非默认 stage 在轮询期间保持选中,而跟随默认 stage 时,仍会随着 deployment 的进展而继续前进。

由索引模型根据 Issue 内容生成。

描述

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
主要语言
Go
星标
1.4k
派生
391
平均合并
4 天 1 小时
30 天内合并 PR
58

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

pipe-cd/pipecd 的其他 Issue

查看 pipe-cd/pipecd 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。