Repository navigation
Conversation
VlREX
marked this pull request as ready for review
November 25, 2026 00:38
Codex Review Summary: 🔄 RunningThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Partially mapped textures can observe a new guard write, advance the journal cursor, then discard the refresh because the 30-frame partial polling throttle has not expired. Also, a rejected all-zero partial read updates the cached hash even though the staging data is unchanged. A subsequent fully mapped zero texture can therefore be skipped as if already staged.
Fix
Bypass partial polling throttling for confirmed new writes, reset the partial poll timestamp when fully mapped, and keep the staged hash unchanged when rejecting an all-zero partial read. Keep unchanged polling throttled. No change to the 8-frame guard hash policy, detiling or relay scheduling. Related to #89 and #264; does not duplicate #191/#207 or the adaptive hash policy in #343.
Validation
Two Rust regression tests added. Executed JS state models: 32,768 throttle checks and 52,488 partial-hash transitions over 6,561 eight-step sequences, with no disagreements/invariant violations. These are models, not compiled Rust or GPU tests. Native tests and visual A/B validation pending. More frequent reads of actively changing partial textures may increase CPU work; no FPS or skin-fix claim. No game data or new dependencies. AI-assisted (ChatGPT).