Keep precompiled shaders and pipelines current #325
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/TaynanGT--Vice-Tay!325
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/325/head"
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?
@TaynanGT on GitHub · 2026-11-27 16:53 UTC · original
TaynanGT:fix/ultrareview-cache→main· +131 −38 · 9 files · 2 commits · merged 2026-11-27 16:58 UTCA pipeline that failed to produce a host PSO stays eligible for the next warm-up. Older completion records are ambiguous and get one retry. The quarantine for failed workers still works as before.
Both launchers now ask the executable whether shader pretranslation is needed. It checks the active translation key and the source paths, so an old cache directory cannot skip the first scan after a translator update. A scan with I/O errors or a failed cache write remains eligible to run again.
The regression tests cover refused pipelines, legacy completion records, and mismatches in the shader cache key and source path. PowerShell and Bash syntax checks passed locally.
@chatgpt-codex-connector[bot] on GitHub · 2026-11-27 16:53 UTC · original · edited 2026-11-27 16:56 UTC
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
0cb31310cb3131ℹ️ About Codex in GitHub
Your 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.
@chatgpt-codex-connector[bot] on GitHub · 2026-11-27 16:55 UTC · original · reviewed
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit:
0cb3131abfℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
@ -167,0 +174,4 @@}crate::host::host()?;let mut key = blake3::Hasher::new();key.update(&build());@chatgpt-codex-connector[bot] on GitHub · 2026-11-27 16:55 UTC · original
When a translator update adds support for previously refused shaders without changing
TRANSLATOR_VERSION, the completion key remains unchanged:build()uses the version by default, notSOURCE. Such updates explicitly leave the version unchanged according tocrates/victory-shader/src/lib.rs. Because a scan can record completion even when some shaders fail translation, both launchers subsequently skip the scan that would populate those newly supported shaders. IncludeSOURCEin the batch completion key independently of the per-shader cache key so a new translator build gets another scan.Useful? React with 👍 / 👎.
@ -412,0 +415,4 @@for path in paths {let path = path.canonicalize().ok()?;let metadata = path.metadata().ok()?;let modified = metadata.modified().ok()?.duration_since(std::time::UNIX_EPOCH).ok()?;@chatgpt-codex-connector[bot] on GitHub · 2026-11-27 16:55 UTC · original
When a configured source is a directory, modifying an existing shader file or adding files within a nested directory does not change the source root's size or modification time. The completion stamp therefore remains valid after those game assets change, and
shaders --if-neededskips scanning the new shader content indefinitely unless another key input changes. Both launchers normally scan directories, so the freshness check needs to account for descendant files rather than only the root directory's metadata.Useful? React with 👍 / 👎.