Olympus: harden DXIL cache identity and validation #8

Merged
bmjask merged 5 commits from upstream-pr/9 into main 2026-11-21 17:27:23 +00:00
bmjask commented 2026-11-21 17:05:56 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by bmjask on 2026-11-21T17:05:56Z.


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.

<!-- greyfinch-sync:ivall/xcl:issue:6531852382 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/9). Originally posted by [bmjask](https://github.com/bmjask) on 2026-11-21T17:05:56Z. --- ## 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.
upstream-sync closed this pull request 2026-11-24 06:56:43 +00:00
ivall commented 2026-11-24 07:00:17 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by ivall on 2026-11-21T17:27:25Z.


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.

<!-- greyfinch-sync:ivall/xcl:comment:7066495410 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/9#issuecomment-7066495410). Originally posted by [ivall](https://github.com/ivall) on 2026-11-21T17:27:25Z. --- 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.
Sign in to join this conversation.
No reviewers
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
xcl-dev/xcl!8
No description provided.