Skip to content

Use WorkflowId rather than StoredWorkflowId when autoupdating subworkflows#1205

Merged
bgruening merged 1 commit intogalaxyproject:masterfrom
simonbray:au-wf-fix
Nov 15, 2021
Merged

Use WorkflowId rather than StoredWorkflowId when autoupdating subworkflows#1205
bgruening merged 1 commit intogalaxyproject:masterfrom
simonbray:au-wf-fix

Conversation

@simonbray
Copy link
Member

@simonbray simonbray commented Nov 11, 2021

I tried autoupdating a couple of workflows containing subworkflows today against usegalaxy.eu and it failed, because a GET to api/workflows/workflow_id returns subworkflow WorkflowIds rather than StoredWorkflowIds. When submitting that ID to the API to get the subworkflow details, the instance param needs to be set to True.

I was a bit surprised why the test doesn't catch this, because it contains a subworkflow. I think the reason is that on fresh Galaxy instances the Workflow and StoredWorkflow ID is the same for the first workflow uploaded.

@mvdbeek
Copy link
Member

mvdbeek commented Nov 11, 2021

on fresh Galaxy instances the Workflow and StoredWorkflow ID is the same for the first workflow uploaded.

Yep, that's the problem

@bgruening bgruening merged commit cbe5793 into galaxyproject:master Nov 15, 2021
@bgruening
Copy link
Member

:shipit:

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants