Skip to content

bug: AppImage: absent Rust input selects C-only builds on push and PR events #671

Closed

Description

@zackees

Problem

.github/workflows/appimage.yaml's Configure step uses inputs.rust_libobs != false after #670. On push, pull_request and tag events, this input is absent. GitHub's loose equality treats null/empty strings as numeric 0, the same as Boolean false, so the expression selects a C-only AppImage despite its comment promising that an unset input means Rust is on.

Class: release configuration regression. The direct push/PR/tag AppImage path is affected; the daily workflow's explicit Boolean true still works.

Reproduction and evidence

GitHub's official @actions/expressions evaluator 0.3.61 evaluates the actual merged YAML expression across typed contexts. Missing and empty inputs return false for every tested event; explicit false returns false and explicit true returns true.

The regression test already prepared under the #664 AppImage input work fails 8 subcases (test_absent_input_defaults_to_rust), while both explicit-Boolean tests pass. The validated platform change #664 has merged; this distinct regression is split into its own PR.

Proposed fix and validation

Compare the formatted input with the string false: format('{0}', inputs.rust_libobs) != 'false'. This distinguishes absent/empty input from explicit false, preserving C-only oracle/test builds and enabling Rust by default. The actual evaluator's 16 typed contexts pass after this fix. Keep the explicit Rust daily caller and workflow_call default true.

Required evidence: RED then GREEN commits, focused official-engine evaluation, unchanged workflow input defaults, mandatory local gates, and packaged AppImage/version validation.

Sources: https://docs.github.com/en/actions/reference/workflows-and-actions/expressions and https://github.com/actions/languageservices/tree/main/expressions.

Refs #635 and #670.

Activity

  1. zackees commented on Oct 14, 2026

    @zackees
    MemberAuthor

    Claiming: #671, the absent-input AppImage Rust default regression discovered during #664's input validation.

    1. Carry the actual GitHub-engine RED/GREEN characterization already prepared under that claim into a separate, single-unit PR (validated release: Build and validate the Windows ARM64 beta package #664 has merged).
    2. Preserve explicit false for C-only test/oracle builds and the explicit Rust daily caller.
    3. Finish mandatory gates, isolate/rebase the branch onto master, then push the stamped head and validate the packaged AppImage/version path.

    The scoped PR will open as soon as the live gate finishes. The only other active claim is #630.

  2. added
    claimed
    on Oct 14, 2026
  3. zackees commented on Oct 14, 2026

    @zackees
    MemberAuthor

    Fixed by merged #672 at exact head 2d795859cedbd66630350b14b5c3524d9f146e7e. Fresh local gates and actual AppImage run 38506716441 pass. The real absent-input PR configure environment enables Rust; the called workflow has one Boolean Rust input. All four distro saved-profile scenarios pass. Debian/Arch/Fedora record moving screen/camera regions and microphone audio; Ubuntu 22.04 explicitly runs without a recording because its test producers are unavailable. No remaining work for this input-regression issue; #635 retains the separate packaging/identity scope.

  4. removed
    claimed
    on Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions