-
Notifications
You must be signed in to change notification settings - Fork 356
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
fix: add non-scalar metric expectation to protobufs [DET-4893] [DET-4911] #1876
Conversation
764a487
to
8966e6e
Compare
dc44162
to
9dbbdd3
Compare
9dbbdd3
to
4703a06
Compare
webui/tests/test-cluster/master.yaml
Outdated
@@ -11,7 +11,7 @@ checkpoint_storage: | |||
|
|||
db: | |||
user: postgres | |||
host: localhost |
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.
This is more curiosity than anything, but why does this have to change?
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 a short version would be less chance for DNS (or hosts entry?) to mess up and delay responding with the address.
I was in this situation today where sqlx.connect took aroun 3 min each time and haven't fully figure out why but this helped...
https://determined-ai.slack.com/archives/CSKCTUKEE/p1611877804019800?thread_ts=1611864602.016200&cid=CSKCTUKEE
The protobuf changes themselves look good to me. I don't fully understand why the incompatibility errors manifest the way they do. I'm guessing they operate on generated code, so there are 3 distinct symptoms of changing the type? Still wrapping my head around the test changes. |
don't worry about the test changes they're mostly just setup for testing the change through WebUI e2e tests but I'm now limiting the test scope and just writing integration tests in Go.
hmm
|
a164130
to
00176b4
Compare
00176b4
to
d600127
Compare
678d8b3
to
2763f45
Compare
I took out irrelevant changes. |
src/determined/checkpoint/v1/checkpoint.proto:11:1:Previously present message "Metrics.ValidationMetricsEntry" was deleted from file. src/determined/checkpoint/v1/checkpoint.proto:15:3:Field "2" on message "Metrics" changed label from "repeated" to "optional". src/determined/checkpoint/v1/checkpoint.proto:15:3:Field "2" on message "Metrics" changed type from "determined.checkpoint.v1.Metrics.ValidationMetricsEntry" to "google.protobuf.Struct". src/determined/trial/v1/trial.proto:42:1:Previously present message "MetricsWorkload.MetricsEntry" was deleted from file. src/determined/trial/v1/trial.proto:61:3:Field "4" on message "MetricsWorkload" changed label from "repeated" to "optional". src/determined/trial/v1/trial.proto:61:3:Field "4" on message "MetricsWorkload" changed type from "determined.trial.v1.MetricsWorkload.MetricsEntry" to "google.protobuf.Struct".
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.
The decoder changes look good with one minor improvement.
Description
Test Plan
Commentary (optional)
Checklist
docs/release-notes/
.See Release Note for details.