Stabilize app run internals

This commit is contained in:
2026-06-03 11:54:20 +00:00
parent 87fcd0277b
commit 00677148e2
3 changed files with 29 additions and 28 deletions

View File

@@ -39,14 +39,6 @@ func (s *runSummary) recordFixedPath() {
s.fixedPath++
}
func (s runSummary) Line() string {
status := "ok"
if s.failures > 0 {
status = "failed"
}
return fmt.Sprintf("Final status: %s planned=%d publish_new=%d replace_older=%d force_replace=%d skipped=%d failed=%d dry_run=%t fixed_path=%d", status, s.planned, s.publishNew, s.replaceOlder, s.forceReplace, s.skipped, s.failures, s.dryRun, s.fixedPath)
}
type RunSummaryCounters struct {
Status string `json:"status"`
Planned int `json:"planned"`