Repository navigation
Scripts: match smoke report headers on their own lines - #2644
Open
luckyteagirl wants to merge 1 commit into
Open
luckyteagirl wants to merge 1 commit into
luckyteagirl wants to merge 1 commit into
Conversation
The title argument can contain xcl-smoke v1 on a field line. An unanchored match treats the text as a boundary and loses the following run measurements. Require standalone headers and cover a matched pair of regression reports with that title. Assisted-by: Codex (GPT-6.2 Sol)
luckyteagirl
force-pushed
the
codex/smoke-header-line
branch
from
November 26, 2026 05:01
742df7c to
61920f9
Compare
luckyteagirl
marked this pull request as ready for review
November 26, 2026 05:05
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
smoke.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