Skip to content

cef: Pin Linux x86_64 to the 8078-r2 rebuild with line tables (#2363) - #2474

Merged
zackees merged 2 commits into
masterfrom
cef/2363-8078-r2
Oct 26, 2026
Merged

zackees merged 2 commits into
masterfrom
cef/2363-8078-r2

Conversation

@zackees

@zackees zackees commented Oct 26, 2026

Copy link
Copy Markdown
Member

Fixes #2363

Change

obs-rust/cef 8078-r2 is CEF 8078 rebuilt with symbol_level=1, so libcef.so carries .debug_line. The Flatpak Saved Profile job (ci/flatpak_runtime.py) needs that table for GDB to resolve info line cef_version_info.

The asset in that release is still named cef_binary_8078_linux_x86_64.tar.xz, so the release tag and the file version now differ:

  • CMakePresets.json: a new per-target releases map (ubuntu-x86_64: 8078-r2) replaces the release segment of the URL. versions still gives the file name and the branch the floor checks read. The ubuntu-x86_64 hash moves to dc463c36….
  • .github/scripts/utils.zsh/setup_ubuntu: the jq reads .releases[$target] // $v for the URL tag.
  • ci/cef_support.py: the Flatpak URL regex accepted only /download/<digits>/. With 8078-r2, the Flatpak would silently have dropped out of the version-floor check. flatpak_branch() now reads <branch>-r<n> as its branch.
  • Flatpak manifest: the URL and sha256 now point at 8078-r2.
  • ci/data/cef-linux-x86_64-files.txt: I downloaded the 8078-r2 archive and listed its Release/Resources entries. They're identical to today's list; only the sha256 line changes.

Tests

  • RED (ci/test_cef_pin.py, ci/test_cef_support.py):
    • ubuntu_url mirrors the release override, and setup_ubuntu must read .releases[$target];
    • only ubuntu-x86_64 may override;
    • a Flatpak URL with 8078-r2 still yields branch 8078.
    • Two fail on master: the missing jq key, and flatpak_branch.
  • GREEN: test_cef_pin, test_cef_support and test_cef_linux_files pass; ./lint is clean.
  • The downloaded archive's sha256 matches the release notes and GitHub's digest.

Acceptance is the Flatpak Saved Profile job resolving the line, which the Flatpak lane on master or a scheduled run shows. I didn't run a Flatpak build here.

…2363)

obs-rust/cef 8078-r2 is CEF 8078 rebuilt with symbol_level=1, so libcef.so
has .debug_line and the Flatpak Saved Profile job's GDB can resolve
cef_version_info. The file in the release is still
cef_binary_8078_linux_x86_64.tar.xz, so CMakePresets.json gets a per-target
releases map for the URL's tag; versions keeps the file name and the branch
the floor checks read. setup_ubuntu's jq reads it, cef_support.py counts a
<branch>-r<n> Flatpak URL as its branch, and the Flatpak manifest points at
8078-r2. The file list is unchanged (checked against the new archive);
only its sha256 line moves.
@zackees

zackees commented Oct 26, 2026

Copy link
Copy Markdown
Member Author

Independent check for this PR: I downloaded 8078-r2/cef_binary_8078_linux_x86_64.tar.xz. Its sha256 is dc463c36…0ac9c, which matches. Its Release/ and Resources/ top-level listing is identical to ci/data/cef-linux-x86_64-files.txt. I also ran the patched jq by hand: ubuntu-x86_64 resolves to …/download/8078-r2/cef_binary_8078, and macos-arm64 still resolves to …/7871/cef_binary_7871.

@zackees

zackees commented Oct 26, 2026

Copy link
Copy Markdown
Member Author

Coordinator review: the hashes match the published asset (dc463c36…, GitHub's digest agrees) in all three places. A per-platform releases key keeps the file name while the tag changes, and the pin test covers the r rule. Acceptance is the Flatpak Saved Profile GDB check, which runs on master or dispatch, not on this PR; I'll check it after the merge. Queuing.

@zackees
zackees added this pull request to the merge queue Oct 26, 2026
Merged via the queue into master with commit 917094b Oct 26, 2026
33 checks passed
@zackees
zackees deleted the cef/2363-8078-r2 branch October 26, 2026 11:32
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.

ci: Flatpak Saved Profile fails on master: GDB can't resolve CEF source lines from the Debug extension

1 participant