Repository navigation
Description
Follow-up to #2418 (and the binary side of #1864). The macOS archives are published and the pin can proceed, but the mirror's releases identify no source at all, and their tags point somewhere unrelated. That is the thing to rectify before more platforms land on this release.
What is actually wrong
- All three tags resolve to the same commit, and it has nothing to do with any archive.
refs/tags/7871 -> de09a29b1334 (commit)
refs/tags/8078 -> de09a29b1334 (commit)
refs/tags/8078-r2 -> de09a29b1334 (commit)
de09a29b1334 is docs: link the obs-rust Constitution, 2026-10-09, the tip of the default branch 6533-fix-stutter-and-osr-extra-info. Anyone who clicks a release tag gets an unrelated docs commit. The release bodies say as much — "The tag points at the default branch only because GitHub requires a target" — which is honest, but it means the tag carries no information.
- The real source is named only inside another repository's shell script. Both recipes fetch upstream CEF directly:
recipes/cef/linux/build.sh,recipes/cef/macos/build.sh(obs-rust/obs-studio-libs):AUTOMATE_URL="https://raw.githubusercontent.com/chromiumembedded/cef/${BRANCH}/tools/automate/automate-git.py", run with--branch=8078 --checkout=426920c33ef22551e0b8f48cf343d623ac25642d.
So the source of every archive is chromiumembedded/cef@426920c33ef22551e0b8f48cf343d623ac25642d, recorded in a variable in a recipe in a sibling repo. The only trace inside the artefact itself is CEF_VERSION "156.0.8+g426920c+chromium-156.0.8078.48" / CEF_COMMIT_HASH in include/cef_version.h. Nothing in obs-rust/cef states it. Note also that ${BRANCH} is a moving upstream ref while the recipe is mutable — the pin exists only if you read the recipe at the right commit.
-
The fork's own history is stale and unrelated to what ships.
obs-rust/cefis not a GitHub fork (fork: false, no parent);masterlast moved 2021-10-05, the default branch is a 6533 line, and the branches are older CEF lines (3770,4638,4951,5060,6261,6533) plus patch branches (MediaHandler,hack-and-a-half,jim-system-freeze-workaround,on-accelerated-paint2,*-shared-textures). Its README is upstream CEF's boilerplate and does not say what the OBS-specific patches are for. -
No recipe applies any patch from that repo. The 8078 recipes call
automate-git.pyand nothing else. So either the OBS-specific patches the fork exists for are absent from the 8078 archives — a functional question forplugins/obs-browser, which is what 7871 was carrying — or they were upstreamed, or they were silently dropped. Nothing on the mirror records which. This is the part I could not answer from the outside and it should not stay unanswered.
Why it matters
- Not reproducible from the release. Rebuilding an archive requires finding a recipe in a different repo and trusting a variable in it; the mirror's own metadata asserts nothing about its contents.
- A pinned hash has no root.
CMakePresets.jsonpins a sha256 that nothing ties to a named source revision. Part of the answer is attested builds (cef: Build CEF 8078 for macOS arm64 and x86_64 on a Mac (part of #1864) #2418 discussion), but the source record is independent of that and cheaper. - Runtime parity is unstated. Whether the shipped CEF carries the fork's patches decides what
obs-browsercan rely on, and today that is unknowable from the release.
What "rectified" means
Acceptance criteria, in order of cost:
- Every archive states its source. Upstream repo + exact commit, the fork patch commit in use (or explicitly
none), and the recipe repo + commit that produced it — in the release body and in a file inobs-rust/cef(e.g.PROVENANCE.mdor<branch>.json) together with the sha256s. - The tags mean something.
7871,8078and8078-r2either move to a commit that records that build (e.g. a branch whose sole content is the provenance manifest for that release) or are dropped in favour of the manifest. A tag must never resolve to an unrelated docs commit. - The source artefact is published or its absence is stated. The CEF build produces a source archive (
automate-git.pywritescef.tar.gz); attach it to the release with its sha256, or record why not. BSD-3 does not require it — traceability does, and it is the difference between "a pinned binary" and "a build someone can repeat". - The patch question is answered in writing. If the fork's patch branches must be in the shipped CEF, the recipe needs a pinned patch step against an
obs-rust/cefcommit; if they are not needed, say so and close the question. If 7871 carried them and 8078 does not, that is a regression to track separately. - A gate keeps it from drifting. One test (obs-studio-libs, alongside the CEF recipes) asserting that each release tag resolves to a commit whose manifest lists that release's assets and hashes, and that every asset's sha256 appears in the manifest. Failing today, passing after the manifest lands.
Scope of the first PR
The manifest and the release-body record for the three existing releases — no rebuild, no new work on the artefacts. Moving the tags and answering the patch question can follow as separate changes.
Flagged honestly
Verified through the API: the tag targets, branch list, master/default-branch heads, the recipe lines above, and the cef_version.h contents. Not verified: whether a source tarball still exists for any published build, and whether the 7871 archives were built with the fork's patches — the 7871 release describes itself as a mirror of upstream OBS's archive, which would make its patch status different from 8078's.
Activity
zackees commentedon Oct 27, 2026
Claiming: the CEF release provenance record (first PR: the manifest + release-body record for the three published releases — no rebuild).
Plan (one PR to
obs-rust/cef):PROVENANCE.mdinobs-rust/ceflisting, for each release, the upstreamchromiumembedded/cefcommit, the obs-rust/cef patch commit in use (ornone), the producing recipe repo + commit inobs-rust/obs-studio-libs, and each asset's sha256.I verify the sidebar is empty and no sibling branch exists before proceeding; if a sibling takes it first I will release.
zackees commentedon Oct 27, 2026
First step landed (criterion 1 of 5). Worked in the existing
~/dev/obs-rust/cefcheckout; nothing merged.PR: obs-rust/cef#1 — adds
PROVENANCE.md, base6533-fix-stutter-and-osr-extra-info, one file, left open for the maintainer. The three published release bodies now carry the same record as an appended section (release bodies are metadata and were edited directly so the record is live now rather than after merge).What the manifest names, per your criteria:
8078and8078-r2arechromiumembedded/cef@426920c33ef22551e0b8f48cf343d623ac25642d(156.0.8+g426920c+chromium-156.0.8078.48).7871is a byte-for-byte mirror of upstream OBS's archive and is recorded as exactly that — no recipe, no upstream commit to name. Impacts your criterion 1 for the two built releases; the7871gap is inherent to it being a mirror.8078→recipes/cef/linux@e653bfb;8078-r2→ the same recipe @75bdc03; macOS →recipes/cef/macos. Every asset's sha256 is listed.automate-git.pyand nothing else. So the answer to your criterion 4 is "not present in any published archive"; whether that is correct forobs-browseris the open question, and I have not tried to answer it.Three gaps recorded rather than papered over, one of which corrects the issue text:
recipes/cef/linux/build.shruns--branch=8078with no--checkout(only the macOS recipe pinsCHECKOUT=426920c…). The commit actually built is knowable only from theCEF_VERSIONstring inside the archive.recipes/cef/macos/first appears at44f2099(2026-10-26), after the8078macOS archives were built by @nathan-v, so those archives have no attributable recipe commit;5d80772is the closest named revision.cef.tar.gz) is attached to any release, and whether one still exists is not recorded.Not yet done — your criteria 2, 3, 5, which the issue scoped as follow-ups: the tags still resolve to
de09a29b1(the docs tip of the default branch); nocef.tar.gzis published or its absence explained; and there is no drift gate. The first two are cheap once the manifest is merged; I would take the tag move next if you want it in the same claim, or release otherwise.zackees commentedon Oct 27, 2026
Coordinator tick: obs-rust/cef#1 is merged (squash
330e069, 2026-10-27), not left open — the worker's "open for the maintainer" note is superseded.obs-rust/cefhas no PR CI, so the coordinator review merged it as a merge-local change after verifying the content against the artefacts:7871/8078/8078-r2releases;e653bfb,75bdc03,44f2099,5d80772exist inobs-studio-libswith the subjects the file quotes;recipes/cefapplies a patch (git grepforgit am/patch -p/applyfinds nothing);Three factual corrections went in as
e8442de2ebefore the merge:8078Linux was built withsymbol_level=0(theGN_DEFINESinrecipes/cef/linux/build.shate653bfb) — the line tables are8078-r2, so the file no longer implies the plain8078archive has them.8078macOS archives' symbol level is now recorded as unknown, because the recipe that setssymbol_level=1postdates them (the file's own note 2).CMakePresets.json" is 5 of 6, not 6 of 6:ubuntu-x86_64now pins the8078-r2archive (dc463c…), so the7871linux x86_64 hash is recorded inPROVENANCE.mdalone.So criterion 1 is done and the remaining work here is what the issue already scoped as the follow-up: moving the three tags off the unrelated docs commit
de09a29b1, and — per the file's note 3 — deciding whether any archive should carry a patch from a branch ofobs-rust/cef(no published archive does today). Neither needs a claim from this issue's first PR.zackees commentedon Oct 28, 2026
Continuing: criterion 2 — the three release tags. The manifest record from PR obs-rust/cef#1 is merged, and both the issue and the coordinator tick named the tag move as the next step, so I am taking it in the same claim (no rebuild, no new artefacts).
Plan (one PR to
obs-rust/cef, unmerged, tags retargeted once the commits are onorigin):releases/<tag>.json— a machine-readable manifest per release (upstream repo + commit, recipe repo + commit, patch commitnull, every asset's sha256), written as three commits so each tag can point at its own record.7871,8078and8078-r2onto those commits; none resolves tode09a29b1afterwards. Release assets and bodies stay attached to the tag name.PROVENANCE.mdthat says a tag carries no build information.Criterion 5 (the drift gate in
obs-studio-libs) is the follow-up after this lands — it can only pass once the tags mean something. Criterion 3 (source tarball) and 4 (the patch question) stay open.zackees commentedon Oct 28, 2026
Criterion 2 done — the tags now point at each release's own manifest. PR obs-rust/cef#2 (open, unmerged, base
6533-fix-stutter-and-osr-extra-info), and the tag move is live because tags are release metadata rather than code.What the tags are now
7871de09a29b1334(docs: link the obs-rust Constitution)10d4c3c835— addsreleases/7871.json8078de09a29b133463a641af5d— addsreleases/8078.json8078-r2de09a29b13347c21ce6851— addsreleases/8078-r2.jsongit show <tag>:releases/<tag>.jsonparses for all three; no tag resolves tode09a29b1any more.What the manifests name, per release: upstream
chromiumembedded/cefcommit (426920c33ef22551e0b8f48cf343d623ac25642dfor8078and8078-r2), the recipe (recipes/cef/linux@e653bfbfor8078, @75bdc03for8078-r2;recipes/cef/macos@5d80772as the closest named revision for the two macOS archives, with the "postdates the archives" caveat inline),patch_commit: nullwith the note that no recipe applies a patch from any branch of this repository, and each asset's sha256/platform/arch/builder.7871's manifest states that no upstream commit is nameable because it is an upstream binary mirror, rather than inventing one.Verified, not assumed
digestof the corresponding release asset: 11 of 11.78716,80783,8078-r21 — the releases are still attached to their tag names.PROVENANCE.mdthat said a tag "carries no build information" is replaced by the new layout; each release body now points at its ownreleases/<tag>.jsoninstead of at the default branch.7871body: it claimed all six sha256s matchobs-studioCMakePresets.json; it is five of six (the linux x86_64 archive is no longer pinned there — that platform builds from8078-r2). That matches thePROVENANCE.mdcorrection from the coordinator tick.Still open on this issue
cef.tar.gz) on any release; whether one still exists is unrecorded.obs-browseris a functional question.obs-studio-libsnext to the CEF recipes, and this worker has no local checkout of that repository (obs-studio3-externdoes not exist; the two copies present belong to other workers), so I am leaving it rather than cloning into a sibling's cache. Taking it is a clean unit for whichever worker owns that checkout.Handed off to the coordinator — nothing in #2 needs a rebase, and
obs-rust/cefhas no PR CI.zackees commentedon Oct 28, 2026
Criterion 5 also opened: obs-rust/obs-studio-libs#21 (open, unmerged), correcting what I said above — I cloned the repository into this worker's own directory (
~/dev/obs-rust/obs-studio3-extern/obs-studio-libs, a different repository, so no other worker's cache was touched) rather than leaving the gate for someone else.The gate is
tests/test_cef_release_provenance.py: for every published release it resolves the tag to its commit, fetchesreleases/<tag>.jsonat that commit, and asserts the manifest names that release, lists exactly its assets, and has every sha256 equal to the digest GitHub computes.Evidence: RED on the pre-move commit
de09a29b1(all three tags 404 on their manifest), GREEN now (all three serve their own manifest, 11 of 11 digests match), full suiteuv run --group dev pytest -q25 passed,ruff checkandruff format --checkclean. The GitHub and manifest documents are parsed inobs_studio_libs/model.pybecause that repository forbids JSON handling anywhere else (tests/test_no_dict_access.py).Both PRs are left unmerged for the maintainer/coordinator: obs-rust/cef#2 (manifests + tag move + release bodies) and obs-rust/obs-studio-libs#21 (the gate). Remaining on this issue: criterion 3 (source tarball) and criterion 4 (whether any archive should carry a fork patch).
zackees commentedon Oct 28, 2026
Input for the
8078macOS entries inreleases/8078.json: @nathan-v posted the full provenance bundle on #2418 (comment of 2026-10-28T00:26Z) — sourcechromiumembedded/cef@426920c33ef22551e0b8f48cf343d623ac25642d, Chromiumrefs/tags/156.0.8078.48@d0c02bfad08ec92a6ffcf989e53cd995e6381a4c, bothargs.gnfiles, theautomate-git.pyinvocation, the per-arch ninja tails, andcodesign -dv --verbose=4.Two facts from it that belong in the manifest rather than only in that thread:
PROVENANCE.mdrecords it as unknown for macOS; both of these runs setsymbol_level=1.cef_binary_8078_macos_arm64.tar.xz=2ddd78dd796af956728984747aaba4d859658354f00c6035be975b9f322f95cb,cef_binary_8078_macos_x86_64.tar.xz=75281c862a59321bf83735926efeafed20e816cfa07fcccdf20a2d1748c539d0— both equal thedigestGitHub computes on the8078assets.The signing asymmetry in that bundle is expected, not a gap: arm64 is
adhoc,linker-signedbecause ld64 must ad-hoc sign arm64 output, x86_64 is unsigned because nothing requires it. Do not record it as a missing signing step.Unrelated to the manifest but still open on the macOS archives:
include/cef_version.hhasCEF_SANDBOX_COMPAT_HASH ""in both — asked back on #2418.release: give each published release a manifest and point its tag at …
test: gate the CEF release tags against their provenance manifests (#…
zackees commentedon Oct 28, 2026
Criterion 3/4 progressed: the macOS
8078entries now carry the builder's bundle. PR obs-rust/cef#3 (open, unmerged, base6533-fix-stutter-and-osr-extra-info).What the manifest records now (
releases/8078.json, mirrored inPROVENANCE.md):symbol_level: 1on both macOS assets — no longernull. Bothargs.gnfiles printedsymbol_level=1; the dSYM directory was removed before packing, so line tables are in the binaries and no debug-symbol archive is attached.refs/tags/156.0.8078.48@d0c02bfad08ec92a6ffcf989e53cd995e6381a4con both assets.buildobject per asset:host,xcode27.0 (27A266a),gn_defines, theautomate-git.pyargv (--branch=8078 --checkout=426920c… --arm64-build/--x64-build),extra_env(CEF_ENABLE_AMD64=1,GN_OUT_CONFIGS=Release_GN_x64on x86_64), the printedargs.gn, the ninja tail, wrapper flags, andcodesign.obs-studio-libs44f2099(fix(libobs): get_ue_golomb UB on a truncated SPS (1 << 32) #17), the arm64 log's environment. Caveat recorded, not smoothed: the x86_64 log's extra exports only appear in the recipe at5d80772(docs(rust): document the local gate #18), which merged after both archives were packed, so that run used pre-merge script content — it is recorded against44f2099as the closest named revision, with the caveat inrecipe.noteandgaps.gapsupdated accordingly; the "symbol level not recorded" gap is gone.Verification
gh api repos/obs-rust/cef/releases/tags/8078(all three match).8078retargeted63a641af5→64b239004(this PR's commit), so the record stays readable from the tag:git show refs/tags/8078:releases/8078.json→ both macOS assetssymbol_level1, recipe44f2099;https://raw.githubusercontent.com/obs-rust/cef/64b239004/releases/8078.jsonserves the same document.uv run --group dev pytest tests/test_cef_release_provenance.py→ 2 passed.Codesign asymmetry is recorded as toolchain behaviour, not a defect: the arm64 framework and
libcef_sandbox.dylibare ad-hoc linker-signed (flags=0x20002(adhoc,linker-signed)), while the x86_64 artifacts reportcode object is not signed at all— ld64 signs arm64 output because Apple silicon requires it and imposes no such requirement on x86_64.No rebuild and no new artefacts. Merge is the maintainer's call; if #3 is rejected, the tag can be moved back to
63a641af5. The remaining open item on this issue is the patch-status question (does obs-browser need the fork's patches in the shipped CEF), which is unchanged.release(8078): record the macOS build provenance from the builder's b…
zackees commentedon Oct 28, 2026
Criteria 3 and 4 are answered, with evidence rather than assumption. PR obs-rust/cef#4 (open, unmerged, base
6533-fix-stutter-and-osr-extra-info) records both inPROVENANCE.md.Criterion 4 — the patch question, answered: no fork patch is in either release, and none is needed.
The fork's patch branches are CEF lines 3770–6533, and the only header-level change any of them makes that
plugins/obs-browsercan consume isCEF_ON_ACCELERATED_PAINT2/OnAcceleratedPaint2(8092a57fcadds#define CEF_ON_ACCELERATED_PAINT2 1toinclude/cef_render_handler.hand the CAPI header). I checked the shipped headers themselves:OnAcceleratedPaint(v1)OnAcceleratedPaint27871include/cef_render_handler.hextracted fromcef_binary_7871_macos_x86_64.tar.xz(116 MB, downloaded and inspected)8078chromiumembedded/cef@426920c33ef22551e0b8f48cf343d623ac25642dinclude/cef_render_handler.h(the recipe's own--checkout)So the
7871archives did not carry the fork's patch either: its absence from8078is not a regression, which was the open half of criterion 4.obs-browserat434cc38guards the override with#ifdef CEF_ON_ACCELERATED_PAINT2(browser-client.hpp:150,browser-client.cpp:499) and no CMake file in obs-studio defines that macro, so both releases compile upstream's CEF 6367+OnAcceleratedPaintshared-texture path. If the fork's patches are ever wanted, the recipe needs a pinned patch step against a commit here — stated in the record.Criterion 3 — the source tarball, answered: none was retained, and that is now stated with the reason.
7871is a byte-for-byte mirror of upstream OBS's published binaries (no tarball fetched or produced here). The8078Linux builds ran in bosn container jobs 23 (build) and 31 (pack) and the macOS builds on a contributor's machine; neither build output was retained, so nocef.tar.gzsurvives to attach. Publishing one now would require a rebuild, which the record deliberately does not claim.Where all five criteria stand
releases/<tag>.json) — done (docs: Rust port testing policy #2).Nothing in the acceptance list is open now. The only artefact still unproduced is the source tarball itself, and it cannot be produced without a rebuild, which is outside this issue's stated scope. I have left the issue open rather than closing it — that call is the maintainer's.
zackees commentedon Oct 28, 2026
All five acceptance criteria are now on master; closing.
PROVENANCE.mdand the release body330e069)7871,8078,8078-r2point at each release's own manifest commit, no tag on the docs tipOnAcceleratedPaint2check is recorded)6ffc697),tests/test_cef_release_provenance.pyVerified on
obs-studio-libsmaster just now:uv run pytest tests/test_cef_release_provenance.py -q→2 passed, so the gate is live and green against the current releases rather than only asserted in a comment.The mirror metadata now says what each archive is and where it came from; the remaining CEF risk lives in the upgrade work (#1864, #2417), not here.