Skip to content

Record the source of every published CEF archive (PROVENANCE.md) - #1

Merged
zackees merged 2 commits into
6533-fix-stutter-and-osr-extra-infofrom
infra/2674-provenance
Oct 27, 2026
Merged

zackees merged 2 commits into
6533-fix-stutter-and-osr-extra-infofrom
infra/2674-provenance

Conversation

@zackees

@zackees zackees commented Oct 27, 2026

Copy link
Copy Markdown
Member

Refs obs-rust/obs-studio#2674.

Adds PROVENANCE.md, which names the source of every archive published under this repository's Releases, so a pinned sha256 has a named revision behind it:

  • 7871 — the six archives are a byte-for-byte mirror of upstream OBS's CEF 7871 downloads; recorded as such, with no obs-rust recipe and no upstream commit (upstream choice), only the hashes.
  • 8078 linux x86_64 — chromiumembedded/cef@426920c33ef22551e0b8f48cf343d623ac25642d, recipe recipes/cef/linux in obs-rust/obs-studio-libs @e653bfb, no patch from this repo.
  • 8078 macOS arm64/x86_64 — same upstream commit, built by @nathan-v; recipe recipes/cef/macos (see the note on its commit).
  • 8078-r2 linux x86_64 — same upstream commit, recipe @75bdc03 (line tables).

Every asset's sha256 is listed. The file also records the three gaps the issue flagged rather than papering over them: the Linux recipe pins the upstream branch, not a commit; the macOS recipe was committed after the macOS archives were built, so those archives have no exact recipe commit; and no recipe applies a patch from any branch of this repository, so whether the fork's OBS-specific patches are present in the shipped CEF is unanswered.

Scope follows the issue's first-PR line: the manifest and release-body record only — no rebuild, no artefact change. Moving the tags off de09a29b1 (they should not resolve to an unrelated docs commit) is left to a follow-up, as the issue says.

No docs/features.md equivalent applies here (release metadata, not user-visible behaviour).

…674)

Records, for each published release, the upstream chromiumembedded/cef
commit, whether any patch from a branch of this repository is applied, the
producing recipe repo+commit in obs-rust/obs-studio-libs, and every asset's
sha256. Also records the three gaps that remain (branch-not-commit pin in the
Linux recipe, the macOS recipe postdating its archives, and no source tarball).
- The 8078 Linux archive was built from the recipe at e653bfb, whose
  GN_DEFINES sets symbol_level=0; line tables are the 8078-r2 rebuild.
- The 8078 macOS archives' symbol level is not recorded: the recipe that
  sets symbol_level=1 postdates them (this file's own note 2).
- Five of the six 7871 hashes are still pinned in obs-studio's
  CMakePresets.json; ubuntu-x86_64 now pins the 8078-r2 archive, so the
  7871 linux x86_64 hash is recorded here alone.

@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.

Review: the record is right about the source, and three claims needed correcting (now fixed in e8442de)

I verified every statement against the artefacts themselves rather than the wording of the issue.

Hash table — all 11 assets match the releases exactly. I read the server-computed digest of every asset in 7871, 8078 and 8078-r2 and compared each one with the table in PROVENANCE.md: 6/6 for 7871, 3/3 for 8078, 1/1 for 8078-r2. No mismatches.

Obs-studio-libs revisions named in the file exist and their subjects match: e653bfb "CEF 8078 Linux x86_64 recipe with proprietary codecs (#11)" (2026-10-23), 75bdc03 "cef: Build 8078 with line tables (symbol_level=1) (#13)" (2026-10-25), 44f2099 (#17) and 5d80772 (#18), both 2026-10-26 — so note 2's ordering claim (the macOS recipe postdates the archives) holds.

"No recipe applies a patch from a branch of this repository" holds. git grep -i 'patch' -- recipes/cef at 5d80772 finds no git am, no apply, no patch -p: every recipe calls automate-git.py and nothing else.

Release dates match: 7871 2026-10-13, 8078 2026-10-23, 8078-r2 2026-10-26.

Three corrections I pushed as the fixup commit e8442de2e

  1. 8078 Linux was built with symbol_level=0, not 1. The named recipe, recipes/cef/linux/build.sh at e653bfb, sets GN_DEFINES="... symbol_level=0 chrome_pgo_phase=0". This matters because 8078-r2 exists precisely for the line tables; as written the file said the archive it calls 8078 already had them. Fixed, with the r2 cross-reference spelled out.
  2. The 8078 macOS archives' symbol level is not recorded. The only recipe that sets symbol_level=1 postdates those archives by three days — the file's own note 2 says so. "Same upstream commit and codec flags, symbol_level=1" asserted something the record does not support, so it now says the symbol level is unrecorded and why.
  3. "each sha256 matches the hash pinned in CMakePresets.json" is 5/6, not 6/6. 8ffc64d0… (the 7871 linux x86_64 archive) appears nowhere in obs-studio's tree on master; hashes["ubuntu-x86_64"] now pins dc463c…, the 8078-r2 archive. The other five (macos-x86_64, macos-arm64, windows-x64, windows-arm64, and ubuntu-aarch64 = b05cf13b…) still pin the 7871 hashes. Reworded to say five, and to say why the sixth is recorded here alone.

What I did not verify

  • "Built by bosn jobs 23 (build) and 31 (pack)" for 8078-r2 — I have no access to that job history from here, so it stays as the builder's report.
  • The codec flags (proprietary_codecs=true ffmpeg_branding=Chrome) of the macOS archives. That comes from @nathan-v's report; the archives were spot-checked for structure and architecture earlier (#2418), not for a GN argument list.
  • The macOS archives cannot be attributed to a specific obs-studio-libs commit, as the file already says. Fixing that needs the builder's args.gn/automate-git.py invocation, not a doc edit.

Verdict: correct in substance and now correct in detail. Merging, since this repo has no PR CI and the change is one added markdown file.

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