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(coderd): introduce TaskAppID and deprecate AITaskSidebarAppID#20336

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

Conversation

@DanielleMaywood
Copy link
Contributor

As we're moving away from the SidebarAppID nomenclature, this PR introduces a newTaskAppID field tocodersdk.WorkspaceBuild and deprecates theAITaskSidebarAppID field. They both contain the same value.

@DanielleMaywoodDanielleMaywoodforce-pushed thedanielle/tasks/deprecate-ai-task-sidebar-app-id-field branch 4 times, most recently from37589a9 to0b96862CompareOctober 21, 2025 11:27
As we're moving away from the SidebarAppID nomenclature, this PRintroduces a new `TaskAppID` field to `codersdk.WorkspaceBuild` anddeprecates the `AITaskSidebarAppID` field. They both contain the samevalue.
@DanielleMaywoodDanielleMaywoodforce-pushed thedanielle/tasks/deprecate-ai-task-sidebar-app-id-field branch from0b96862 tob62e70bCompareOctober 21, 2025 11:35
@DanielleMaywoodDanielleMaywood marked this pull request as ready for reviewOctober 21, 2025 13:55
@DanielleMaywoodDanielleMaywood requested review fromjohnstcn andmafredri and removed request forParkreiner andaslilacOctober 21, 2025 13:55
@johnstcn
Copy link
Member

Can this wait until@mafredri 's stack goes in?

@DanielleMaywood
Copy link
ContributorAuthor

@johnstcn Yep

johnstcn reacted with heart emoji

Copy link
Member

@aslilacaslilac left a comment

Choose a reason for hiding this comment

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

frontend changes are all small and obvious enough :)

DanielleMaywood reacted with heart emoji
@DanielleMaywoodDanielleMaywood requested review frommafredri and removed request formafredriOctober 24, 2025 09:12
ifappURL=="" {
returnhttperror.NewResponseError(http.StatusInternalServerError, codersdk.Response{
Message:"Tasksidebarapp URL is not configured.",
Message:"Task app URL is not configured.",
Copy link
Member

Choose a reason for hiding this comment

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

Could this be enforced provider-side? 🤔 It's unfortunate to let it be a runtime error that basically turns the task defunct 😅.

Copy link
Member

Choose a reason for hiding this comment

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

I'm not sure if you can do cross-resource validation in Terraform, and you define theurl in theworkspace_app resource :(

Copy link
Member

Choose a reason for hiding this comment

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

Then validation on provisioner side would perhaps be an option.

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

That makes sense to me

@DanielleMaywoodDanielleMaywood merged commite60112e intomainOct 24, 2025
35 checks passed
@DanielleMaywoodDanielleMaywood deleted the danielle/tasks/deprecate-ai-task-sidebar-app-id-field branchOctober 24, 2025 09:57
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsOct 24, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

@mafredrimafredrimafredri approved these changes

@aslilacaslilacaslilac left review comments

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

5 participants

@DanielleMaywood@johnstcn@mafredri@aslilac

[8]ページ先頭

©2009-2025 Movatter.jp