mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:30:53 +01:00
[PR #452] make_game: scope interrupted shader-shard reuse to translator inputs #503
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#503
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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 Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/452
Author: @EdenBendheim
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:ubiq/shader-shard-reuse-digest📝 Commits (1)
805d476Scope interrupted shader-shard reuse to translator inputs📊 Changes
2 files changed (+79 additions, -36 deletions)
View changed files
📝
make_game.py(+3 -16)📝
tests/test_make_game_resume.py(+76 -20)📄 Description
Claim: https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7123162857
What changed
make_game.py: Usetranslation_sources_digest()(the explicit translator dependency list already used for completed translations) instead of hashing all top-leveltools/files when checking interrupted shader-shard plans on resume. Unrelatedtools/additions or edits now preserve completed shards; translator module orgfx10_formats.jsonedits still invalidate them, and legacy shard plans rebuild cleanly once.tests/test_make_game_resume.py: Covers shard reuse after unrelated tool edits, invalidation on translator/format-table edits, and one-time recovery from a legacy plan (with LF writes pinned).Testing & Disclosure
gpt-6.2-sol) and reviewed with Codex (gpt-6.2-astra).ubiquitarianism/leonidamain(8f481cf16):test_make_game_resume.pyfull suite (16/16),test_make_game_dry_run.py(24/24),check_no_game_data.py, LF check — all passed.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.