test(agc): make sampled cache fixture imports deterministic #4161
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/4161"
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 boykopovar/AnyPS5. Originally posted by devavijitsingh on 2026-10-12T00:13:55Z.
What
Closes #4141. Give each texture test block an extra 64 KiB of reserved but unregistered address space, keeping adjacent fixture registrations from being merged into one host import. In
viewEvictionTests, check that the snapshot is actually charged bytes before using it as the budget divisor, so a bad fixture produces a useful assertion rather than a divide-by-zero.Tested
The issue reports Windows 11 controls: the contiguous fixture failed 5/5 times with divide-by-zero, while the same fixture with a 64 KiB unregistered gap passed 5/5 times. I could not run the test locally: CMake Tools was unable to configure the workspace.
python tools/check_conventions.py --base origin/mainandgit diff --check origin/main...HEADpassed.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-12T00:14:30Z.
This appears to duplicate #4159, opened about 50 seconds earlier for #4141 with the same 64 KiB registration gap and nonzero-charge assertion. #4159 also has a successful Linux Release build and both focused CTest cases passed (2/2). Could you coordinate with the maintainers on which PR to keep? I have not changed your branch.
Imported from boykopovar/AnyPS5. Originally posted by devavijitsingh on 2026-10-12T00:18:43Z.
Thanks for catching this — I’m closing this as a duplicate of #4159, which has the same fix and has already been tested. Sorry I missed it.
Pull request closed