Skip to content

eds wf app update --branch: 500 after changing only the app record #28

Open

Description

@Anomalyru

Problem

eds wf app update <id> --branch <new> can fail with HTTP 500 after it has already changed the application record. After that, eds wf app show reports the new branch, but the next eds wf app deploy still builds the old one.

The build branch comes from the pipeline variable BRANCH (the pipeline YAML has branch: "{{.BRANCH}}"), and in this case the variable is not updated. eds wf variable list hides values ("Use Web-UI to view it"), so the mismatch can't be seen from the CLI; only eds wf run list (.branch) shows the branch that was actually built.

Expected

The update is atomic: either both the application and the pipeline variable change, or neither does and the error says so.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions