Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Merged

Conversation

DanielleMaywood
Copy link
Contributor

@DanielleMaywoodDanielleMaywood commentedAug 28, 2025
edited
Loading

Closescoder/internal#949

Adds the following fields tocodersdk.Task

  • OwnerName
  • TemplateName
  • TemplateDisplayName
  • TemplateIcon
  • WorkspaceAgentID
  • WorkspaceAgentLifecycle
  • WorkspaceAgentHealth

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.

BrunoQuaresma reacted with thumbs up emoji
@DanielleMaywoodDanielleMaywoodforce-pushed thedanielle/tasks/add-fields-to-codersdk-Task branch 3 times, most recently fromfed0eb7 tod06b8caCompareAugust 28, 2025 15:34
@DanielleMaywoodDanielleMaywoodforce-pushed thedanielle/tasks/add-fields-to-codersdk-Task branch fromd06b8ca to585a338CompareAugust 28, 2025 15:43
@DanielleMaywoodDanielleMaywood marked this pull request as ready for reviewAugust 28, 2025 16:02
@DanielleMaywoodDanielleMaywood requested review frommafredri,johnstcn andBrunoQuaresma and removed request formafredriAugust 28, 2025 16:03
@DanielleMaywoodDanielleMaywood merged commit4376586 intomainAug 28, 2025
31 checks passed
@DanielleMaywoodDanielleMaywood deleted the danielle/tasks/add-fields-to-codersdk-Task branchAugust 28, 2025 16:28
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsAug 28, 2025
vartaskAgentLifecycle*codersdk.WorkspaceAgentLifecycle
vartaskAgentHealth*codersdk.WorkspaceAgentHealth
for_,resource:=rangews.LatestBuild.Resources {
for_,agent:=rangeresource.Agents {
Copy link
Member

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. 🤔

Copy link
ContributorAuthor

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.

Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@mafredrimafredrimafredri left review comments

@BrunoQuaresmaBrunoQuaresmaBrunoQuaresma approved these changes

@johnstcnjohnstcnjohnstcn approved these changes

Assignees

@DanielleMaywoodDanielleMaywood

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Tasks API: Add fields tocodersdk.Task (required by the UI)
4 participants
@DanielleMaywood@mafredri@BrunoQuaresma@johnstcn

[8]ページ先頭

©2009-2025 Movatter.jp