You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When XCL reports a log path but writes no log content, the smoke script can fail in a regex with a null-input exception. A whitespace-only log can produce a smoke block without any run evidence.
What is in it
Stop before parsing an empty or whitespace-only log and report its path.
Add a mock XCL fixture for both cases.
Tested
The new fixture failed against main b49be183 on PowerShell 5.1 and 7.6.9 because main did not emit the empty-log diagnostic.
scripts/test-smoke-empty-log.tests.ps1 and scripts/test-smoke-artifacts.tests.ps1 passed on PowerShell 5.1 and 7.6.9.
git diff --check passed.
Regression run
Not applicable. The change affects only the smoke script and its test.
Not tested
A retail title or the Rust/GPU suite.
AI use
Codex (GPT-6.2 Sol) implemented the change and test, verified behavior against main, and drafted this description.
Nothing has happened on this PR for 3 days, so it is marked stale and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto main if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.
No open or merged PR adds this check. Its shared lines with #2672, #2684 and #2654 are the test fixture boilerplate, and those PRs change other parts of smoke.ps1 (relative -Xcl, relative -Game, untracked files). On main an empty log leaves $text null, so [regex]::Matches($text, ...) fails with an unrelated null-argument error. A whitespace-only log produces a block with no frames. Both now stop with XCL log is empty: <path>.
Recommendation: keep open.
AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
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
staleNo activity for 3 days; closed 4 days later unless something happens
2 participants
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.
When XCL reports a log path but writes no log content, the smoke script can fail in a regex with a null-input exception. A whitespace-only log can produce a smoke block without any run evidence.
What is in it
Tested
b49be183on PowerShell 5.1 and 7.6.9 because main did not emit the empty-log diagnostic.scripts/test-smoke-empty-log.tests.ps1andscripts/test-smoke-artifacts.tests.ps1passed on PowerShell 5.1 and 7.6.9.git diff --checkpassed.Regression run
Not tested
AI use