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
{{ message }}
Repository navigation
Scripts: mark untracked crate inputs in smoke reports - #2654
smoke.ps1 prints a commit as clean even when an untracked file under crates can affect the locally built executable. For example, the DXIL build script recursively includes .rs files under crates/xcl/src/gpu/dxil in its source identity. Include non-ignored untracked build inputs in the smoke block's dirty check.
What is in it
Ask Git status to report non-ignored untracked files in the existing crates, Cargo.toml, and Cargo.lock scope.
Add a temporary Git repository fixture that checks untracked crate input marks the smoke block dirty, while an ignored crate file and a target artifact outside the path scope do not.
Tested
On current main b49be183, the new fixture failed because the untracked crate file left the smoke block clean. On this branch, scripts/test-smoke-dirty.tests.ps1, scripts/test-smoke-title.tests.ps1, and scripts/test-smoke-artifacts.tests.ps1 passed on Windows PowerShell 5.1 and PowerShell 7.6.9.
git diff --check and an independent source review passed.
Regression run
Not applicable. This changes only the PowerShell smoke helper and a fixture.
Not tested
A real local Cargo rebuild, retail title smoke pair, GPU tests, and the Rust workspace suite. The new fixture uses a mock XCL executable.
AI use
Codex (GPT-6.2 Sol) implemented and tested the change; another Codex Sol agent independently reviewed it.
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 PR changes the --untracked-files mode of the smoke dirty check. #2667 (empty log) and #2672 (relative -Xcl path) touch other lines of smoke.ps1; the lines shared with them are the PowerShell test fixture setup. #1591 restructures the same $dirty line for -BuildCommit and will conflict textually. --untracked-files=normal makes new, non-ignored files under crates/ mark the block dirty, and the test checks that ignored files and files outside crates/ do not. 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.
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.
smoke.ps1prints a commit as clean even when an untracked file undercratescan affect the locally built executable. For example, the DXIL build script recursively includes.rsfiles undercrates/xcl/src/gpu/dxilin its source identity. Include non-ignored untracked build inputs in the smoke block's dirty check.What is in it
crates,Cargo.toml, andCargo.lockscope.Tested
b49be183, the new fixture failed because the untracked crate file left the smoke block clean. On this branch,scripts/test-smoke-dirty.tests.ps1,scripts/test-smoke-title.tests.ps1, andscripts/test-smoke-artifacts.tests.ps1passed on Windows PowerShell 5.1 and PowerShell 7.6.9.git diff --checkand an independent source review passed.Regression run
Not tested
AI use