Deployment details page resets selected stage during live polling

Đang mở
#7,119 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

@Soumya-codr đang làm issue này rồi.

Từ ngày 4/8/2026.

  • #7121 của @kunaldevsahu — đã đóng, không merge

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
62/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Lĩnh vực
ci-cd, devops

Hướng nghiên cứu

Bắt đầu từ luồng live polling của trang Deployment Details, tập trung vào việc làm mới khoảng bốn giây được mô tả trong issue. Tái hiện việc stage bị đặt lại với một deployment đang chạy, sau đó theo dõi cách polling cập nhật dữ liệu deployment và stage được chọn. Được xem là hoàn thành khi một stage không mặc định được chọn thủ công vẫn được chọn trong suốt quá trình polling, trong khi việc theo dõi stage mặc định vẫn tiếp tục tiến triển khi deployment tiến triển.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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
Ngôn ngữ chính
Go
Star
1.4k
Fork
391
Merge trung bình
4 ngày 1 giờ
Pull request đã merge (30 ngày)
58

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của pipe-cd/pipecd

Tất cả issue của pipe-cd/pipecd

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.