Skip to content
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

StudyJob v1alpha2 API version #370

Closed
15 tasks done
johnugeorge opened this issue Feb 12, 2019 · 19 comments
Closed
15 tasks done

StudyJob v1alpha2 API version #370

johnugeorge opened this issue Feb 12, 2019 · 19 comments

Comments

@johnugeorge
Copy link
Member

johnugeorge commented Feb 12, 2019

There are couple of changes that are suggested. We can incorporate all these changes in the next API version.

Please add if I missed out any.

/cc @richardsliu @YujiOshima @hougangliu


Implementation (last updated 5/13/2019):

@hougangliu
Copy link
Member

@johnugeorge please also add #349

@hougangliu
Copy link
Member

BTW, now we have some API/filed whose type is array, some of them are named with plural type and some are named with List-suffix (such as below). I think we should name them with same style in v1alpha2 API.

rpc GetStudyList(GetStudyListRequest) returns (GetStudyListReply)
rpc GetTrials(GetTrialsRequest) returns (GetTrialsReply)

type StudyJobStatus struct {
...
Trials []TrialSet json:"trials,omitempty"
...
}
type TrialSet struct {
TrialID string json:"trialid,omitempty"
WorkerList []WorkerCondition json:"workeridlist,omitempty"
}

@johnugeorge
Copy link
Member Author

@hougangliu can you create an issue ?

@hougangliu
Copy link
Member

@johnugeorge Done #371

@johnugeorge
Copy link
Member Author

It would be better if all other current bigger PRs are reviewed and merged before moving to v1alpha2. Else, PRs need be modified for newer version too.

PRs which should be reviewed and merged:

@YujiOshima #362 #352
@DeeperMind #339 #345
@Akado2009 #328

@richardsliu
Copy link
Contributor

How about #346 ? It might require some API changes too.

#341 is not API related but would require controller side changes, and would be good to add as well.

@YujiOshima
Copy link
Contributor

#291 is also a big change for the logic of controller.
It would be good to add.

@johnugeorge
Copy link
Member Author

@YujiOshima @richardsliu i was listing out issues that need API changes. Except #346(not finalized yet), other mentioned issues are already tagged with 0.5.0 which can be tracked separately. Other than issues included in #370 (comment), we will get all new controller changes in v1alpha2.

@YujiOshima
Copy link
Contributor

YujiOshima commented Feb 13, 2019

@johnugeorge OK, Thanks.

It would be better if all other current bigger PRs are reviewed and merged before moving to v1alpha2. Else, PRs need be modified for newer version too.

Every PRs that include changes of DB scheme are blocked by #359 .
First of all, we should fix this. See #360

@jlewi
Copy link
Contributor

jlewi commented Mar 10, 2019

Now that #381 is merged what is the remaining work here?

@richardsliu
Copy link
Contributor

I think we should keep this issue open until the implementation is done. In any case this should be moved to 0.6.

@gaocegege
Copy link
Member

Hi, all

Could we do the jobs parallel? It seems that the process is blocked by #435

BTW I am free these days and can work on some items.

@richardsliu
Copy link
Contributor

There are a few PRs in flight:

I think after #457 is merged we can split up the remainder of the work.

@jlewi
Copy link
Contributor

jlewi commented May 13, 2019

@richardsliu @johnugeorge @gaocegege Any update on this issue?

@hougangliu
Copy link
Member

@jlewi we're still working on UI #438 and suggestion services #435 (maybe a new PR will replace it to take over), plan to make them done by the end of this week.

@jlewi
Copy link
Contributor

jlewi commented May 13, 2019

What are the remaining changes to be code complete for v1alpha2?
Is someone working on porting over the suggestion algorithms to the new API?

@johnugeorge
Copy link
Member Author

@jlewi Yes. I have started on it

@richardsliu
Copy link
Contributor

This should be done now.
/close

@k8s-ci-robot
Copy link

@richardsliu: Closing this issue.

In response to this:

This should be done now.
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants