Release beta 1.1.2.1019
check / local-gate (push) Failing after 53s

This commit is contained in:
JWeBot Contributors
2026-10-19 16:56:59 +08:00
parent 522e349491
commit ddebe075d7
30 changed files with 1433 additions and 46 deletions
+14
View File
@@ -127,6 +127,10 @@ class DeploymentScriptTests(unittest.TestCase):
'jwebot_log "runtime install ready"',
'jwebot_log "edge active"',
'jwebot_log "adaptive active"',
'send_release_lifecycle_notice shutdown',
'send_release_lifecycle_notice startup',
'jwebot_log "release lifecycle shutdown notice ready"',
'jwebot_log "release lifecycle startup notice ready"',
'jwebot_log "release settlement starting"',
'"${target_runtime}/jwebot_release_update.py"',
'jwebot_log "release settlement ready"',
@@ -142,10 +146,20 @@ class DeploymentScriptTests(unittest.TestCase):
source.count("xdotool"),
source.count("/usr/bin/xdotool"),
)
cutover_index = source.index('jwebot_log "cutover starting"')
actual_stop_index = source.index("user_systemctl stop", cutover_index)
self.assertLess(
source.index('jwebot_log "release lifecycle shutdown notice ready"'),
actual_stop_index,
)
self.assertLess(
source.index("trap - EXIT HUP INT TERM"),
source.index('jwebot_log "release settlement starting"'),
)
self.assertLess(
source.index('jwebot_log "release lifecycle startup notice ready"'),
source.index('jwebot_log "release settlement starting"'),
)
self.assertLess(
source.index('jwebot_log "release settlement ready"'),
source.index('jwebot_log "deployment ready version='),