Report per-shader cache outcomes in offline commands #356

Manually merged
github merged 1 commit from github-bot/gh-356 into gh-pr/356/base 2026-11-27 19:44:39 +00:00 AGit
Owner

@⁠TaynanGT on GitHub · 2026-11-27 19:35 UTC · original
TaynanGT:fix/shader-cache-results → main · +102 −55 · 4 files · 1 commits · merged 2026-11-27 19:42 UTC

Fixes #185. Builds on @⁠zmelumian972’s changes in #352.

  • Report each shader’s own cache outcome. Parallel workers can distinguish an existing entry from a newly written one.
  • Return a nonzero exit status from offline commands when a translation couldn’t be stored, and leave the completion marker pending.
  • Keep using the in-memory translation when a cache write fails during a run.

The cache tests now check hits, writes, stale entries and a blocked write. I parsed the four changed files with the pinned Rust toolchain and ran git diff --check.

**@⁠TaynanGT** on GitHub · 2026-11-27 19:35 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/356) `TaynanGT:fix/shader-cache-results` → `main` · +102 −55 · 4 files · 1 commits · merged 2026-11-27 19:42 UTC Fixes #185. Builds on @⁠zmelumian972’s changes in #352. - Report each shader’s own cache outcome. Parallel workers can distinguish an existing entry from a newly written one. - Return a nonzero exit status from offline commands when a translation couldn’t be stored, and leave the completion marker pending. - Keep using the in-memory translation when a cache write fails during a run. The cache tests now check hits, writes, stale entries and a blocked write. I parsed the four changed files with the pinned Rust toolchain and ran `git diff --check`.
Distinguish a disk hit, a successful write and a translation kept in memory. Keep offline completion pending when any entry could not be written.

Co-authored-by: zmelumian972 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 19:38:59 +00:00
Author
Owner

@⁠chatgpt-codex-connector[bot] on GitHub · 2026-11-27 19:35 UTC · original · edited 2026-11-27 19:38 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-27T19:36:50.152896Z 4cd876a PR opened
🔒 Security Review ✅ Completed 2026-11-27T19:38:06.677499Z 4cd876a 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 19:35 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/356#issuecomment-7226680110) · edited 2026-11-27 19:38 UTC <!-- codex-pull-request-review-summary --> <!-- codex-review-state:v1 {"code_review":{"commit_sha":"4cd876af8c6eee06a7ce6d06f8094dbdb81932e1","has_any_findings":false,"has_unresolved_findings":false,"status":"completed"},"security_review":{"commit_sha":"4cd876af8c6eee06a7ce6d06f8094dbdb81932e1","has_any_findings":null,"has_unresolved_findings":null,"status":"completed"}} --> <!-- codex-security-review:v1 {"blockingSeverityThreshold":"P0","headSha":"4cd876af8c6eee06a7ce6d06f8094dbdb81932e1","mergeGateEnabled":false,"pullRequestNumber":356,"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-27T19:36:50.152896Z">2026-11-27T19:36:50.152896Z</relative-time> | `4cd876a` | PR opened | | 🔒 **Security Review** | ✅ **Completed** <relative-time datetime="2026-11-27T19:38:06.677499Z">2026-11-27T19:38:06.677499Z</relative-time> | `4cd876a` | 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/356/base 2026-11-27 19:44:38 +00:00
github manually merged commit 4cd876af8c into gh-pr/356/base 2026-11-27 19:44:39 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.