Skip to content

exp run --reset: Should not re-run checkpoint stage if nothing has changed #6472

@daavoo

Description

@daavoo

Bug Report

Description

If the user has a pipeline with a stage using checkpoints and runs dvc exp run --reset without changing the deps, the checkpoints stage runs again.

Reproduce

  1. Add checkpoint stage
  2. dvc exp run
  3. dvc exp run --reset

Expected

I would expect step 3 to don't run the checkpoint stage unless something changes in the workspace.

Environment information

Output of dvc doctor:

$ dvc doctor
DVC version: 2.6.3 (pip)
---------------------------------
Platform: Python 3.9.6 on macOS-10.16-x86_64-i386-64bit
Supports:
        http (requests = 2.26.0),
        https (requests = 2.26.0)
Cache types: reflink, hardlink, symlink
Cache directory: apfs on /dev/disk1s1s1
Caches: local
Remotes: None
Workspace directory: apfs on /dev/disk1s1s1
Repo: dvc, git

Metadata

Metadata

Assignees

No one assigned

    Labels

    A: experimentsRelated to dvc expdiscussionrequires active participation to reach a conclusionuiuser interface / interaction

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions