I registered a Galaxy workflow using the .dockstore.yml procedure. I then removed the leading forward slash in primaryDescriptorPath and testParameterFiles and pushed this to another branch. Curiously without forward slashes I see the tool ids and DAG for this workflow, even though this seems to be invalid (see screenshot, where the error message is also missing .ga as valid extension for Galaxy workflows). With leading forward slash the workflow appears to be valid, but tools ids and DAG can't be displayed. If I now set the default version to the invalid workflow I can't change it back to the valid workflow.

鈹咺ssue is synchronized with this Jira Story
鈹咺ssue Type: Story
鈹哠print: Backlog
鈹咺ssue Number: DOCK-1601
Hi,
I can confirm that the error message should list .ga as an extension for Galaxy workflows and that the leading slash should be needed.
I cannot reproduce the error where the default version cannot be changed after making the invalid version default.
Do you happen to have a screenshot of the error message?
There's no error message, the action had just disappeared from the actions menu (which also only listed view as an option). I can now switch versions again, but I did push a version with a leading slash to that branch.
Could it be possible that you navigated to the public version of the workflow which only has view as an option?
i.e. https://dockstore.org/workflows/github.com/mvdbeek/workflow-testing-repo/COVID-19%20variation%20analysis%20on%20Illumina%20metagenomic%20data:no_forward_slash?tab=versions
That could be what happened, yes.
(discussion continues at https://github.com/galaxyproject/galaxy/issues/10359 )