PR checks: an untouched PR template passes the Tested and AI use checks #959
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from ivall/xcl. Originally posted by Conrage on 2026-11-24T09:37:27Z.
The placeholder lines in
.github/pull_request_template.mdcount as content:- hardware (GPU + driver, CPU), Rust version, debug / release:and thecargo test … N passed …line- none / tool and model, and what it didOn main,
check()on the unedited template returns no problems for a docs-only PR: the\Sin the section regex (pr_check.py:57) matches the placeholder text, and the lone-under Not tested too.#527 fixes empty sections (a lone
-no longer counts), so on its branch only Not tested is reported. Tested and AI use still pass with the placeholder text.Repro (run locally on main and on #527's branch):
Suggested fix: move the hints into HTML comments (#527 already strips comments), or treat a section whose only text is the template's placeholder line as empty.
AI use: found, checked and written up by Claude Code (Claude Opus 5.5) at my request.
Imported from ivall/xcl. Originally posted by ivall on 2026-11-24T11:04:32Z.
Fixed by #1037 (
dc6a283): the template's placeholder lines, comments and lone bullets no longer count as an answer, so an untouched template fails Tested, Not tested and AI use.