Fix A, the page too: the restore's first verdict needs a stable 45 s after the 90 s health wait on every path, so an app that runs, crashes and restarts reads „not started yet”; the copy still waits the full 3 minutes. Red-proved. Commit only.
gates / gates (push) Successful in 1m30s

This commit is contained in:
2026-10-25 13:06:06 +01:00
parent 7720439440
commit 2149a13378
10 changed files with 88 additions and 18 deletions
+1 -1
View File
@@ -584,7 +584,7 @@ func (m *Manager) RestoreFromRecoveryUnitAtWith(stackName, unitDir string, opt U
m.clearUpdateHoldAfterRestore(stackName)
// R-1270: the verdict follows the app. A health timeout is NOT a success (it used to be a WARN, and the page said
// „az alkalmazás újraindult" over an app that never came up); the data stays restored and the undo copy is kept.
if err := m.waitForHealthy(stackName, healthTimeout); err != nil {
if err := m.restoredAppStarted(stackName); err != nil {
return res, m.restoreNotStarted(stackName, "unit restore", err, undo)
}