Skip to content

In monorepo dvc exp remove -A should remove only experiments within the sub-dir project scope #10241

Open
@mnrozhkov

Description

@mnrozhkov

Summary / Background

I'm testing DVC Experiments for monorepo scenario. I encountered unexpected behavior for dvc exp remove

Within a mono repo say we have:

- / 
  - project_a
  - project_b
  - root_content

When working inside project_a, I list experiments

dvc exp list  

and get 2 experiments I ran for project_a

main:                                                                 
        5a4cba8 [paled-flus]
        81c2de9 [tippy-scut]

Then, I want to remove all experiments for project_a with

dvc exp remove -A

DVC removes all experiments for all projects in the repo

Removed experiments: 'finer-limb', 'perdu-vase', 'paled-flus', 'heady-mate', 'older-tipi', 'dusty-tang', 'alpha-gyms', 'downy-kiwi', 'moved-bomb', 'butch-iglu', 'silly-fibs', 'olive-roam', 'bosom-curb', 'unlet-soja', 'tippy-scut', 'sassy-dawn', 'braky-baby', 'coaly-kill', 'moldy-moot', 'pappy-gest', 'split-dogs', 'elite-bort', 'shock-dado', 'boozy-bade', 'pucka-thaw', 'mossy-jird', 'splay-tosh', 'famed-afro', 'finer-torc', 'bijou-yolk', 'fetid-mope', 'tangy-trio', 'legal-ludo', 'cagey-sech', 'addle-chic', 'eerie-barb', 'noisy-rods', 'sarky-joey', 'older-jest', 'umber-tote', 'sable-moit', 'aging-doge', 'puffy-esse' and 'power-harl'

Expected behavior

dvc exp remove -A should remove only experiments within project_a scope

Metadata

Metadata

Assignees

No one assigned

    Labels

    A: cliRelated to the CLIA: experimentsRelated to dvc expp2-mediumMedium priority, should be done, but less important

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions