Repository navigation
build(cef): pin macOS to the 8078 archives (#2418) - #2994
Conversation
RED: the macOS targets still resolve to 7871 in CMakePresets.json, and
cmake/common/buildspec_common.cmake ignores the per-platform "versions" /
"releases" overrides that setup_ubuntu already honours, so macOS could not
move to the 8078 archives obs-rust publishes on the mirror.
uv run --no-project python -m unittest ci.test_cef_pin
FAILED (failures=3)
Refs #2418
The 8078 macOS archives are on the obs-rust/cef mirror (built by @nathan-v, their SHA-256s re-checked against the release digests), so the two macOS targets can leave 7871: - buildspec_common.cmake reads versions.<platform> / releases.<platform> with a fallback to version / baseUrl, the same overrides setup_ubuntu already applies for Linux. The release tag replaces baseUrl's last segment, so a target can name a newer branch than version does. - CMakePresets.json pins macos-arm64 and macos-x86_64 to 8078 with the release's digests: arm64 2ddd78dd796af956728984747aaba4d859658354f00c6035be975b9f322f95cb x86_64 75281c862a59321bf83735926efeafed20e816cfa07fcccdf20a2d1748c539d0 GREEN: uv run --no-project python -m unittest ci.test_cef_pin (from ci/) passes 11 tests, and both asset URLs answer 200. Windows x64/arm64 and ubuntu-aarch64 keep 7871, so ci/cef_support.py still fails on those three pins — that is #2417 and the Linux aarch64 slice, not this change. Refs #2418
|
Validation run: Watching that lane; the PR stays out of the queue until it is green. |
zackees
left a comment
There was a problem hiding this comment.
Coordinator review: LGTM. RED→GREEN shown (ci/test_cef_pin.py 3 failures → OK); the CMake reader falls back to version/baseUrl when versions/releases lack the platform, so Windows/aarch64 paths are unchanged; hashes match the 8078 release digests. Pin-only change, no ledger line needed. The macOS app lane (schedule) is the end-to-end proof; queue on green.
|
Coordinator: the Likely cause: the obs-rust 8078 archive has a top-level directory ( |
Moves the two macOS CEF targets from 7871 (Chromium 150, end of extended support) to 8078 (Chromium 156), the archives
obs-rust/cefpublishes on the mirror. Closes the pin half of #2418; the build half landed earlier.RED
fcd0945cc—ci/test_cef_pin.pyholds the macOS targets to the same 8078 floor and mirror URL the Linux pin already meets, and assertscmake/common/buildspec_common.cmakehonours the per-platformversions/releasesoverrides:GREEN
2649a8fcd:cmake/common/buildspec_common.cmakereadsversions.<platform>andreleases.<platform>with a fallback toversion/baseUrl— the same overrides.github/scripts/utils.zsh/setup_ubuntualready applies for Linux. The release tag replacesbaseUrl's last segment, so a target can name a newer branch thanversiondoes.CMakePresets.jsonpinsmacos-arm64andmacos-x86_64to 8078 with the 8078 release's digests.The hashes are the digests GitHub reports for those assets (
gh api repos/obs-rust/cef/releases/tags/8078):2ddd78dd…f95cb(arm64),75281c86…539d0(x86_64) — the same values @nathan-v posted with the archives.What this does not cover
Windows x64/arm64 and
ubuntu-aarch64keep 7871, soci/cef_support.pystill fails on those three pins. That is #2417 and the Linux aarch64 slice (#1864), not a regression here — the scheduledCEF Chromium Support 🌐job goes from five stale pins to three.Validation note
Local
./lintcannot pass on this host for an unrelated reason:ci/test_check_changes.pyfails withgit: command not foundinside its sandboxedPATHon a clean tree too (I re-ran it with this PR's changes stashed: same failure). PR CI is the gate. The macOS build lane runs withENABLE_BROWSER=true, so it downloads and extracts these archives — that is the end-to-end check for the pin.Refs #2418, #1864, #1092