We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a3afed commit c56714cCopy full SHA for c56714c
coderd/provisionerdserver/provisionerdserver_test.go
@@ -2794,6 +2794,20 @@ func TestCompleteJob(t *testing.T) {
2794
},
2795
expected: true,
2796
2797
+ {
2798
+ name: "non-existing app",
2799
+ input: &proto.CompletedJob_WorkspaceBuild{
2800
+ AiTasks: []*sdkproto.AITask{
2801
2802
+ Id: uuid.NewString(),
2803
+ SidebarApp: &sdkproto.AITaskSidebarApp{
2804
+ Id: uuid.NewString(), // Non-existing app ID.
2805
+ },
2806
2807
2808
2809
+ expected: false,
2810
2811
} {
2812
t.Run(tc.name, func(t *testing.T) {
2813
t.Parallel()
0 commit comments