Skip to content

Scripts: mark untracked crate inputs in smoke reports - #2654

Open
luckyteagirl wants to merge 1 commit into
xcl-dev:mainfrom
luckyteagirl:codex/smoke-untracked-build-inputs
Open

luckyteagirl wants to merge 1 commit into
xcl-dev:mainfrom
luckyteagirl:codex/smoke-untracked-build-inputs

Conversation

@luckyteagirl

Copy link
Copy Markdown
Contributor

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.

@luckyteagirl
luckyteagirl marked this pull request as ready for review November 26, 2026 05:12
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