Skip to content

release(8078): record the macOS build provenance from the builder's bundle (#2674) - #3

Merged
zackees merged 1 commit into
6533-fix-stutter-and-osr-extra-infofrom
release/8078-macos-provenance
Oct 28, 2026
Merged

zackees merged 1 commit into
6533-fix-stutter-and-osr-extra-infofrom
release/8078-macos-provenance

Conversation

@zackees

@zackees zackees commented Oct 28, 2026

Copy link
Copy Markdown
Member

Refs obs-rust/obs-studio#2674.

releases/8078.json recorded symbol_level: null for both macOS assets and a note saying the macOS recipe postdates the archives, and PROVENANCE.md repeated that the symbol level was unknown.

@nathan-v's build bundle on obs-rust/obs-studio#2418 (comment of 2026-10-28T00:26Z) settles it. Both runs set symbol_level=1, and the bundle names:

  • Chromium refs/tags/156.0.8078.48 @ d0c02bfad08ec92a6ffcf989e53cd995e6381a4c
  • the full args.gn for each arch (identical except target_cpu)
  • the automate-git.py invocation (--branch=8078 --checkout=426920c… --arm64-build / --x64-build, plus CEF_ENABLE_AMD64=1 and GN_OUT_CONFIGS=Release_GN_x64 on x86_64)
  • the per-arch ninja tails (58,098 / 95,295 steps)
  • Xcode 27.0 (27A266a), the wrapper build flags, and the codesign state

What changes

  • releases/8078.json: symbol_level: 1 and chromium_commit on both macOS assets; a build object carrying gn_defines, automate_git_args, extra_env, args_gn, ninja, wrapper and codesign; the recipe attributed to obs-studio-libs 44f2099 (#17 — the arm64 log's environment), with the x86_64 caveat below; gaps updated.
  • PROVENANCE.md: the same facts in the macOS section, the summary row, and note 2.

The one caveat, stated rather than smoothed over

The x86_64 log prints CEF_ENABLE_AMD64=1 and GN_OUT_CONFIGS=Release_GN_x64, but those exports only appear in recipes/cef/macos at 5d80772 (#18), which merged after both archives were packed. That run therefore used pre-merge (uncommitted) script content. The arm64 archive is attributed to 44f2099; the x86_64 archive is recorded against 44f2099 as the closest named revision, with the caveat in recipe.note and in gaps.

Codesign asymmetry is recorded as the toolchain's behaviour, not a defect: arm64 framework and libcef_sandbox.dylib are ad-hoc linker-signed (Apple silicon requires it); the x86_64 artifacts report code object is not signed at all.

Evidence

  • Every asset sha256 in the manifest re-checked against gh api repos/obs-rust/cef/releases/tags/8078 (sha256: digests) — unchanged.
  • releases/8078.json parses and obs-studio-libs' parse_cef_release_manifest accepts it (it reads tag, assets[].name/sha256, patch_commit; extra keys are ignored).
  • No rebuild and no new artefacts in this PR.

Docs/metadata only, so no RED→GREEN test. The release tag 8078 is retargeted to this commit so the record stays readable from the tag (tags are release metadata; the previous tag move in #2674 did the same). Merge remains the maintainer's call; if this PR is rejected, the tag can be moved back to 63a641af5.

…undle

Refs obs-rust/obs-studio#2674.

The 8078 macOS assets carried `symbol_level: null` and a "recipe postdates
these archives" note. @nathan-v's build bundle on obs-rust/obs-studio#2418
settles both: it names the Chromium tag commit, the exact args.gn (both set
symbol_level=1), the automate-git.py invocation, the per-arch ninja tails,
the Xcode version and the codesign state of each artifact.

- releases/8078.json: symbol_level 1 for both macOS assets, chromium commit
  d0c02bfa (156.0.8078.48), the recipe attributed to obs-studio-libs 44f2099
  (#17, the arm64 log's environment) with the x86_64 caveat, and a `build`
  object holding args.gn, automate-git.py argv, ninja tail, wrapper details
  and codesign. Gaps now record the x86_64 pre-merge script content and the
  removed dSYM directory.
- PROVENANCE.md: same facts in the macOS section, the summary row, and note 2.

The asset sha256s are unchanged and were re-verified against the release's
digests. No rebuild, no new artefacts.

@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: metadata is consistent with the evidence I could check independently.

  • releases/8078.json parses; tag = 8078; the three assets' sha256 values match the release's own computed digest fields exactly (checked through the API, not the PR body), and the manifest's asset set equals the release's asset set.
  • The two recipe commits the manifest now names exist in obs-rust/obs-studio-libs: 44f2099 = "cef: macOS 8078 recipe for arm64 and x86_64 (#17)" and 5d80772 = "cef: macOS 8078 pack finds ninja and the x64 hook (#18)" — so the attribution and the x86_64 caveat are accurate as written.
  • symbol_level: 1, the args.gn block and the automate-git.py invocation match @nathan-v's bundle on obs-rust/obs-studio#2418 (CEF 426920c…, 156.0.8+g426920c+chromium-156.0.8078.48, symbol_level=1), which is the right provenance for a binary built outside obs-rust infrastructure. Recording the dSYM removal and the codesign asymmetry as facts rather than smoothing them over is the correct treatment.
  • PROVENANCE.md's summary row and note 2 agree with the JSON, including the honest x86_64 "pre-merge script content" gap.

One thing to fix after this merges, not before: the 8078 tag already points at this PR's head (64b2390), which will not be the commit that lands (this repo merges by squash elsewhere; the branch head is on a PR branch). Retarget the tag to the merged commit on the default branch afterwards, or back to 63a641af5 if this is rejected — the tag is the record's entry point and should name a commit on the default branch.

No blockers. Merging and retargeting the tag to the squash commit.

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