Can't load a project with an older workspace to a junction

Summary

I recently updated buildstream snapshot, and I can't run bst build anymore because I need to "recreate" a workspace, which I can't do using bst. The workspace in question is a junction, and that's probably why it's harder than an ordinary workspace.

(I know I can remove .bst/workspaces.yml as a workaround, but a user isn't supposed to know)

Steps to reproduce

  • install lastest buildstream snapshot (1.93.1)
  • open a workspace on a junction
  • update to latest master

What is the current bug behavior?

Any command I run is answered by

Error loading project: Workspace configuration format version 3 not supported.Please recreate this workspace.

even trying to list the workspaces or close the workspace that is causing the problem.

What is the expected correct behavior?

  • Tell which workspace is causing this.
  • Allow "recreating" the workspace from the command line.
  • Have a space after punctuation in the error message.

Other relevant information

  • BuildStream version affected: f126f0af