Skip to content

infra: no lane compiles the Wayland host TUs, so a red conversion there lands green #2890

Closed

Description

@zackees

What

No PR lane compiles the Linux host TUs that only exist with ENABLE_WAYLAND=ON. #2885 is the proof: master stayed green through the #2625 ratchet while a default Linux app build was red on nine -Werror=sign-conversion diagnostics in libobs/obs-nix-wayland.c.h, libobs/obs-nix-portal-shortcuts.c.h and libobs-opengl/gl-wayland-egl.c.h. Both were fixed by #2889, but the hole remains: the next ratchet slice (or any plain warning edit) in those files lands green and breaks the AppImage/Flatpak builds.

Where the gap is

It is configured, not accidental: the CI build disables the feature.

.github/workflows/build-project.yaml:1854:
  -DENABLE_AJA=OFF -DENABLE_WEBRTC=OFF -DENABLE_QSV11=OFF -DENABLE_VST=OFF -DENABLE_WAYLAND=OFF \

ENABLE_WAYLAND defaults to ON (cmake/linux/defaults.cmake:6), so a developer's
default cmake build compiles libobs/CMakeFiles/libobs-objects.dir/build/libobs.nix-wayland+.h.c,
libobs.nix-portal-shortcuts+.h.c and libobs-opengl's wayland EGL host, while the lanes skip them: the CI build passes -DENABLE_WAYLAND=OFF, and a Tier 2
build volume from the #2625 replay records ENABLE_WAYLAND:BOOL=OFF in its CMakeCache.txt. libobs/cmake/os-linux.cmake:90 and
libobs-opengl/CMakeLists.txt:16,31 are the only places that add those sources,
all under if(ENABLE_WAYLAND).

Fix

One of:

  • configure the Tier 2 Linux build volume with -DENABLE_WAYLAND=ON and add the
    three unity TUs to the existing -Werror conversion set (the image already
    carries libwayland-dev, libxkbcommon-dev and GIO, which is what makes this
    cheap), or
  • a ci/warning_findings.py replay over the Wayland/portal/PCH sources in the
    lane that already runs the ratchet, pinned by a ci/test_* that fails when the
    wayland TUs are missing from the compile database.

Acceptance

  • A PR that introduces an implicit conversion in libobs/obs-nix-wayland.c.h
    turns that lane red.
  • The lane's compile database contains a libobs.nix-wayland+.h.c and a
    libobs.nix-portal-shortcuts+.h.c entry.

Filed as the follow-up #2885's Fix section asks for; the code half is #2889.

Activity

  1. added
    infra
    on Oct 29, 2026
  2. zackees commented on Oct 29, 2026

    @zackees
    MemberAuthor

    Claiming: investigation

    Map the Wayland lane gap and pick the cheaper of the two fixes in the issue. Plan:

    1. Confirm what the Tier 2 Linux volume records (ENABLE_WAYLAND:BOOL=OFF) and which ci/ self-test already asserts the compile database covers the conversion set.
    2. Draft the RED test that fails while the Wayland/portal unity TUs are absent from the compile database.
    3. GREEN: turn the feature on in the lane (or replay the sources) and record the header/diagnostic counts.
  3. added
    needs-investigation
    on Oct 29, 2026
  4. zackees commented on Oct 29, 2026

    @zackees
    MemberAuthor

    /ready

  5. added
    ready
    and removed
    needs-investigation
    on Oct 29, 2026
  6. zackees commented on Oct 29, 2026

    @zackees
    MemberAuthor

    Opened #2894 (infra/2890-wayland-lane): the Tier 2 lane configures -DENABLE_WAYLAND=ON and drops --without-wayland, pinned by a new ci/test_tier2_wayland_lane.py that fails on master. Compile evidence on a real configure: both unity TUs (libobs.nix-wayland+, libobs.nix-portal-shortcuts+) reach libobs and libobs-c-reference, and the two Wayland ported groups stay out of hybrid.

    It depends on #2889: master still carries the nine diagnostics the lane now reports, so I rebase and queue #2894 once #2889 merges.

  7. zackees commented on Oct 29, 2026

    @zackees
    MemberAuthor

    PR #2894 implements the first fix option: the Tier 2 Linux lane now configures -DENABLE_WAYLAND=ON and drops --without-wayland, so libobs.nix-wayland+.h.c, libobs.nix-portal-shortcuts+.h.c and the wayland EGL host compile at the -Werror conversion flags. Pinned by ci/test_tier2_wayland_lane.py; GREEN is the lane job in run 40847729232 (Rust Tier 2 Linux (build), pass 10m17s, after #2889 landed). Queued for the merge queue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

infraready

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions