Answer prose round 1: 0 🔴, 4 🟡 (0 misread); 0 🔴, 4 🟡 (0 misread); reword the README entry, the Re-entry exception, item 392 and five comments
CI / tests (pull_request) Successful in 4m58s

This commit is contained in:
2026-12-02 00:04:00 +01:00
parent 509f2f9f4a
commit c79dc43093
6 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -19,7 +19,7 @@ PAGE_SIZE = 50
PUSH_SECONDS = 60
PUSH_POLL_SECONDS = 5
# What gh says of a pull request whose head has no check. gh exits 1 for it, as for a failed check, so only the text tells the two apart. gh
# doesn't document the text; it is read from gh 2.102.0's `pr checks`, whose source words it "no checks reported on the '<branch>' branch".
# doesn't document the text; gh 2.102.0's `pr checks` prints "no checks reported on the '<branch>' branch".
NO_CHECKS = "no checks reported"
@@ -103,7 +103,7 @@ def ready_pulls(forge: Forge, run: Run) -> list[ReadyPull] | Failure:
rows = [line.split("\t") for line in listed.splitlines()]
found = [ReadyPull(*row[:3]) for row in rows if row[3:] == ["false", "false"]]
else:
# A limit: an awaited pull request past the first page of open ones, drafts and forks counted, is not seen.
# A limit: this reads one page of the open pull requests, drafts and forks counted, so an awaited one past that page is not seen.
pulls = gitea(run, f"repos/{{owner}}/{{repo}}/pulls?state=open&limit={PAGE_SIZE}")
if isinstance(pulls, Failure):
return pulls
+1 -1
View File
@@ -41,7 +41,7 @@ def tool_for(path: str) -> str | None:
def is_test(path: str) -> bool:
"""Whether path is a test by its name or folder alone, as pytest, Go, PHPUnit, `node --test` or a `tests` folder tells it."""
"""Whether path is a test by its name or folder alone, as pytest, Go, PHPUnit or `node --test` finds one, or by a folder in TEST_FOLDERS."""
folders, name = posixpath.split(path)
return bool(TEST_FOLDERS & set(folders.split("/")) or TEST_NAME.fullmatch(name))
+1 -1
View File
@@ -99,7 +99,7 @@ class FilePlan:
"""What `rank_todo.py --check` says of the file without failing on it: which items of its earliest release hold no `Touches:` list.
The line states that, with no instruction to its reader: `chunk-preflight` quotes it into every chunk's facts, and only the fact of `chunk_preflight.facts.unpredicted_lines` has a subagent write the lists."""
# A person who runs `rank_todo.py --check` by hand sees this warning. Which lists count as missing has one home, `plan.touches.unpredicted`.
# The warning is for a person who runs `rank_todo.py --check` by hand, whom chunk-preflight's facts don't reach.
plan = self.read()
if isinstance(plan, Failure):
return []