Olympus: harden DXIL cache identity and validation #9

Manually merged
github merged 5 commits from gh-pr/9/head into gh-pr/9/base 2026-11-26 04:03:45 +00:00
Owner

@⁠bmjask on GitHub · 2026-11-21 17:05 UTC · original
bmjask:codex/olympus-dxil-cache → main · +139 −9 · 1 files · 5 commits · merged 2026-11-21 17:27 UTC

Summary

  • validate freshly compiled DXIL before caching or returning it
  • include the actual loaded DXC toolchain metadata in cache identity
  • normalize cache aliases before disk, in-process flight, and named-mutex coordination
  • use file size and modification time rather than hashing entire toolchain binaries

Validation

  • DXIL cache tests: 8 passed
  • xcl library tests: 203 passed, 13 ignored, 0 failed

This is the fresh, narrowly scoped follow-up requested after the reviewed media/package PR. It contains no package decryption or DRM handling.

**@⁠bmjask** on GitHub · 2026-11-21 17:05 UTC · [original](https://github.com/xcl-dev/xcl/pull/9) `bmjask:codex/olympus-dxil-cache` → `main` · +139 −9 · 1 files · 5 commits · merged 2026-11-21 17:27 UTC ## Summary - validate freshly compiled DXIL before caching or returning it - include the actual loaded DXC toolchain metadata in cache identity - normalize cache aliases before disk, in-process flight, and named-mutex coordination - use file size and modification time rather than hashing entire toolchain binaries ## Validation - DXIL cache tests: 8 passed - xcl library tests: 203 passed, 13 ignored, 0 failed This is the fresh, narrowly scoped follow-up requested after the reviewed media/package PR. It contains no package decryption or DRM handling.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:03:43 +00:00
github manually merged commit c9565af96a into gh-pr/9/base 2026-11-26 04:03:45 +00:00
Author
Owner

@⁠ivall on GitHub · 2026-11-21 17:27 UTC · original

Thanks – merged. Size + mtime for the toolchain id is exactly it. Note for anyone pulling: the cache key changes, so the DXIL cache rebuilds once.

**@⁠ivall** on GitHub · 2026-11-21 17:27 UTC · [original](https://github.com/xcl-dev/xcl/pull/9#issuecomment-7066495410) Thanks – merged. Size + mtime for the toolchain id is exactly it. Note for anyone pulling: the cache key changes, so the DXIL cache rebuilds once.
This discussion has been locked. Commenting is limited to contributors.
No description provided.