- Notifications
You must be signed in to change notification settings - Fork1k
chore: add fields to codersdk.Task#19619
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
fed0eb7
tod06b8ca
Compared06b8ca
to585a338
Compare4376586
intomainUh oh!
There was an error while loading.Please reload this page.
vartaskAgentLifecycle*codersdk.WorkspaceAgentLifecycle | ||
vartaskAgentHealth*codersdk.WorkspaceAgentHealth | ||
for_,resource:=rangews.LatestBuild.Resources { | ||
for_,agent:=rangeresource.Agents { |
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.
We could at least filter out sub-agents. 🤔
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.
Sure, I'll make a follow-up PR.
Uh oh!
There was an error while loading.Please reload this page.
Closescoder/internal#949
Adds the following fields to
codersdk.Task
The implementation is unfortunately not compatible with multiple agents as we have no reliable way to tell which agent has the AI task running in it. For now we just pick the first agent found, but in the future this will need to be changed.