-
Notifications
You must be signed in to change notification settings - Fork 881
feat: support custom order of agent metadata #12066
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
Conversation
@@ -94,6 +94,7 @@ message Agent { | |||
string script = 3; | |||
int64 interval = 4; | |||
int64 timeout = 5; | |||
int64 order = 6; |
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.
Unfortunate that it generates an int64 here for an int32 :\
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.
Yeah, this is unfortunate. It is aligned with coder_parameter
display order type though.
Taking back to draft, as I can't update the workspace after removing
|
Fixes: #8487
This PR modifies the logic responsible for sorting agent metadata items to consider custom ordering, not just keys.