Skip to content

test: run product-name and meter snapshot through the native graph - #3539

Merged
zackees merged 4 commits into
masterfrom
test/1390-frontend-native-graph
Nov 3, 2026
Merged

zackees merged 4 commits into
masterfrom
test/1390-frontend-native-graph

Conversation

@zackees

@zackees zackees commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

The Cargo native graph omitted the existing product-name and volume-meter snapshot tests, although CMake ran both. Put their unchanged sources and build requirements in the shared inventory so both consumers build and run them. Retain cmocka/includes for product naming, conditional threads and C++17 for the meter, and header invalidation inputs.

Refs #1390. This completes two missing test entries; the broader platform/application parity inventory remains open. No existing C/C++ test, public header or production implementation changes.

  • RED 0f0908b62: the focused contract fails with canonical graph omits targets/test_product_name.
  • GREEN 7cd5369a1, finalized at 0abfa7f19: actual unchanged C/C++ tests compile and pass through Cargo and canonical CMake; the evaluated CTest inventory contains exactly both names.
  • Keep a registration guard in the routine gate. Run the real compilation contract under libobs-integration, alongside the existing remux contract in the two native Qt SDK CI steps that already install cmocka. No new job or dependency is added.
  • Local validation: focused compilation contract passes (3.81 s); independent reviewer ran both new tests successfully; ./lint passes (68.2 s). The first local GREEN attempt exposed a missing host pkg-config path; the completed run uses the installed cmocka package. PR CI remains the merge gate; no attestation is claimed.
  • Test cost: the native compilation contract is covered by the existing native_build::* budget exception. On this Linux host, over 20 runs at reduced parity, the real compilation contract takes at most 4.16 s and peaks at 78,860 KiB RSS; the registration guard takes at most 0.01 s and peaks at 9328 KiB over 20 runs. The Rust test creates no threads; the unchanged meter executable starts its existing two threads.

The Cargo parity inventory gains these two unchanged native tests; existing Tier 2 coverage remains intact. Rust implementation/layout differential tiers and wire-protocol Tier 4 do not apply to this test-inventory change. Linux real compilation is validated locally; the selected native macOS and Windows Rust jobs each explicitly report the new compilation contract passing (jobs 125803236550 and 125803236463, run 41602112601). Complete app/streaming parity is not claimed.

@zackees
zackees marked this pull request as ready for review November 3, 2026 08:32
@zackees
zackees added this pull request to the merge queue Nov 3, 2026
@zackees

zackees commented Nov 3, 2026

Copy link
Copy Markdown
Member Author

Handed off to the coordinator. CI Gate passed at 0abfa7f; all 42 reported PR checks completed successfully. Pinned-head enqueue is confirmed by isInMergeQueue=true, position 1, state QUEUED.

The new contract explicitly passed in both native macOS and Windows Rust jobs (125803236550 and 125803236463, run 41602112601). Local actual Cargo/CMake compilation and execution, 20-run test-cost measurements, full lint and the sole independent review passed. The two existing C/C++ tests and public headers remain unchanged. Refs #1390: this closes two Cargo inventory gaps; the broader application/platform parity issue remains open.

Merged via the queue into master with commit 2755fdd Nov 3, 2026
45 checks passed
@zackees
zackees deleted the test/1390-frontend-native-graph branch November 3, 2026 08:48
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