Capture pipeline readiness diagnostics and failures

This commit is contained in:
2026-11-28 04:26:30 +00:00
parent 97642c491f
commit 71239b6fbb
8 changed files with 218 additions and 8 deletions

View File

@@ -42,7 +42,7 @@ func NewApplication(version string, options Options) (*commandkit.App, error) {
definitions = ckprompt.WithNamespaces(definitions, promptkit.Namespaces{})
declarations := []commandkit.Declaration{
commandkit.Completion("notarius"),
pipelineCommands(newState, func() (pipeline.ModuleCatalog, error) { return effectiveCatalog(options) }, pipelineRunCommand(version, newState, func() (pipeline.Registries, error) { return effectiveRegistries(options) }, options), pipelinePreflightCommand(newState, func() (pipeline.Registries, error) { return effectiveRegistries(options) })),
pipelineCommands(newState, func() (pipeline.ModuleCatalog, error) { return effectiveCatalog(options) }, pipelineRunCommand(version, newState, func() (pipeline.Registries, error) { return effectiveRegistries(options) }, options), pipelinePreflightCommand(version, newState, func() (pipeline.Registries, error) { return effectiveRegistries(options) }, options)),
commandkit.Alias("run", "pipeline run"),
commandkit.Alias("preflight", "pipeline preflight"),
ckconfig.Command(ckconfig.Suite[struct{}, *nativeLoaders]{