Skip to content

Freight approval stays stale in the UI when the watch stream is disconnected #8224

Backlog

Description

@flacatus

Pre-submission checklist

  • I have searched existing issues and found no duplicate.

Description

After manually approving Freight for a Stage, the Kargo UI can keep showing it as unapproved even though the approval succeeded. The graph and Freight details currently depend on a watch event to reflect the change. If that event does not arrive, the displayed state stays stale until the page reloads.

Steps to Reproduce

  1. Open a project pipeline and select Freight that can be manually approved for a Stage.
  2. Keep the approval endpoint reachable, but interrupt the Freight watch stream so the browser does not receive new Freight events.
  3. Manually approve the Freight and wait for the success notification.
  4. Check the Stage graph and the open Freight details before reloading the page.

Expected Behavior

The Stage and Freight details show the approval after the API confirms success, even when the watch stream is disconnected.

Actual Behavior

The UI reports success, but can keep displaying the Freight as unapproved. Reloading the page shows the saved approval.

Kargo Version

Observed on a Konflux build of Kargo v1.12.4 (upstream source commit 1b6a368d3). A frontend regression test reproduces the stale state when the approval succeeds without a watch event.

Activity

  1. added
    needs/area
    needs/kind
    needs/priority
    on Nov 29, 2026
  2. kargo-governance-bot commented on Nov 29, 2026

    @kargo-governance-bot

    Before Starting Work

    Thank you for opening this issue.

    Please do not start work on this issue, and please do not ask to be assigned to it, until a maintainer has triaged it and cleared it for contribution. This applies to bug reports too. A maintainer needs to confirm a bug, and usually reproduce it, before a fix is worth writing.

    An issue is cleared for contribution when none of the blocking labels remain on it. Pull requests that reference an issue that has not been cleared are automatically converted to drafts, which maintainers do not routinely review.

    Maintainers triage issues on a best-effort basis. See the Contributor Guide for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs/areaneeds/kindneeds/priority

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions