Skip to content

experiments: core.experiments config setting overridden in certain situations #4289

@pmrowla

Description

@pmrowla

If core.experiments is set in .dvc/config and not committed, experiments support will end up being disabled when we do reset --hard during experiments checkout. This also affects .dvc/experiments being added to .gitignore.

Temporary workarounds:

  • Use dvc config --local when setting core.experiments true
  • git commit changes to .dvc/config after doing dvc config core.experiments true, and before running any other experiments related commands

Metadata

Metadata

Assignees

Labels

A: experimentsRelated to dvc expbugDid we break something?p2-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