@@ -793,6 +793,16 @@ func TestAPI(t *testing.T) {
793
793
agentcontainers .DevcontainerConfigFileLabel : "/workspace/runtime1/.devcontainer/devcontainer.json" ,
794
794
},
795
795
},
796
+ {
797
+ ID : "test-container-1" ,
798
+ FriendlyName : "test-container-1" ,
799
+ Running : true ,
800
+ Labels : map [string ]string {
801
+ agentcontainers .DevcontainerLocalFolderLabel : "/workspace/test1" ,
802
+ agentcontainers .DevcontainerConfigFileLabel : "/workspace/test1/.devcontainer/devcontainer.json" ,
803
+ agentcontainers .DevcontainerIsTestRunLabel : "true" ,
804
+ },
805
+ },
796
806
{
797
807
ID : "not-a-devcontainer" ,
798
808
FriendlyName : "not-a-devcontainer" ,
@@ -834,6 +844,16 @@ func TestAPI(t *testing.T) {
834
844
agentcontainers .DevcontainerLocalFolderLabel : "/workspace/runtime1" ,
835
845
agentcontainers .DevcontainerConfigFileLabel : "/workspace/runtime1/.devcontainer/devcontainer.json" ,
836
846
},
847
+ },
848
+ {
849
+ ID : "test-container-1" ,
850
+ FriendlyName : "test-container-1" ,
851
+ Running : true ,
852
+ Labels : map [string ]string {
853
+ agentcontainers .DevcontainerLocalFolderLabel : "/workspace/test1" ,
854
+ agentcontainers .DevcontainerConfigFileLabel : "/workspace/test1/.devcontainer/devcontainer.json" ,
855
+ agentcontainers .DevcontainerIsTestRunLabel : "true" ,
856
+ },
837
857
},
838
858
},
839
859
},
@@ -880,6 +900,16 @@ func TestAPI(t *testing.T) {
880
900
agentcontainers .DevcontainerLocalFolderLabel : "/workspace/non-running" ,
881
901
agentcontainers .DevcontainerConfigFileLabel : "/workspace/non-running/.devcontainer/devcontainer.json" ,
882
902
},
903
+ },
904
+ {
905
+ ID : "test-container-1" ,
906
+ FriendlyName : "test-container-1" ,
907
+ Running : true ,
908
+ Labels : map [string ]string {
909
+ agentcontainers .DevcontainerLocalFolderLabel : "/workspace/test1" ,
910
+ agentcontainers .DevcontainerConfigFileLabel : "/workspace/test1/.devcontainer/devcontainer.json" ,
911
+ agentcontainers .DevcontainerIsTestRunLabel : "true" ,
912
+ },
883
913
},
884
914
},
885
915
},
@@ -913,6 +943,16 @@ func TestAPI(t *testing.T) {
913
943
agentcontainers .DevcontainerLocalFolderLabel : "/workspace/known2" ,
914
944
agentcontainers .DevcontainerConfigFileLabel : "/workspace/known2/.devcontainer/devcontainer.json" ,
915
945
},
946
+ },
947
+ {
948
+ ID : "test-container-1" ,
949
+ FriendlyName : "test-container-1" ,
950
+ Running : true ,
951
+ Labels : map [string ]string {
952
+ agentcontainers .DevcontainerLocalFolderLabel : "/workspace/test1" ,
953
+ agentcontainers .DevcontainerConfigFileLabel : "/workspace/test1/.devcontainer/devcontainer.json" ,
954
+ agentcontainers .DevcontainerIsTestRunLabel : "true" ,
955
+ },
916
956
},
917
957
},
918
958
},
@@ -966,6 +1006,16 @@ func TestAPI(t *testing.T) {
966
1006
agentcontainers .DevcontainerLocalFolderLabel : "/var/lib/project3" ,
967
1007
agentcontainers .DevcontainerConfigFileLabel : "/var/lib/project3/.devcontainer/devcontainer.json" ,
968
1008
},
1009
+ },
1010
+ {
1011
+ ID : "test-container-1" ,
1012
+ FriendlyName : "test-container-1" ,
1013
+ Running : true ,
1014
+ Labels : map [string ]string {
1015
+ agentcontainers .DevcontainerLocalFolderLabel : "/workspace/test1" ,
1016
+ agentcontainers .DevcontainerConfigFileLabel : "/workspace/test1/.devcontainer/devcontainer.json" ,
1017
+ agentcontainers .DevcontainerIsTestRunLabel : "true" ,
1018
+ },
969
1019
},
970
1020
},
971
1021
},
0 commit comments