-
Notifications
You must be signed in to change notification settings - Fork 349
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
chore: warn about det deploy det-version mistmach #8994
Conversation
✅ Deploy Preview for determined-ui canceled.
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #8994 +/- ##
==========================================
- Coverage 47.51% 47.48% -0.03%
==========================================
Files 1168 1168
Lines 176306 176329 +23
Branches 2353 2353
==========================================
- Hits 83765 83738 -27
- Misses 92383 92433 +50
Partials 158 158
Flags with carried forward coverage won't be shown. Click here to find out more.
|
This reverts commit 390deb1.
harness/determined/deploy/gke/cli.py
Outdated
@@ -224,6 +225,7 @@ def configure_helm(args: argparse.Namespace) -> None: | |||
helm_dir = Path(args.helm_dir) | |||
with (helm_dir / "Chart.yaml").open() as f: | |||
helm_chart = safe_load_yaml_with_exceptions(f) | |||
warn_version_mistmatch(args.det_version) |
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.
I think this is the only one that doesn't check for args.det_version
being None
?
e.g.,
if args.det_version is None:
args.det_version = determined.__version__
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.
aws/cli doesn't either.
I added that only to the ones that had a default in the cli arg definition to keep the behavior the same as before.
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.
LGTM! Small naming nit but looks great!
Comment on test procedure: should the tester specify a mismatched det version? Should that argument be included in the test procedure? (Or do we usually leave it up to the tester and not be overly prescriptive?)
thanks for the review |
why didn't the automerge land this? Does it need a review from the codeowner? @determined-ai/ml-sys-notify |
(cherry picked from commit f52f43b)
Description
Whenever we add a master config schema change older master binaries would not accept them. This explicitly warns about this situation and recommends using the same version of det deploy for this purpose.
covers:
aws, gke, local, gcp
Test Plan
run the cli for all 4 modalities
the test script 390deb1
Commentary (optional)
Checklist
docs/release-notes/
.See Release Note for details.
Ticket
https://hpe-aiatscale.atlassian.net/browse/GAS-727