Repository navigation
provenance(8078): record the macOS sandbox state and its empty compat hash - #5
Merged
zackees merged 1 commit intoOct 28, 2026
Conversation
… hash The two macOS archives carry `CEF_SANDBOX_COMPAT_HASH ""` in include/cef_version.h, and the builder confirmed on obs-rust/obs-studio#2418 that an empty value is what a macOS CEF_USE_SANDBOX build produces. Left unexplained in the manifest it reads as a value that failed to bake in. Recorded per asset (releases/8078.json) and in PROVENANCE.md, with the reason verified in the CEF source: cef/BUILD.gn's make_version_header action passes --sandbox-files only inside `if (is_win)` and tools/make_version_header.py substitutes "" when it gets none, and the only consumer of a non-empty value is the Windows bootstrap loader. The macOS sandbox is libcef_sandbox.dylib inside the framework, which both archives carry.
zackees
commented
Oct 28, 2026
zackees
left a comment
Member
Author
There was a problem hiding this comment.
Reviewed as coordinator. Docs-only, and every factual claim in it checks out against upstream chromiumembedded/cef:
BUILD.gn'smake_version_headeraction does add--sandbox-filesonly insideif (is_win), with exactly the four files named here (chrome_elf_main.h,sandbox/policy/mojom/sandbox.mojom,sandbox/win/src/sandbox.h,sandbox/win/src/sandbox_types.h).tools/make_version_header.pysets the hash to""when no sandbox files are passed.- The comparing consumer of a non-empty value is
libcef_dll/wrapper/cef_scoped_library_loader_win.cc(the Windows bootstrap loader,sandbox_compat_hashcompare againstlibcef.dll).
releases/8078.json still parses and the new sandbox blocks are attached to both macOS assets. PROVENANCE.md wording matches the existing entries around it. No archive, hash or release is touched. Nothing to fix; merging.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The two macOS archives on the
8078release carryCEF_SANDBOX_COMPAT_HASH ""ininclude/cef_version.h. That is the correct macOS header, but the manifest left it unexplained, so it reads like a value that failed to bake in.@nathan-v explained it on obs-rust/obs-studio#2418 and the reason checks out in the CEF source:
BUILD.gn'smake_version_headeraction adds--sandbox-filesonly insideif (is_win)(chrome_elf_main.h,sandbox/policy/mojom/sandbox.mojom,sandbox/win/src/sandbox.h,sandbox/win/src/sandbox_types.h).tools/make_version_header.pysubstitutes""when it is given no sandbox files.libcef_dll/wrapper/cef_scoped_library_loader_win.cc, which compares the bootstrap EXE withlibcef.dll.So the macOS sandbox criterion is
libcef_sandbox.dylibinside the framework (present in both archives, wrapper built withCEF_USE_SANDBOX), not a non-empty compat hash.This records that per asset in
releases/8078.jsonand inPROVENANCE.md, so the fact lives with the record rather than in the #2418 comment thread (#2674's reason for the manifest). Docs only: no archive, hash or release is touched.