Skip to content

fix: Refactor agent to consume API client #4715

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

Merged
merged 2 commits into from
Oct 24, 2022
Merged

fix: Refactor agent to consume API client #4715

merged 2 commits into from
Oct 24, 2022

Conversation

kylecarbs
Copy link
Member

This simplifies a lot of code by creating an interface for the codersdk client into the agent. It also moves agent authentication code so instance identity will work between restarts.

Fixes #3485 and #4082.

@kylecarbs kylecarbs requested a review from ammario October 24, 2022 01:40
@kylecarbs kylecarbs self-assigned this Oct 24, 2022
This simplifies a lot of code by creating an interface for
the codersdk client into the agent. It also moves agent
authentication code so instance identity will work between
restarts.

Fixes #3485 and #4082.
@kylecarbs kylecarbs merged commit bf3224e into main Oct 24, 2022
@kylecarbs kylecarbs deleted the agentrefactor branch October 24, 2022 03:35
@github-actions github-actions bot locked and limited conversation to collaborators Oct 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Coder agent should exit when out-of-date
2 participants