@@ -216,7 +216,7 @@ func TestSubAgentAPI(t *testing.T) {
216
216
},
217
217
expectApps : []database.WorkspaceApp {
218
218
{
219
- Slug : "code-server" ,
219
+ Slug : "fdqf0lpd- code-server" ,
220
220
DisplayName : "VS Code" ,
221
221
Icon : "/icon/code.svg" ,
222
222
Command : sql.NullString {},
@@ -234,7 +234,7 @@ func TestSubAgentAPI(t *testing.T) {
234
234
DisplayGroup : sql.NullString {},
235
235
},
236
236
{
237
- Slug : "vim" ,
237
+ Slug : "547knu0f- vim" ,
238
238
DisplayName : "Vim" ,
239
239
Icon : "/icon/vim.svg" ,
240
240
Command : sql.NullString {Valid : true , String : "vim" },
@@ -377,7 +377,7 @@ func TestSubAgentAPI(t *testing.T) {
377
377
},
378
378
expectApps : []database.WorkspaceApp {
379
379
{
380
- Slug : "valid-app" ,
380
+ Slug : "511ctirn- valid-app" ,
381
381
DisplayName : "Valid App" ,
382
382
SharingLevel : database .AppSharingLevelOwner ,
383
383
Health : database .WorkspaceAppHealthDisabled ,
@@ -410,19 +410,19 @@ func TestSubAgentAPI(t *testing.T) {
410
410
},
411
411
expectApps : []database.WorkspaceApp {
412
412
{
413
- Slug : "authenticated-app" ,
413
+ Slug : "atpt261l- authenticated-app" ,
414
414
SharingLevel : database .AppSharingLevelAuthenticated ,
415
415
Health : database .WorkspaceAppHealthDisabled ,
416
416
OpenIn : database .WorkspaceAppOpenInSlimWindow ,
417
417
},
418
418
{
419
- Slug : "owner-app" ,
419
+ Slug : "eh5gp1he- owner-app" ,
420
420
SharingLevel : database .AppSharingLevelOwner ,
421
421
Health : database .WorkspaceAppHealthDisabled ,
422
422
OpenIn : database .WorkspaceAppOpenInSlimWindow ,
423
423
},
424
424
{
425
- Slug : "public-app" ,
425
+ Slug : "oopjevf1- public-app" ,
426
426
SharingLevel : database .AppSharingLevelPublic ,
427
427
Health : database .WorkspaceAppHealthDisabled ,
428
428
OpenIn : database .WorkspaceAppOpenInSlimWindow ,
@@ -443,13 +443,13 @@ func TestSubAgentAPI(t *testing.T) {
443
443
},
444
444
expectApps : []database.WorkspaceApp {
445
445
{
446
- Slug : "tab-app" ,
446
+ Slug : "ci9500rm- tab-app" ,
447
447
SharingLevel : database .AppSharingLevelOwner ,
448
448
Health : database .WorkspaceAppHealthDisabled ,
449
449
OpenIn : database .WorkspaceAppOpenInTab ,
450
450
},
451
451
{
452
- Slug : "window-app" ,
452
+ Slug : "p17s76re- window-app" ,
453
453
SharingLevel : database .AppSharingLevelOwner ,
454
454
Health : database .WorkspaceAppHealthDisabled ,
455
455
OpenIn : database .WorkspaceAppOpenInSlimWindow ,
@@ -479,7 +479,7 @@ func TestSubAgentAPI(t *testing.T) {
479
479
},
480
480
expectApps : []database.WorkspaceApp {
481
481
{
482
- Slug : "full-app" ,
482
+ Slug : "0ccdbg39- full-app" ,
483
483
Command : sql.NullString {Valid : true , String : "echo hello" },
484
484
DisplayName : "Full Featured App" ,
485
485
External : true ,
@@ -507,7 +507,7 @@ func TestSubAgentAPI(t *testing.T) {
507
507
},
508
508
expectApps : []database.WorkspaceApp {
509
509
{
510
- Slug : "no-health-app" ,
510
+ Slug : "nphrhbh6- no-health-app" ,
511
511
Health : database .WorkspaceAppHealthDisabled ,
512
512
SharingLevel : database .AppSharingLevelOwner ,
513
513
OpenIn : database .WorkspaceAppOpenInSlimWindow ,
@@ -531,7 +531,7 @@ func TestSubAgentAPI(t *testing.T) {
531
531
},
532
532
expectApps : []database.WorkspaceApp {
533
533
{
534
- Slug : "duplicate-app" ,
534
+ Slug : "uiklfckv- duplicate-app" ,
535
535
DisplayName : "First App" ,
536
536
SharingLevel : database .AppSharingLevelOwner ,
537
537
Health : database .WorkspaceAppHealthDisabled ,
@@ -568,14 +568,14 @@ func TestSubAgentAPI(t *testing.T) {
568
568
},
569
569
expectApps : []database.WorkspaceApp {
570
570
{
571
- Slug : "duplicate-app" ,
571
+ Slug : "uiklfckv- duplicate-app" ,
572
572
DisplayName : "First Duplicate" ,
573
573
SharingLevel : database .AppSharingLevelOwner ,
574
574
Health : database .WorkspaceAppHealthDisabled ,
575
575
OpenIn : database .WorkspaceAppOpenInSlimWindow ,
576
576
},
577
577
{
578
- Slug : "valid-app" ,
578
+ Slug : "511ctirn- valid-app" ,
579
579
DisplayName : "Valid App" ,
580
580
SharingLevel : database .AppSharingLevelOwner ,
581
581
Health : database .WorkspaceAppHealthDisabled ,
@@ -754,7 +754,7 @@ func TestSubAgentAPI(t *testing.T) {
754
754
apps , err := db .GetWorkspaceAppsByAgentID (dbauthz .AsSystemRestricted (ctx ), agentID ) //nolint:gocritic // this is a test.
755
755
require .NoError (t , err )
756
756
require .Len (t , apps , 1 )
757
- require .Equal (t , "duplicate-slug" , apps [0 ].Slug )
757
+ require .Equal (t , "k5jd7a99- duplicate-slug" , apps [0 ].Slug )
758
758
require .Equal (t , "First Duplicate" , apps [0 ].DisplayName )
759
759
})
760
760
})
@@ -1128,7 +1128,7 @@ func TestSubAgentAPI(t *testing.T) {
1128
1128
apps , err := api .Database .GetWorkspaceAppsByAgentID (dbauthz .AsSystemRestricted (ctx ), agentID ) //nolint:gocritic // this is a test.
1129
1129
require .NoError (t , err )
1130
1130
require .Len (t , apps , 1 )
1131
- require .Equal (t , "custom-app" , apps [0 ].Slug )
1131
+ require .Equal (t , "v4qhkq17- custom-app" , apps [0 ].Slug )
1132
1132
require .Equal (t , "Custom App" , apps [0 ].DisplayName )
1133
1133
})
1134
1134
0 commit comments