ci(molecule): isolate Molecule runs per run and stop running Molecule on push to main #350

Merged
Defame1297 merged 5 commits from ci/molecule-per-run-isolation into main 2026-11-24 10:22:22 +00:00
Showing only changes of commit 3726b5c53f - Show all commits
+1 -1
View File
@@ -353,7 +353,7 @@ def alive(pid):
"""Whether pid is a running process, not gone or a zombie."""
try:
stat = pathlib.Path(f"/proc/{pid}/stat").read_text()
except FileNotFoundError:
except (FileNotFoundError, ProcessLookupError): # gone before or during the read
return False
return stat.rsplit(")", 1)[1].split()[0] != "Z"