(timestamp)
| 15122 | if (post.stale) { |
| 15123 | addConsoleMessage('A previous post-update run never finished - ignoring its status. ' |
| 15124 | + 'See data/logs/post_update.log.', 'warning'); |
| 15125 | } |
| 15126 | |
| 15127 | const commitMatches = !expectedCommit || |
| 15128 | (status.commit && status.commit.startsWith(expectedCommit.slice(0, 8))); |
| 15129 | const postDone = !post.state || post.state === 'finished'; |
| 15130 | |
| 15131 | if (commitMatches && postDone && sawRestart) { |
| 15132 | if (post.outcome === 'failed') { |
| 15133 | finish(`⚠️ Update applied, but some post-update steps failed: ${post.failures || 'see data/logs/post_update.log'}`, |
| 15134 | 'warning', 'Update applied with warnings. Check the log.'); |
| 15135 | } else { |
| 15136 | finish('✅ Update verified - the box is running the new version.', 'success', |
no outgoing calls
no test coverage detected