Build artifact inventories only for pipeline run reports
Some checks failed
ci/woodpecker/push/verify Pipeline was canceled

This commit is contained in:
2026-11-30 17:11:00 +00:00
parent c11b4ac309
commit 7320fd7957
6 changed files with 47 additions and 20 deletions

View File

@@ -76,11 +76,11 @@ func inspectConfiguredSessionReadiness(ctx context.Context, cfg *config.Config,
newObjectStore: func(ctx context.Context, cfg *config.Config) (storage.ObjectStore, error) {
return initializeObjectStoreBackend(ctx, cfg, deps.newObjectStore)
}}
summary, err := withLockedInvocation(ctx, cfg, plan, RunOptions{Reporter: deps.reporter}, invocationDeps, func(runtime *invocationRuntime) error {
result, err := withLockedInvocation(ctx, cfg, plan, RunOptions{Reporter: deps.reporter}, invocationDeps, func(runtime *invocationRuntime) error {
report.RunID = runtime.identity.RunID
return assessSessionReadiness(runtime, report, deps)
})
if summary == nil && err != nil {
if result == nil && err != nil {
report.Findings = append(report.Findings, errorFinding("workspace", err.Error()))
report.Checks = append(report.Checks, readinessCheck{Group: "workspace/storage", Outcome: "failed", Message: err.Error()})
} else if err != nil {