Scripts: keep smoke settings out of the calling shell #2714
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!2714
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2714"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@luckyteagirl on GitHub · 2026-11-26 08:05 UTC · original
luckyteagirl:codex/smoke-child-environment→main· +24 −4 · 3 files · 1 commits · draftscripts/smoke.ps1currently changes the calling PowerShell session: it leavesXCL_NETWORK=0and removes any pre-existingXCL_RUN_SECONDSandXCL_ACTIVITYafter a run. Set these three overrides on the launched XCL process instead, so repeated or interactive smoke runs do not change the caller's settings.What is in it
scripts/smoke.ps1: put the three run settings inProcessStartInfo.EnvironmentVariables.scripts/test-smoke-artifacts.tests.ps1: check that the mock child receives0,5,1while the caller retains its original settings. This assertion failed on the parent commit before the fix.README.md: document the launcher's environment scope.Tested
powershell.exe -NoProfile -File .\scripts\test-smoke-artifacts.tests.ps1: passed.pwsh.exe -NoProfile -File .\scripts\test-smoke-artifacts.tests.ps1: passed.powershell.exe -NoProfile -File .\scripts\smoke-title.tests.ps1: passed.pwsh.exe -NoProfile -File .\scripts\smoke-title.tests.ps1: passed..\scripts\test.ps1: workspace build passed; the unfilteredxcl --librun aborted with0xc0000005in the known RX 6800M DXIL test path, so it produced no complete suite count. A subsequent run with--skip gpu::dxil::core_tests::raw_loads_in_root_windows_respect_exec_and_boundscompleted its library harness with 1111 passed, 197 failed, 27 ignored, 1 filtered out; many failures reported an unavailable D3D12 device and a suspect driver state after the abort. These runs do not establish a passing GPU suite.Not tested
AI use
@RavenCurseBurg on GitHub · 2026-11-26 08:42 UTC · original
I’ll verify caller and child values across successful launch, Start() failure, and missing-log output in Windows PowerShell 5.1 and PowerShell 7, and test how the child-only approach fits the debug switch in #2039.
Target
e07279eb34ae634f863b88d15f9b99fd85953067. OpenAI Codex (GPT-6) will run these synthetic Windows checks.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.