v0.270.0: no update for a current app (R-679); an interrupted install is reported (R-681); a restore brings back the pinned version's health check (R-669); R-674
gates / gates (push) Successful in 24s

Five red-proofs. MinAgent 0.131.0 unchanged.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
This commit is contained in:
2026-09-24 16:49:43 +02:00
parent 7c6140d95b
commit 504eae018b
23 changed files with 1121 additions and 16 deletions
+7
View File
@@ -1715,6 +1715,11 @@ func main() {
notifier.NotifyAppDeployFailed(name, display, detail)
})
}
// R-681 (v0.270.0): an install a restart cut off is finished through the failure path and reported —
// AFTER the deploy-done hook exists, so its event is sent.
if names := stackMgr.RecoverInterruptedInstalls(); len(names) > 0 {
log.Printf("[WARN] [stacks] %d install(s) interrupted by the restart were resolved and reported: %v", len(names), names)
}
stackMgr.RecoverMigration(ctx)
webServer.SetEncryptionKey(encKey)
webServer.SetAppExporter(appExporter)
@@ -2839,6 +2844,8 @@ func (a *stackAdapter) RecreateStackDefinitionFromUnit(name, composeSrcDir strin
} else if err := a.mgr.SetPin(name, stackDir, pin, data); err != nil {
log.Printf("[ERROR] [stacks] pin %s: %v", name, err)
}
// R-669 (v0.270.0): the restored .felhom.yml IS the pinned version's record now.
a.mgr.RecordRestoredAppliedMeta(name, stackDir)
return nil
}