Skip to content

Deployment details page resets selected stage during live polling #7119

Description

@kunaldevsahu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions