Skip to content

provenance(8078): record the macOS sandbox state and its empty compat hash - #5

Merged
zackees merged 1 commit into
6533-fix-stutter-and-osr-extra-infofrom
infra/2418-macos-sandbox-record
Oct 28, 2026
Merged

zackees merged 1 commit into
6533-fix-stutter-and-osr-extra-infofrom
infra/2418-macos-sandbox-record

Conversation

@zackees

@zackees zackees commented Oct 28, 2026

Copy link
Copy Markdown
Member

The two macOS archives on the 8078 release carry CEF_SANDBOX_COMPAT_HASH "" in include/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's make_version_header action adds --sandbox-files only inside if (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.py substitutes "" when it is given no sandbox files.
  • The only consumer of a non-empty value is libcef_dll/wrapper/cef_scoped_library_loader_win.cc, which compares the bootstrap EXE with libcef.dll.

So the macOS sandbox criterion is libcef_sandbox.dylib inside the framework (present in both archives, wrapper built with CEF_USE_SANDBOX), not a non-empty compat hash.

This records that per asset in releases/8078.json and in PROVENANCE.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.

… 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 zackees left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed as coordinator. Docs-only, and every factual claim in it checks out against upstream chromiumembedded/cef:

  • BUILD.gn's make_version_header action does add --sandbox-files only inside if (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.py sets 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_hash compare against libcef.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.

@zackees
zackees merged commit 2bd272d into 6533-fix-stutter-and-osr-extra-info Oct 28, 2026
@zackees
zackees deleted the infra/2418-macos-sandbox-record branch October 28, 2026 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant