PR checks: an untouched PR template passes the Tested and AI use checks #965
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl#965
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?
@Conrage on GitHub · 2026-11-24 09:37 UTC · original
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.
@ivall on GitHub · 2026-11-24 11:04 UTC · original
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.