-
Notifications
You must be signed in to change notification settings - Fork 364
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: refactor ResourceManager interface for multirm #8847
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #8847 +/- ##
=======================================
Coverage 47.53% 47.54%
=======================================
Files 1066 1066
Lines 170434 170450 +16
Branches 2235 2235
=======================================
+ Hits 81015 81036 +21
+ Misses 89261 89256 -5
Partials 158 158
Flags with carried forward coverage won't be shown. Click here to find out more.
|
98f34b3
to
3eede86
Compare
3eede86
to
82b6894
Compare
✅ Deploy Preview for determined-ui canceled.
|
82b6894
to
e8fb827
Compare
aa8c82b
to
90d55fe
Compare
6de32e4
to
32fbd56
Compare
5343ec6
to
8624b04
Compare
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.
Looks pretty good to me
@@ -47,6 +47,8 @@ message GetAgentsResponse { | |||
message GetAgentRequest { | |||
// The id of the agent. | |||
string agent_id = 1; | |||
// The resource manager for the request. | |||
string resource_manager = 2; |
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.
Is this optional? Or required?
Is it optional if you just have a single resource manager?
Can we mark optional fields with optional string resource_manager = 2;
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 mean, it can always be blank "" -- there will have to be some logic in the router that checks that checks these cases.
d2a1fd7
to
70a1acf
Compare
b834b79
to
dea6aad
Compare
e976eb5
to
626f7c0
Compare
976a47a
to
99a53ba
Compare
This reverts commit 6857ecf.
Description
Refactor the requests/responses in
ResourceManager
interface, as a pre-requisite for the multiRM project, remove sproto message types where necessary.Add a
ResourceManager
field tosproto.AllocateRequest{}
andexpconf.ResourceConfigV0
.Test Plan
Pass existing tests.
Commentary (optional)
Checklist
docs/release-notes/
.See Release Note for details.
Ticket
RM-44