Repository navigation
ci(linux): pin the Linux SR SDK to 1.38.0.10108 (SR compose API) + verify sha256 - #306
Conversation
…rify sha256 Move the Track B Deb job's SR_TAG from 1.37.0.10693 to 1.38.0.10108 (sr-sdk-v1.38.0.10108 on LeiaInc/SR-SDK-Windows-Releases-Internal-Public), the first Linux SDK that ships the SR compose API: srWeaverSetComposeInputsVulkan (loader slot 94), srWeaverSetComposeOrder (81), srWeaverSetComposeLayerUnchanged (84), srWeaverSetComposeFilterStrength (85). srWeaverSnapToPhase + srWeaverSetPresentOrigin remain, so the #271 snap gate still passes. Tarball layout is unchanged (include/sr, lib/libsrSDK_loader.a, lib/cmake/srSDK). The download now fetches the exact asset (SR_SDK_ASSET) instead of probing four extensions, refuses an asset name that does not belong to SR_TAG, and checks SR_SDK_SHA256 (hard error on mismatch, PR or tag). Windows and Android SR pins are untouched. Runbook + the CMake snap-gate message updated to name the new pin. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Combined-branch proof (main + #304 + #301 + this PR)Throwaway branch Runtime side: the shipped Each of #304, #301 and this PR is green on main alone. Suggested merge order: #304 → #306 → #301. The feature PR goes last, once both prerequisites are on main, and the final state equals the combined branch above. 🤖 Generated with Claude Code |
What
Moves the Linux SR SDK pin (Track B
Debjob inbuild-linux.yml) from1.37.0.10693to1.38.0.10108, the first Linux SDK that ships the SR compose API.sr-sdk-v1.38.0.10108onLeiaInc/SR-SDK-Windows-Releases-Internal-PublicLeiaSR-SDK-1.38.0.10108-linux64.tar.gzc6c13a6e813112afb43376bd7c8c1a6c47e001964d9b522fa308d3cae4621dd8(verified locally against the downloaded asset)include/sr,lib/libsrSDK_loader.a,lib/cmake/srSDK).srWeaverSetComposeInputsVulkan(loader slot 94),srWeaverSetComposeOrder(81),srWeaverSetComposeLayerUnchanged(84),srWeaverSetComposeFilterStrength(85).srWeaverSnapToPhaseandsrWeaverSetPresentOriginare still present, so the Linux release .deb is built without srWeaverSnapToPhase — window drags never phase-snap, and the stub declines silently #271 snap gate keeps passing.Download hardening
SR_SDK_ASSETinstead of probingtar.gz|tgz|tar.xz|zip.SR_SDK_ASSETthat does not belong toSR_TAG(LeiaSR-SDK-$SR_TAG-linux64.*).SR_SDK_SHA256check: a hash mismatch is a hard error on PRs and tags alike. Before this there was no integrity check.v*tag.Not touched
SR_TAG1.35.0.2011 / SR v2 inbuild-windows.yml+build-windows.bat) and the Android CNSDK pin.check_sr_pins.pystill passes. It deliberately does not compare the LinuxSR_TAG.Coordination with #304 and #301
This PR on its own changes nothing in the shipped binary's feature set. It only makes the SDK side of #301's build probe answer yes. The 2D-under-the-lens feature needs all three PRs:
XRT_DP_VK_HAS_OVERLAY_2D(+_FILTER_STRENGTH) in the DP headerssrWeaverSetComposeInputsVulkan/SetComposeOrder(+ v14/v15 probes) in the loaderThe PRs are independent: each is green on main alone. The combined-branch CI evidence is in a comment below.
Files:
.github/workflows/build-linux.yml,docs/linux-track-b-runbook.md,src/drv_leia_linux/CMakeLists.txt(the snap-gate FATAL_ERROR text now names the new SDK).🤖 Generated with Claude Code