-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump min DVC version to 2.52.0 (plots errors) #3477
Conversation
4654e9b
to
d079ac8
Compare
d079ac8
to
943180f
Compare
943180f
to
7d65929
Compare
@@ -114,21 +109,15 @@ suite('Experiments Tree Test Suite', () => { | |||
|
|||
expect( | |||
messageSpy, | |||
'when there are no experiments selected we dont send checkpoint type plots' | |||
"when there are no experiments selected we don't send checkpoint trend plots" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[F] By default we now give the plots diff fixture instead of nothing. The test only needs to check the match assumption
Hi, @mattseddon. Are you able to confirm if |
It looks very likely. I am working through the last couple of parts now. The one thing that was missing (which I am not sure if you will be able to provide), is the plot type for each error ('image' or 'vega'). Can you add that in? |
Is We choose between vega and image based on file extensions. So:
In both of these cases, there will be no |
But this is of course in case where there is no plots' data at all. In those cases, do you need to differentiate if it's a vega or an image plot? |
When all we have is errors for a plot then we don't know the type. If we don't know the type then we don't know what section it should be displayed in. If it should be an image then we can't provide a row in the image comparison table. It's an edge case and we can live without the data. It's ok not to worry about it. 🙏🏻 |
@mattseddon, what do you think of supporting older dvc versions? Do you think that's possible? |
If we had a lot more users and there were legitimate reasons that they could not update the CLI then I would consider attempting to make things backwards compatible but at the moment it is not worth the effort IMO. |
Give me a heads-up when you're going to make the release and I'll make the corresponding extension release 🙏🏻. |
Okay, we’ll merge and release early next week, either Mon or Tue. |
demo
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this wanted?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, but that branch contains the breaking change. I have to wait for a release before I can update it. There is a checkbox on the description to update 🙏🏻.
Code Climate has analyzed commit 6fdc993 and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 100.0% (85% is the threshold). This pull request will bring the total coverage in the repository to 95.1% (0.0% change). View more on Code Climate. |
1/4
main
<- this <- #3520 <- #3522 <- #3532This PR accommodates the breaking part of the change in iterative/dvc#9146.
TODOs:
errors
API changes give everything needed.extension/src/test/cli/plotsDiff.test.ts
after change is merged to DVCmain
. (Fix scheduled CLI output test by updating expected demo project output (plots diff breaking change) #3558)MIN_CLI_VERSION
to the appropriate version once the related DVC PR is merged/released.vscode-dvc-demo
to the appropriate commit and delete branch