pe_shader_containers: parse and validate multi-image container layouts (OLD-9775) #694
No reviewers
No assignees
Labels
No labels
bug
dependencies
documentation
enhancement
missing claim
needs rebase
needs-triage
question
ready-for-agent
submodules
No project
No milestone
Dependencies
No dependencies set
Notifications
1 participant
Due date
No due date set.
Reference
leonida/mandy!694
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/pe-shader-containers-multi-image"
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?
Pull request successfully merged and closed
Related issues: #14, #17, #18 (restoring old upstream PR 9775, author restoration for draft PR #53).
What and why
Restores original pull request OLD-9775 authored by @abnalstlll-byte:
Tested
Checklist
Verified by OreoFR
5cb45921e+ PR head9a118b856python -I tests/test_pe_shader_containers.pyAI-assisted (Claude Code, Claude Opus 5.5).
#694 | head 9a118b856c5a6806a7e29f3172f50d2b93dfc384 (merged cleanly with main a8465211fb) |
python -I tests/test_pe_shader_containers.py| red on main:FAILED (failures=1, errors=1)(extractresetenumerate(records)to0on each PE image, collidingcontainer_00.dxbc->container_00_00.dxbcinstead ofcontainer_01.dxbc, and--jsonwrote directly withoutwrite_json_reportstaging) | green on PR+main:22 ran, OK| Windows 11 (10.0.26200.9974), Python 3.12.10 | AI-assisted: yesAudited
tools/pe_shader_containers.pyandtests/test_pe_shader_containers.pyon Windows 11, confirming sequentialstart_index=len(index)numbering across multi-image--extractruns and staged--jsonpublishing viawrite_json_report+replace_retry. Minor non-blocking follow-up note for Windows NTFS parity (matching#752):write_json_reportcurrently skipspublished_mode(destination)onos.name == "nt"and omitsos.chmod(staged.name, 0o600)beforeos.unlink(staged.name)infinally:. Also verifiedtests/test_ci_registration.py,tests/test_text_write_line_endings.py, andscripts/check_no_game_data.py.Merged at head 9a118b8. Tested on this head by OreoFR, zmasi: the new test fails on main and passes with the PR (results in the comments above). AI-assisted: yes.