Scripts: apply smoke overrides to the same child environment #3460
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3460"
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?
Imported from ivall/xcl. Originally posted by andrewDoing on 2026-11-29T20:32:54Z.
Follow-up to #3453. Setting
XCL_PREPAREthroughProcessStartInfo.EnvironmentVariablessnapshots the environment before the smoke script sets its other overrides. The child can inherit enabled networking, the caller's run duration, and disabled activity logging. Reproduction on #3453What is in it
Tested
50f29611, parent1bd9cee1.scripts/test-smoke-artifacts.tests.ps1andscripts/smoke-title.tests.ps1passed on PowerShell 7.6.9 and Windows PowerShell 5.1.26100.10068.XCL_PREPARE=1 XCL_NETWORK=1 XCL_RUN_SECONDS=777 XCL_ACTIVITY=0, the unchanged #3453 script launched the mock with0, 1, 777, 0. With the fix it received0, 0, 5, 1for a five-second smoke. The merged main version of the script matches that baseline.Not tested
Retail title launch, shader preparation, and actual network I/O. The fixture uses a mock process.
AI use
OpenAI Codex with GPT-6.2 Sol investigated, implemented the fix, and ran the script checks.