Skip to content

SCM doesn't reflect remote status. #1769

Closed as not planned
Closed as not planned
@daavoo

Description

@daavoo

The SCM section contains action for dvc push but it doesn't reflect the remote status, only workspace status.

I believe showing the remote status is relevant and the lack of it might cause confusion and incorrect workflows for users unfamiliar with DVC.

VSCode could use dvc status -c to query for remote status

Example workflow:


1. Start from nothing changed

2. I run an experiment.

Captura de Pantalla 2022-05-25 a las 17 22 29

I see changes to dvc-tracked files and git-tracked files.

3. Used to my regular workflow, I stage and commit the git-tracked files.

I get a clear signal by Git SCM that my workspace and remote are out of sync:

Captura de Pantalla 2022-05-25 a las 17 26 59

However, the DVC SCM is empty. As I am familiar with Git SCM, I interpret this as there is nothing else to do with dvc.

4. I click on the big sync changes button.


At this point, if someone clones the repo, it will receive a broken state (regarding DVC tracked files).

Metadata

Metadata

Assignees

No one assigned

    Labels

    A: treesArea: SCM and DVC-tracked treesblockedIssue or pull request blocked due to other dependencies or issuespriority-p2Future feature, less priority for now

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions