Scripts: match smoke report headers on their own lines #2644
No reviewers
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!2644
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2644"
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?
@luckyteagirl on GitHub · 2026-11-26 04:52 UTC · original
luckyteagirl:codex/smoke-header-line→main· +6 −1 · 2 files · 1 commits · opensmoke.ps1acceptsxcl-smoke v1in a-Titlelabel. The PR check can mistake that text for the next report header, drop the remaining fields, and reject the run. Require the header to occupy its own line.This changes the same parser line as #2010, which adds v2 blocks and retains the substring boundary. That PR can keep its v2 change when rebasing by using
v[12]in this line-anchored header.What is in it
scripts/pr_check.pymatches complete header lines and still accepts two reports in one fence.scripts/test_pr_check.pycovers a title ending inxcl-smoke v1in both reports.Tested
python -m unittest discover -s scripts -p test_pr_check.pyon Windows. The new test failed onb49be18and all 14 tests passed with the fix.scripts/smoke-title.tests.ps1passed in PowerShell 7 and Windows PowerShell 5.1.Regression run
Not tested
AI use
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.