Skip to content

plots diff: don't make one plot break all the others #9025

@dberenbaum

Description

@dberenbaum

In treeverse/vscode-dvc#3222, one mis-configured plot for one revision breaks the entire dvc plots diff command. in #5984, we made it so that an invalid dvc.yaml doesn't break other revisions in dvc plots diff. However, even if the dvc.yaml is valid, a single revision or plot within one revision can break dvc plots diff if there are other errors encountered while rendering one of the plots.

To do:

  1. Skip revisions if any errors are encountered rendering plots for that revision.
  2. Skip only the specific plots within a revision that fail to render.

Related: #7787

Edit: The problem occurs because the workspace dvc.yaml config is applied to all other revisions, and if the data structure has changed, it may be impossible to render an old revision with the current dvc.yaml config.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A: plotsRelated to the plotsp1-importantImportant, aka current backlog of things to doproduct: VSCodeIntegration with VSCode extension

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions