mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
feat: persist AI task state in template imports & workspace builds (#18449)
This commit is contained in:
@@ -426,12 +426,6 @@ func (b *Builder) buildTx(authFunc func(action policy.Action, object rbac.Object
|
||||
UUID: b.templateVersionPresetID,
|
||||
Valid: b.templateVersionPresetID != uuid.Nil,
|
||||
},
|
||||
// appease the exhaustruct linter
|
||||
// TODO: set this to whether the build included a `coder_ai_task` tf resource
|
||||
HasAITask: sql.NullBool{
|
||||
Bool: false,
|
||||
Valid: false,
|
||||
},
|
||||
})
|
||||
if err != nil {
|
||||
code := http.StatusInternalServerError
|
||||
|
||||
Reference in New Issue
Block a user