Skip to content

ci: The AppImage QSV switch is false when the input is absent - #1034

Merged
zackees merged 2 commits into
masterfrom
ci/appimage-qsv-workflow-call
Oct 16, 2026
Merged

zackees merged 2 commits into
masterfrom
ci/appimage-qsv-workflow-call

Conversation

@zackees

@zackees zackees commented Oct 16, 2026

Copy link
Copy Markdown
Member

Fixes 1033. Found while verifying #941.

Bug: a dispatched release-rust.yaml (verify_only or repair) calls appimage.yaml with the caller's workflow_dispatch event. qsv is not a workflow_call input, so github.event_name == 'workflow_dispatch' && inputs.qsv evaluates to '', and build.py exits with argument --qsv: expected true or false, got '' (runs 38867987465, 38834698892).

Fix: QSV: ${{ inputs.qsv == true }}. That is true only for an explicit dispatch input and false otherwise.

RED → GREEN with GitHub's own expression engine (@actions/expressions, the existing harness in ci/test_appimage_rust_expression.py, now probing QSV too, across 4 events × 4 input states):

  • RED: workflow_dispatch with qsv absent or empty gives ''. This is the CI failure.
  • GREEN: every case is true or false, and only an explicit true turns QSV on.

This PR's own AppImage run (the pull_request path) builds the AppImage. A verify-only release run for #941 will rerun once this merges.

…ched release (RED)

release-rust.yaml dispatched by hand (verify_only, repair) calls
appimage.yaml as a reusable workflow: github.event_name is the caller's
workflow_dispatch, but qsv is not a workflow_call input, so the QSV
expression evaluates to '' and build.py fails with "argument --qsv:
expected true or false, got ''" (run 38867987465).
inputs.qsv == true is true only for an explicit dispatch input, so a
release-rust.yaml run dispatched by hand passes --qsv false instead of
--qsv '' and its AppImage build configures again.
@zackees
zackees enabled auto-merge October 16, 2026 07:53
@zackees

zackees commented Oct 16, 2026

Copy link
Copy Markdown
Member Author

The Test on debian:trixie-slim failure ("built with ENABLE_RUST_LIBOBS but does not report OBS-Studio-Rust") is not from this change; it already affects master's AppImage container tests:

  • run from 07:05 (dispatch of feat/1003-gpu-light-by-cpu, without this PR): all four distro tests fail.
  • run from 06:39 (appimage/glibc-2.28 PR): all four distro tests fail.

In every case Build AppImage passes, and this PR changes only how --qsv is passed to that build's configure step. The breakage looks related to the in-progress manylinux / glibc-2.28 AppImage base. The merge gate (CI Gate) does not include the AppImage workflow.

@zackees
zackees added this pull request to the merge queue Oct 16, 2026
Merged via the queue into master with commit e65f521 Oct 16, 2026
30 of 34 checks passed
@zackees
zackees deleted the ci/appimage-qsv-workflow-call branch October 26, 2026 15:42
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