Repository navigation
ci: The AppImage QSV switch is false when the input is absent - #1034
Merged
Merged
Conversation
…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
enabled auto-merge
October 16, 2026 07:53
Member
Author
|
The
In every case |
This was referenced Oct 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes 1033. Found while verifying #941.
Bug: a dispatched
release-rust.yaml(verify_onlyorrepair) callsappimage.yamlwith the caller'sworkflow_dispatchevent.qsvis not aworkflow_callinput, sogithub.event_name == 'workflow_dispatch' && inputs.qsvevaluates to'', andbuild.pyexits withargument --qsv: expected true or false, got ''(runs 38867987465, 38834698892).Fix:
QSV: ${{ inputs.qsv == true }}. That istrueonly for an explicit dispatch input andfalseotherwise.RED → GREEN with GitHub's own expression engine (
@actions/expressions, the existing harness inci/test_appimage_rust_expression.py, now probingQSVtoo, across 4 events × 4 input states):workflow_dispatchwithqsvabsent or empty gives''. This is the CI failure.trueorfalse, and only an explicittrueturns QSV on.This PR's own AppImage run (the
pull_requestpath) builds the AppImage. A verify-only release run for #941 will rerun once this merges.