Skip to content

obs-build: Count the Qt suite from the graph in the remux queue test - #2355

Merged
zackees merged 1 commit into
masterfrom
coord/qt-suite-count
Oct 25, 2026
Merged

zackees merged 1 commit into
masterfrom
coord/qt-suite-count

Conversation

@zackees

@zackees zackees commented Oct 25, 2026

Copy link
Copy Markdown
Member

Fixes a master regression that is ejecting #2310 from the merge queue.

What

canonical_remux_queue_runs_unchanged (rust/obs-build/tests/native.rs) asserted that the Qt suite builds exactly one test. #2312 added test_profile_import to the qt suite, so on macOS and Windows the test now fails with left: 2, right: 1 at native.rs:129. Master's own lanes don't run the macOS/Windows Rust tests for #2312's paths, so master stayed green. #2310 touches rust/obs-build, which selects those jobs, so its merge group fails there every time. It has been ejected 3 times (latest run 40171262955; jobs Rust Tests 🦀 (macos-26) and (windows-2025-vs2026), same assertion on both).

Fix

Count the qt suite entries in test/cmocka/build/test-graph.json instead of pinning 1. Every Qt test still has to build and run, and the next Qt test won't break the count. The duplicate graph read further down the test is folded into this one. This is the same class of fix as #1896.

RED → GREEN

  • RED: the merge-group log above (macOS and Windows, left: 2, right: 1).
  • GREEN: CI. This machine has no Qt6 pkg-config, so the test stops earlier (native.rs:116) on both master and this branch; the path can't be run locally. ./lint passes.

No C tests or public headers changed. Test-only, so no features-ledger line.

canonical_remux_queue_runs_unchanged pinned the Qt suite at one test.
#2312 added test_profile_import to the suite, so the test fails on
macOS and Windows (left: 2, right: 1). Master's own lanes don't run
it there; it surfaced when #2310, which touches rust/obs-build, was
ejected from the merge queue three times (run 40171262955).

Count the graph's Qt suite tests instead, so every one still has to
build and run and a new Qt test doesn't break the count.
@zackees
zackees enabled auto-merge October 25, 2026 07:27
@zackees
zackees added this pull request to the merge queue Oct 25, 2026
Merged via the queue into master with commit 0f3a859 Oct 25, 2026
32 checks passed
@zackees
zackees deleted the coord/qt-suite-count 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