Skip to content

Reject separate LiteRT libraries in v0.20 desktop bundles - #130

Merged
leehack merged 10 commits into
mainfrom
ltn-p3-113
Nov 24, 2026
Merged

leehack merged 10 commits into
mainfrom
ltn-p3-113

Conversation

@leehack

@leehack leehack commented Nov 24, 2026

Copy link
Copy Markdown
Owner

Outcome

Closes #113. Reject legacy LiteRT core and WebGPU accelerator libraries in v0.20+ desktop packages. The guard preserves v0.19 package validation and allows the in-process host, Dawn and the constraint provider.

Follow-up status

#113 item Evidence
1. Bundled core interposition and 2. bundled accelerator fallback #127 adopts upstream's removal of the prebuilts. This PR guards the bundle layout. A consumer-supplied global library can still interpose on Linux.
3. Windows time budget #114 raised it to 150 minutes. The prior v0.20.0 Windows CI job finished in 82 min 35 s.
4. Linkage validation call #115 added the test that exercises both builder entry paths.
5. Missing L4 hashes The original run lacks a complete receipt. A later v0.19.1-2 rerun binds Linux Vulkan and Windows D3D12 results to archive and loaded-runtime hashes. This PR documents evidence collection for future runs.
6. CPU-options diagnostic #115 removed the stale direction. #127 removed the retired diagnostic from the current builder.

Validation

  • Python tooling: 422 tests, 4 skipped. Both package validation tests, actionlint and git diff --check passed.
  • The packaged candidate from #127 head 7cc57b110f has SHA-256 f64c66b735d896086177bdd4391738cb7e607a537076bfeaef64ab89853d454f. The runtime dependency validator passed against its 12 ELF, 10 Mach-O and 9 PE binaries. Linux x64/arm64, Windows x64 and macOS arm64 ship neither legacy binary and none imports the separate core. Linux and macOS expose the static GPU registration and delegate entry. The Windows PE imports 87 named Dawn symbols directly and exports the in-process marker.
  • v0.20.0 desktop GPU execution on Linux and Windows remains unverified in this PR.

Review notes

High risk, release package admission. Head 1d296d36bf5dbe55387d08407b7fdf53a6311c85. Hosted CI and independent review are pending. Stacked on #127. Retarget to main after #127 merges.

@leehack
leehack marked this pull request as ready for review November 24, 2026 17:01
@leehack
leehack merged commit d73bca7 into main Nov 24, 2026
34 of 36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Follow-ups from #112 audit (desktop in-process LiteRT)

1 participant