@@ -78,12 +78,13 @@ func (m mockPluginsList) ListPlugins(_ context.Context, _ *connect.Request[plugi
7878 version = plugin .Version .String ()
7979 }
8080 b := pluginsv1.Plugin_builder {
81- Name : proto .String (name ),
82- Version : proto .String (version ),
83- Disabled : proto .Bool (plugin .Disabled ),
84- External : proto .Bool (plugin .External ),
85- Configurable : proto .Bool (plugin .Configurable ),
86- RunStatus : plugin .RunStatus .Enum (),
81+ Name : proto .String (name ),
82+ Version : proto .String (version ),
83+ Disabled : proto .Bool (plugin .Disabled ),
84+ External : proto .Bool (plugin .External ),
85+ Configurable : proto .Bool (plugin .Configurable ),
86+ RunStatus : plugin .RunStatus .Enum (),
87+ StatusMessage : proto .String (plugin .StatusMessage ),
8788 }
8889 if plugin .SecretsProvider != nil {
8990 b .SecretsProvider = pluginsv1.SecretsProvider_builder {
@@ -165,6 +166,7 @@ func Test_ListPlugins(t *testing.T) {
165166 SecretsProvider : & SecretsProviderMetadata {Pattern : secrets .MustParsePattern ("**" )},
166167 External : true ,
167168 RunStatus : pluginsv1 .RunStatus_RUN_STATUS_CRASHED ,
169+ StatusMessage : "exit status 1: connection refused" ,
168170 },
169171 }
170172 socket := mockListPluginsEngine (t , plugins )
0 commit comments