Remember write-watch stamps for placed GPU pages #342

Manually merged
github merged 1 commit from github-bot/gh-342 into gh-pr/342/base 2026-11-27 18:30:59 +00:00 AGit
Owner

@⁠TaynanGT on GitHub · 2026-11-27 18:11 UTC · original
TaynanGT:fix/placed-page-write-stamp → main · +21 −0 · 1 files · 1 commits · merged 2026-11-27 18:26 UTC

Record the write-watch stamp before copying a placed page. A later refresh can then preserve the GPU-written bytes until the title writes the page again. A page with no stamp keeps the full refresh path. VICTORY_PLACE_TAKEN=0 selects that path for comparison.

A standalone Windows regression ran the actual placement code and refresh decision with a simulated copy backend. It reproduced the overwrite on the old path, preserved the GPU bytes with the stamp, and verified that a newer CPU write is still copied. It also covered an unwatched page and the disabled switch.

Adapted from urielbeaupre’s page-stamp change. The ray traversal and diagnostic changes remain in #305.

**@⁠TaynanGT** on GitHub · 2026-11-27 18:11 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/342) `TaynanGT:fix/placed-page-write-stamp` → `main` · +21 −0 · 1 files · 1 commits · merged 2026-11-27 18:26 UTC Record the write-watch stamp before copying a placed page. A later refresh can then preserve the GPU-written bytes until the title writes the page again. A page with no stamp keeps the full refresh path. `VICTORY_PLACE_TAKEN=0` selects that path for comparison. A standalone Windows regression ran the actual placement code and refresh decision with a simulated copy backend. It reproduced the overwrite on the old path, preserved the GPU bytes with the stamp, and verified that a newer CPU write is still copied. It also covered an unwatched page and the disabled switch. Adapted from [urielbeaupre’s page-stamp change](https://github.com/urielbeaupre/Vice-Tay/commit/14c6a0568567034c80d1d9e353f109bc2c76e1f9). The ray traversal and diagnostic changes remain in #305.
Keep the write-watch stamp taken before uploading a placed page so later refreshes copy newer title writes and preserve the GPU updates in between.

Co-authored-by: urielbeaupre <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 18:15:14 +00:00
Author
Owner

@⁠chatgpt-codex-connector[bot] on GitHub · 2026-11-27 18:12 UTC · original · edited 2026-11-27 18:14 UTC

Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-27T18:13:06.259398Z 029a680 PR opened
🔒 Security Review ✅ Completed 2026-11-27T18:14:30.749995Z 029a680 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@⁠codex review" or "@⁠codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

**@⁠chatgpt-codex-connector[bot]** on GitHub · 2026-11-27 18:12 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/342#issuecomment-7225234680) · edited 2026-11-27 18:14 UTC <!-- codex-pull-request-review-summary --> <!-- codex-review-state:v1 {"code_review":{"commit_sha":"029a68099aa2fd63a2d51a33303f283f2b567401","has_any_findings":false,"has_unresolved_findings":false,"status":"completed"},"security_review":{"commit_sha":"029a68099aa2fd63a2d51a33303f283f2b567401","has_any_findings":null,"has_unresolved_findings":null,"status":"completed"}} --> <!-- codex-security-review:v1 {"blockingSeverityThreshold":"P0","headSha":"029a68099aa2fd63a2d51a33303f283f2b567401","mergeGateEnabled":false,"pullRequestNumber":342,"repository":"TaynanGT/Vice-Tay","status":"completed"} --> <details> <summary><strong>Codex Review Summary</strong>: ✅ Completed</summary> This comment shows the latest Codex review activity on this pull request. | Review | Status | Commit | Review trigger | | --- | --- | --- | --- | | 📝 **Code Review** | ✅ **Completed** <relative-time datetime="2026-11-27T18:13:06.259398Z">2026-11-27T18:13:06.259398Z</relative-time> | `029a680` | PR opened | | 🔒 **Security Review** | ✅ **Completed** <relative-time datetime="2026-11-27T18:14:30.749995Z">2026-11-27T18:14:30.749995Z</relative-time> | `029a680` | PR opened | <details> <summary>ℹ️ About Codex in GitHub</summary> <br/> [Your team has set up Codex to review pull requests in this repo](https://chatgpt.com/codex/cloud/settings/general). Reviews are triggered when you - Open a pull request for review - Mark a draft as ready - Comment "@⁠codex review" or "@⁠codex security review". Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. </details> </details>
github-bot changed target branch from main to gh-pr/342/base 2026-11-27 18:30:58 +00:00
github manually merged commit 029a68099a into gh-pr/342/base 2026-11-27 18:30:59 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.