Shader watcher: invalidate a published request when sidecar content changes with an older timestamp #3133

Open
opened 2026-11-27 16:23:43 +00:00 by R0Y00 · 2 comments
R0Y00 commented 2026-11-27 16:23:43 +00:00 (Migrated from github.com)
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-27T16:23:43Z.


Refs #3091. The review of a48d39dc reproduces a stale accepted manifest when a conflicting slot-57 sidecar appears with a preserved older timestamp.

Use the source-built stream request from tests/native_startup_request_cache_check.py. Publish it with compile_dxil --watch and --once, add a contradictory .ps57in whose mtime predates the published manifest, then repeat the same invocation. Compare with the same bytes and a newer mtime. Both must withdraw the stale manifest and report the same conflict. Include an unchanged-input cache-hit control and a regression for changed input with preserved mtime. Coordinate with the PR author and target codex/native-shader-modules while #3091 is open. Comment here to claim.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6650334707 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/3133). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-27T16:23:43Z. --- Refs #3091. The review of a48d39dc reproduces a stale accepted manifest when a conflicting slot-57 sidecar appears with a preserved older timestamp. Use the source-built stream request from tests/native_startup_request_cache_check.py. Publish it with compile_dxil --watch and --once, add a contradictory .ps57in whose mtime predates the published manifest, then repeat the same invocation. Compare with the same bytes and a newer mtime. Both must withdraw the stale manifest and report the same conflict. Include an unchanged-input cache-hit control and a regression for changed input with preserved mtime. Coordinate with the PR author and target codex/native-shader-modules while #3091 is open. Comment here to claim.
legacy-code-archaeologist commented 2026-11-27 16:58:32 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by legacy-code-archaeologist on 2026-11-27T16:58:32Z.


I am taking #3133 and targeting codex/native-shader-modules while #3091 is open (cc @R0Y00). AI-assisted.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7223883430 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/3133#issuecomment-7223883430). Originally posted by [legacy-code-archaeologist](https://github.com/legacy-code-archaeologist) on 2026-11-27T16:58:32Z. --- I am taking #3133 and targeting `codex/native-shader-modules` while #3091 is open (cc @R0Y00). AI-assisted.
Leyukaka commented 2026-11-28 20:06:07 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by Leyukaka on 2026-11-28T20:06:07Z.


#3138 (Fixes #3133) merged into codex/native-shader-modules, which reached main with #3091 (13:48 UTC); its merge commit 0b505c1c is on main 8ecd30fe. This issue did not close because #3138's base was not main. Can it be closed?

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7245036502 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/3133#issuecomment-7245036502). Originally posted by [Leyukaka](https://github.com/Leyukaka) on 2026-11-28T20:06:07Z. --- #3138 (`Fixes #3133`) merged into `codex/native-shader-modules`, which reached `main` with #3091 (13:48 UTC); its merge commit `0b505c1c` is on `main` `8ecd30fe`. This issue did not close because #3138's base was not `main`. Can it be closed?
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
R0Y00/Xbox2Windows#3133
No description provided.