-
Notifications
You must be signed in to change notification settings - Fork 887
feat(coderd): add support for sending batched agent metadata #10223
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
feat(coderd): add support for sending batched agent metadata #10223
Conversation
Current dependencies on/for this PR:
This comment was auto-generated by Graphite. |
155664f
to
3c65ed1
Compare
3c65ed1
to
9cb5404
Compare
// @Success 204 "Success" | ||
// @Router /workspaceagents/me/metadata/{key} [post] | ||
// @x-apidocgen {"skip": true} | ||
func (api *API) workspaceAgentPostMetadataDeprecated(rw http.ResponseWriter, r *http.Request) { |
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.
Would it be worthwhile dropping a WARN log advising operators to restart the workspace?
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.
Good question. What if it's a workspace that is running something semi-critical and can't be shut down for a week? We'd potentially be spamming WARN every second :/
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.
Fair point! I figure expecting a workspace to be restarted at least once a release is not unreasonable.
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 looks OK to me, but might be good to get a second approval.
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 haven't found anything concerning or blocking 👍
9cb5404
to
dc89ae8
Compare
Part of #9782