Scripts: preserve artifacts for world-entry smoke runs #1863
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!1863
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1863"
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?
@gloger2003 on GitHub · 2026-11-24 22:06 UTC · original
gloger2003:scripts/smoke-run-artifacts→main· +171 −5 · 3 files · 1 commits · draftFixes #1855. Part of #505 and #1833. Preserve the evidence for each smoke run before the next invocation rotates the title's files.
What is in it
-ArtifactsDirand-CacheStatetoscripts/smoke.ps1. Each invocation creates a separate local directory with the log, any report and a manifest of the build, input schedule and cache settings.xcl-smoke v1output and document matched checkpoint runs with fresh and seeded XCL caches.Tested
Windows x64, Ryzen 7 5700X, Radeon RX 7800 XT. Both smoke script tests passed in PowerShell 7.6.9 and Windows PowerShell 5.1.26100.9818.
cargo build --offline --locked --workspaceandcargo test --offline --locked --workspace --no-fail-fast -- --test-threads=4 --show-output. 959 reported passed, 0 failed, 43 ignored. Runtime skips: 7 (gpu, heap_window_out_of_memory_falls_back_to_the_switch_form).Minecraft Preview completed a 30-second run with a fresh XCL DXIL cache and no device removal or crash. Verified that the script preserved all three artifacts. The executable was built from main and the runtime sources are identical on this branch.
Rebased onto main
568e7dbto reconcile the README. Both smoke-script tests passed on the rebased head in PowerShell 7 and Windows PowerShell 5.1. The workspace and Minecraft Preview results above were collected on the previous revisionc68f5b6.Not tested
The retail title's world-entry checkpoint and reaching a specific in-game scene.
AI use
OpenAI Codex (GPT-6.2 Sol, high reasoning effort, Fast mode) wrote the script changes, regression test and documentation, ran the checks and drafted this description.
@JJAutoCompare on GitHub · 2026-11-25 00:26 UTC · original
I reviewed and tested head
c68f5b65f54518e975c10f5003976101d9200f28for #1855.The no-report case still loses the log. When
report.jsonis absent, the launcher printsNo report – see the log: <path>. The smoke script only parses lines starting withLog:and throws before writing any artifacts. I reproduced this with a synthetic launcher and an existingxcl.log. The bundled fixture still emitsLog:after removing the report. Please make the fixture emit the launcher's real no-report message and verify that the script preserves the existing log.The comparison recipe needs a caveat for older baselines. This PR's base script lacks
-ArtifactsDirand-CacheState. Running the new script with-Xclpointing at the baseline binary saves artifacts but records the script checkout's SHA as the build commit. The README recipe works when both checkouts have the new flags. For comparisons against earlier builds, the docs should explain how to record the baseline build SHA. External binary attribution is related to #1591.Tested
powershell.exe -NoProfile -ExecutionPolicy Bypass -File scripts/smoke-artifacts.tests.ps1and the same command forscripts/smoke-title.tests.ps1. Two passed, 0 failed, 0 skipped.Not tested
I did not independently rerun Cargo, PowerShell 7, or a retail title. The PR report does not cover the matched fresh and seeded checkpoint runs or a visually confirmed world-entry milestone.
AI use
Codex (
gpt-6.2-sol, T3 Code) reviewed the diff, ran the synthetic checks, and wrote this report.@JJAutoCompare on GitHub · 2026-11-25 00:30 UTC · original · edited 2026-11-25 00:32 UTC
One additional diagnostic case at
c68f5b6: the wrapper reads stderr but discards it before constructing the missing-log error. A synthetic launcher that reports its failure only on stderr leaves the exception without the launcher’s explanation. Including captured stderr when no log path can be parsed would preserve that evidence. The reproducible missing-report case and fixture commands are in the preceding review.@DavidM1911 on GitHub · 2026-11-25 01:38 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)Thanks!
@RavenCurseBurg on GitHub · 2026-11-25 14:35 UTC · original · edited 2026-11-25 14:40 UTC
Reproduced the no-report case previously reported by @JJAutoCompare on the current head
9b70aade648de4c290fc967348b9974b019145ee. The checked-in artifact test passed in both shells, but its child printsLog:even after the report is removed. A native fixture printing the exact UTF-8 launcher messageNo report – see the log: <path>madescripts/smoke.ps1 -Seconds 1 -Game Fixture -Xcl <stub> -ArtifactsDir <outside-checkout> -CacheState seededstop withXCL printed no log pathbefore saving the existing log.Fix and updated regression fixture, based directly on this PR head. The revised checked-in fixture failed on the original script in both shells. With the fix,
scripts/smoke-artifacts.tests.ps1andscripts/smoke-title.tests.ps1passed in Windows PowerShell 5.1.26100.9711 and PowerShell 7.6.9. In a separate native-child run, the copied log had the same SHA-256 as the input under a path with spaces and square brackets. The manifest reported a null report and a seeded cache, and the smoke output retained the seven fixture frames.Windows 11 26100.9711, i7-13700, RTX 4060. Script-only tests on the PR head, with no retail run, GPU workload or merge onto main. OpenAI Codex (GPT-6) ran the fixtures, prepared the patch and wrote this report.
@DavidM1911 on GitHub · 2026-11-26 06:41 UTC · original
Re-verification on RTX 3060 Ti (Windows 11): still a merge conflict with current
mainon the new head — needs another rebase before it can be tested.View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.