Answer architecture round 1: 0 🔴, 6 🟡 (0 misread); count a release review only where it names the next release, split task_bench into bugs, features and figures, group README's packages
CI / tests (pull_request) Successful in 4m55s

This commit is contained in:
2026-11-27 11:23:08 +01:00
parent d1b01c76c8
commit b563a597f1
55 changed files with 293 additions and 198 deletions
+4 -1
View File
@@ -37,12 +37,15 @@ def cut(clone: str, checkout: str, sleep: typing.Callable[[float], None]) -> str
ref = default_ref(cwd=clone)
if isinstance(ref, Failure):
return ref
release = ready_release(clone, ref)
# The patch refusal comes before the review's: a patch takes no release review, so "hasn't landed" would send the human the wrong way.
release = ready_release(clone, ref, review=False)
if isinstance(release, Failure):
return release
named = version(release)
if isinstance(patched := patch_refusal(clone, ref, release), Failure):
return patched
if isinstance(reviewed := ready_release(clone, ref), Failure):
return reviewed
title, tag, branch = f"Cut release {named}", f"v{named}", f"release-{named}"
merged = commit_titled(title, ref, clone)
if merged is None: