[pr-tests][startup] Check launcher run history on uniform and hybrid CPUs #229
Loading…
Reference in a new issue
No description provided.
Delete branch "superhero-520/Darner:test-launcher-cpu-topology"
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?
Contributor role (optional)
Role already held.
What it changes
On main, the run-history Pester test expects a
cores=tag even when-Try corescorrectly skips the comparison on a CPU with one kind of core. This reproduced on a Ryzen 7 5800H.The test now uses the launcher's CPU summary to select the expected outcome. On a uniform CPU it checks for an empty CSV variant and the skip message. On a hybrid CPU the seeded history gives both choices zero tagged runs, so it checks for
cores=layerand the corresponding A/B message. A missing or contradictory CPU summary fails the test.How it was tested
086dbd5430ca1fd6e898c8d9ab68d4124aa855c1, based onf3840d73d3504c30218debfbc8795b9225447317.Invoke-Pester -Script ./scripts/tests/play-rig.Tests.ps1 -TestName 'the shader preload'passed 3/3. The fullplay-rig.Tests.ps1passed 17/17, with zero skipped.cargo xtask policypassed (555 files). Both workspace Clippy gates passed with warnings denied. The full Rust workspace suite was not rerun for this PowerShell test change.Checklist
main.docs/asset-policy.md.Checked for overlap
Follow-up on
086dbd5430ca1fd6e898c8d9ab68d4124aa855c1: the same Pester test file also passed all threethe shader preloadcases with an 8+8 hybrid topology injected into a private copy of the launcher. The run-history case passed in 17.55 s. Native Windows PowerShell 5.1 on the Ryzen 7 5800H passed all 17 launcher tests. A physical hybrid CPU is the remaining coverage gap. If you would like a tester to run the focused Pester group there, please mark this committestcall-ok.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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.