Skip to content

The code provider doesn't open the workflow folder #210

@r4victor

Description

@r4victor

Environment

  • dstack version: master
  • Python version: 3.11
  • OS version: macOS 12.5

Bug description
Running dstack run code --remote used to output a url with the folder query param like http://ec2-52-48-143-216.eu-west-1.compute.amazonaws.com:3601/?folder=%2Fworkflow&tkn=token. After ae6e4ad, query params are not longer added to the urls, so folder is missing and vscode is started with no workspace set.

Steps to reproduce

Expected behavior
We want vscode to open workflow folder when we access the url from the logs.

Logs

Screenshots

Additional comments
We can specify default folder for vscode server with --default-folder /workflow.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions