-
Notifications
You must be signed in to change notification settings - Fork 459
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
Pull Request #1176 broke backward compatibility #1186
Comments
Issue Label Bot is not confident enough to auto-label this issue. |
1 similar comment
Issue Label Bot is not confident enough to auto-label this issue. |
How about creating a new version v1beta1 @johnugeorge @andreyvelich |
Good point @sperlingxx. I am not sure that we should duplicate parameters in API. That can increase API complexity. I am ok with reverting this commit from upstream now and push it to the new version (v1beta1). What do you think @johnugeorge @gaocegege ? |
Issue-Label Bot is automatically applying the labels:
Please mark this comment with 👍 or 👎 to give our bot feedback! |
SGTM |
@andreyvelich The approach ( "reverting this commit from upstream now and push it to the new version (v1beta1)" ) looks great. And when we setup v1beta1? |
@johnugeorge @gaocegege Do we want to try to resolve some p0/p1 tasks before new release? |
I think we can do it now and start developing on v1beta1. WDYT @johnugeorge |
Agree. @gaocegege Lets work on v1beta1 api and get all new api changes in v1beta1 |
/kind bug
What steps did you take and what happened:
The refactoring of metric schema in this commit made the schema of
TrialStatus.Observation
incompatible with legacy trials (because float metric value in legacy trials can't be parsed as string value). So, the trial controller will crash after updating to latest master.What did you expect to happen:
In my opinion, we had better to fix this problem. Otherwise, users have to evict all existing trials before updating katib. Maybe we can keep the original float64 field
value
, and add another string field likenon_numeric_value
(which stores non-numeric metric value). If fieldnon_numeric_value
is set, then take value of this field as metric value; If not, take value of original fieldvalue
.What do you think ? @andreyvelich @gaocegege
The text was updated successfully, but these errors were encountered: