Skip to content

ci: changes to test/cmocka skip the obs-build native test graph contract #1891

Closed

Description

@zackees

ci/rust_scope.py selects Rust tests from changed paths, but test/cmocka/ (including test/cmocka/build/test-graph.json) selects nothing. obs-build's graph contract (native_test_graph_replaces_legacy_utility_definitions, run from obs-tests-app) asserts the per-suite target counts in that graph, so a PR that adds a cmocka test passes its own CI and leaves master failing the contract. The next PR that touches rust/obs-build gets ejected from the merge queue.

This happened twice on 2026-10-23: #1879 (core 139 → 140) and #1883 (140 → 141) both ejected #1877.

Fix: map test/cmocka/ to the obs-build crate in ci/rust_scope.py (its dependents, including obs-studio-rust, follow), with a case in ci/test_rust_scope.py.

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