PR checks: an untouched CONTRIBUTING outline fails the required sections #1539
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1549"
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 vladbondarenko97 on 2026-11-24T17:32:24Z.
#1037 made the hint lines of the PR template count as empty, but the outline in CONTRIBUTING.md ("PR description"), the one AGENTS.md tells agents to write to, has hint lines of its own. Pasted unedited, it passed the Tested, Not tested and AI use checks (
check()returns[]on main). Its six hint lines under those sections are placeholders now too.What is in it
scripts/pr_check.py: the CONTRIBUTING outline's hint lines inTEMPLATE_PLACEHOLDERS. +8 −1.scripts/test_pr_check.py:test_untouched_contributing_outline_fails_all_required_sectionsreads the outline from CONTRIBUTING.md and expects the three section problems. +14.Tested
cd scripts && python3 -m unittest test_pr_check: 14 passed. Against main'spr_check.pythe new test fails (FAILED (failures=1)).check()of main and of this branch on the descriptions of 1,200 PRs of this repository: no verdict changes.cargo build --workspaceok;cargo test --workspace --no-fail-fast -- --test-threads=4: 775 passed, 1 failed, 41 ignored. SKIPPED: 2 (no wave64), 1 (no heap windows). The failure ise2e::test_title_runs_and_game_folder_is_untouched(presents: 0; the run was over SSH without a desktop session). This branch changes nothing that is built, so main fails it the same way there.python -m unittest test_pr_checkthere: 14 passed.Regression run
scripts/pr_check.pyand its tests change, nothing built into xcl.exe.Not tested
PR checksworkflow itself on GitHub (it runs main's copy of the checker).AI use
🤖 Generated with Claude Code
https://claude.ai/code/session_01Hri58aiQKmMwqS6K8CHq2s
Imported from ivall/xcl. Originally posted by futurepro62 on 2026-11-24T18:34:30Z.
Tested exact head
4542382, script tests only, since this PR has no test report yet.Tested
python -m pytest -q scripts/test_pr_check.pyat the head: 14 passed, 23 subtests passed.pr_check.py(9e3831e): 1 failed,test_untouched_contributing_outline_fails_all_required_sections; the other 13 pass. So the new test catches the problem the PR fixes.Not tested
AI use
Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-24T19:19:16Z.
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~21 ignored.Thanks!
upstream-sync referenced this pull request2026-11-24 23:06:49 +00:00
upstream-sync referenced this pull request2026-11-25 00:08:41 +00:00
Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-28T08:00:54Z.
Nothing has happened on this PR for 3 days, so it is marked
staleand will be closed in 4 days. A push or a comment takes the mark off: rebase it ontomainif it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T06:04:29Z.
Triage (#1607) – head
4542382No open or merged PR adds the CONTRIBUTING.md outline lines to
TEMPLATE_PLACEHOLDERSinscripts/pr_check.py; main still lists only the.github/pull_request_template.mdlines. The new test reads the outline from CONTRIBUTING.md, so it will catch drift between the two.No problems found in the diff.
Recommendation: keep open.
AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.