Answer product-owner round 2: 0 🔴, 0 🟡 (0 misread); approved with one nit: a patch cut's ci.sh failure says to fix the reason and rerun, which fits a ci.sh that never started
CI / tests (pull_request) Has been cancelled
CI / tests (pull_request) Has been cancelled
This commit is contained in:
@@ -224,7 +224,7 @@ def run_ci(worktree: pathlib.Path, ref: str, ci: Ci) -> Failure | None:
|
||||
return Failure("the patch holds no ci.sh to test it with")
|
||||
ran = ci(worktree)
|
||||
if isinstance(ran, Failure):
|
||||
return Failure(f"{ran.reason}. Nothing is tagged: rerun once ci.sh passes.")
|
||||
return Failure(f"{ran.reason}. Nothing is tagged: fix that and rerun.")
|
||||
if ran.code == 0:
|
||||
return None
|
||||
tail = "\n".join(ran.output.strip().splitlines()[-30:])
|
||||
|
||||
Reference in New Issue
Block a user