-
Notifications
You must be signed in to change notification settings - Fork 30
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
Postmortem: All plots functionality broken in versions <= 0.2.5
#1520
Comments
0.2.5
0.2.5
cc @iterative/dvc for visibility and it would be great if you have any additional thoughts on this. |
#1521 also related. |
@shcheklein Initial implementation was implemented in a rush. Lack of proper testing caused this and #1521. I should have tested it properly since the beginning. For the future, even if we are implementing something as a initial/temporary feature for integration (which was the case in |
This was my fault due to an overlook in iterative/dvc#7409 , apologies 🙏 Thoughts:
If the issue was with the output schema for image plots, how did it break any plots functionality?
👍
There are tests but the issue was that I refactored all related tests as part of the extraction of
A side note about this is that, in the case of |
In the rush to get a fix out I have actually made a mistake. The revisions field being broken only stopped images for loading with What killed the entire plots functionality for all previous versions of the extension is as follows: We post-process the
The
LMK if you need any further details on this. Sorry for the initial confusion. |
Closing this now, thanks to everyone. |
High-level summary
Prior to version
0.2.6
of the extension, any users relying onDVC 2.10.0
would have no access to any plots functionality.Timeline
All times AEDT (GMT+11)
DVC 2.10.0
released.0.2.5
of the extension was released to the marketplace.2.10.0
plots diff
output.2.10.0
was not backwards compatible with any version of the extension.main
.0.2.6
was released to the marketplace (after CI for the above was completed).DVC
side.2.10.1
.Perf indicators:
Impact
DVC 2.10.0
with any extension version prior to0.2.6
will result in a complete loss of plots functionality.Root cause analysis
revisions
property ofplots diff --json
output for images was changed from anarray
/list
to a string.Personal thoughts
This has highlighted the need to automate the testing of the contract between the CLI and extension. It is good that this has happened now as we are only in closed alpha testing. "Dead" releases will be a much bigger issue in the future.
Prevention and next steps
git+https://github.com/iterative/dvc
version ofDVC
). This will give an early warning of issues with the output and should block DVC from releasing without a fix in place.DVC
side and ensure data is backwards compatible when making API changes.DVC
codebase, i.eplots diff
,exp show
,status
.DVC
but this may be required in future.The text was updated successfully, but these errors were encountered: