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 AI-tasks-specific fields to codersdk.WorkspaceBuild#18436

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
hugodutka merged 2 commits intomainfromhugodutka/ai-tasks-codersdk-wb
Jun 20, 2025

Conversation

hugodutka
Copy link
Contributor

@hugodutkahugodutka commentedJun 18, 2025
edited
Loading

This will be needed by the frontend on the/task/$id page to display the app in the sidebar.

Related to#18158

@hugodutkahugodutka marked this pull request as ready for reviewJune 19, 2025 14:48
@@ -75,6 +75,8 @@ type WorkspaceBuild struct {
DailyCost int32 `json:"daily_cost"`
MatchedProvisioners *MatchedProvisioners `json:"matched_provisioners,omitempty"`
TemplateVersionPresetID *uuid.UUID `json:"template_version_preset_id" format:"uuid"`
HasAITask *bool `json:"has_ai_task,omitempty"`
AITasksSidebarAppID *uuid.UUID `json:"ai_tasks_sidebar_app_id,omitempty" format:"uuid"`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Suggested change
AITasksSidebarAppID*uuid.UUID`json:"ai_tasks_sidebar_app_id,omitempty" format:"uuid"`
AITaskSidebarAppID*uuid.UUID`json:"ai_task_sidebar_app_id,omitempty" format:"uuid"`

To align with a change I have in-flight.

@hugodutkahugodutkaforce-pushed thehugodutka/ai-tasks-codersdk-wb branch from6a03c80 to462415dCompareJune 19, 2025 19:52
@hugodutkahugodutkaforce-pushed thehugodutka/ai-tasks-codersdk-wb branch from462415d to5b7cae3CompareJune 19, 2025 20:26
Comment on lines +1085 to +1087
var aiTasksSidebarAppID *uuid.UUID
if build.AITasksSidebarAppID.Valid {
aiTasksSidebarAppID = &build.AITasksSidebarAppID.UUID
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Suggested change
varaiTasksSidebarAppID*uuid.UUID
ifbuild.AITasksSidebarAppID.Valid {
aiTasksSidebarAppID=&build.AITasksSidebarAppID.UUID
varaiTaskSidebarAppID*uuid.UUID
ifbuild.AITaskSidebarAppID.Valid {
aiTaskSidebarAppID=&build.AITaskSidebarAppID.UUID

@hugodutkahugodutka merged commit32239b2 intomainJun 20, 2025
37 of 39 checks passed
@hugodutkahugodutka deleted the hugodutka/ai-tasks-codersdk-wb branchJune 20, 2025 08:59
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsJun 20, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@dannykoppingdannykoppingdannykopping approved these changes

Assignees

@hugodutkahugodutka

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@hugodutka@dannykopping

[8]ページ先頭

©2009-2025 Movatter.jp