Resume: probe build completeness without the monitor return value

This commit is contained in:
Archipelago 2026-11-13 19:23:55 +03:00
parent f8a7032841
commit 680125efd9

View file

@ -304,8 +304,9 @@ find {remote_root}/probes -type f -name '*.py' -exec sha256sum {{}} + >> {remote
if not resume:
return False
probe = ('test -d ' + shlex.quote(builds[variant]) + '/output && test -d '
+ shlex.quote(builds[variant]) + '/repo && echo built')
return remote(probe).strip().endswith('built')
+ shlex.quote(builds[variant]) + '/repo')
return subprocess.run(['ssh', '-o', 'BatchMode=yes', '-o', 'ConnectTimeout=20', worker, probe],
stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL).returncode == 0
if not variant_done('core'):
phase('building-core')