Skip to content

ci: fix the setup_ubuntu parse error from #1948's jq comment - #1988

Merged
zackees merged 2 commits into
masterfrom
fix/setup-ubuntu-quote
Oct 23, 2026
Merged

zackees merged 2 commits into
masterfrom
fix/setup-ubuntu-quote

Conversation

@zackees

@zackees zackees commented Oct 23, 2026

Copy link
Copy Markdown
Member

Every full ci.yml run's Ubuntu 🐧 (OBS-Studio-Rust) build has failed in setup since #1948 (eaa70db), before compiling anything:

setup_ubuntu:32: parse error near `|'
setup_ubuntu:103: unmatched "
::error::    ✖︎ script execution error.

(seen in run 40027816147, job 120668413938)

#1948 added a comment, and replaces baseUrl's release segment, inside the single-quoted jq program in .github/scripts/utils.zsh/setup_ubuntu. The apostrophe ends the zsh quote. This PR rewords the comment without an apostrophe, so the jq program itself is unchanged.

Focused CI fix (coordination.md §4): local RED, then GREEN, pushed together.

  • RED d4cb28a: new ci/test_zsh_scripts_parse.py runs zsh -n on every .github/scripts zsh script ($ZSH, else PATH; skips without zsh). On master: setup_ubuntu:32: parse error near |', FAILED (failures=1)`. All other scripts parse.
  • GREEN 7432582: OK. The jq program run by hand against CMakePresets.json for ubuntu-x86_64 gives 8078;https://github.com/obs-rust/cef/releases/download/8078;Chromium Embedded Framework;fb36df11…;, the CEF build: Linux x86_64 uses CEF 8078 (Chromium 156) with proprietary codecs (#1864) #1948 meant. ./lint: ok.

The Ubuntu app build only runs on schedule/dispatch/release paths, so a ci.yml dispatch on this branch is the end-to-end check. The same run's Flatpak failure (FAILED: plugins/obs-browser/obs-browser.so link) is a separate problem, not addressed here.

RED: setup_ubuntu:32: parse error near `|'. The apostrophe in the comment
#1948 put inside the single-quoted jq program ends the quote, so every
Ubuntu app build stops in setup.
The comment "replaces baseUrl's release segment" sits inside the
single-quoted jq program, so its apostrophe ended the zsh quote and every
Ubuntu app build stopped in setup (setup_ubuntu:32: parse error near `|').
Reword it without an apostrophe; the jq program is unchanged and still
selects CEF 8078 for ubuntu-x86_64.
@zackees
zackees added this pull request to the merge queue Oct 23, 2026
Merged via the queue into master with commit 8ed398b Oct 23, 2026
58 of 60 checks passed
@zackees
zackees deleted the fix/setup-ubuntu-quote branch October 26, 2026 15:44
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