Skip to content

Scripts: match smoke report headers on their own lines - #2644

Open
luckyteagirl wants to merge 1 commit into
xcl-dev:mainfrom
luckyteagirl:codex/smoke-header-line
Open

luckyteagirl wants to merge 1 commit into
xcl-dev:mainfrom
luckyteagirl:codex/smoke-header-line

Conversation

@luckyteagirl

Copy link
Copy Markdown
Contributor

smoke.ps1 accepts xcl-smoke v1 in a -Title label. 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.py matches complete header lines and still accepts two reports in one fence.
  • scripts/test_pr_check.py covers a title ending in xcl-smoke v1 in both reports.

Tested

  • python -m unittest discover -s scripts -p test_pr_check.py on Windows. The new test failed on b49be18 and all 14 tests passed with the fix.
  • scripts/smoke-title.tests.ps1 passed in PowerShell 7 and Windows PowerShell 5.1.
  • The local PR description check passed on this exact commit.

Regression run

  • Not applicable: no runtime source changed.

Not tested

  • Cargo workspace suite and retail-title smoke runs. The diff changes only the checker and its Python test.

AI use

  • Codex with GPT-6.2 Sol wrote the patch, test, and draft and ran the checks above.

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
luckyteagirl force-pushed the codex/smoke-header-line branch from 742df7c to 61920f9 Compare November 26, 2026 05:01
@luckyteagirl
luckyteagirl marked this pull request as ready for review November 26, 2026 05:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant