-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Add agent registration for server users #3385
Conversation
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.
minor doc string requests, otherwise I think this makes sense!
Co-authored-by: Chris White <[email protected]>
Co-authored-by: Chris White <[email protected]>
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.
✅
else: | ||
self.logger.warning( | ||
f"Unable to register agent to {self.client.api_server}. " | ||
f"Make sure the server is running on the latest version." |
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 good
Summary
This PR enables agent registration with server.
Agent persistence was added to server in PrefectHQ/server#58 and improved in PrefectHQ/server#95. Exposing agent persistence in the UI for server users is added in PrefectHQ/legacy-ui#249.
Changes
No longer bounds registration call for agents to Cloud backend. Adds route for retrieving agent configuration based on an agent config id (to be used in a later enhancement)
Importance
Improve agent experience!
Checklist
This PR:
changes/
directory (if appropriate)docs/outline.toml
for API reference docs (if appropriate)