Skip to content

test: share portable virtual microphone routing native graph - #3817

Closed
zackees wants to merge 2 commits into
masterfrom
test/1390-win-vmic-native-graph
Closed

zackees wants to merge 2 commits into
masterfrom
test/1390-win-vmic-native-graph

Conversation

@zackees

@zackees zackees commented Nov 7, 2026 •

Copy link
Copy Markdown
Member

Cargo native validation omits the unchanged virtual microphone routing suite even though its routing core runs on every host. Register test_win_vmic_route once in the canonical Cargo/CMake graph, preserving unconditional cmocka-only linkage, plugin include path and all four original cases. Track its routing header for native rebuilds and retire only the duplicate CMake registration.

Refs #1390. Existing C tests, public headers, WebSocket and workflows remain unchanged. This bounded inventory repair does not complete broad evaluated inventory/application/profile/protocol/platform/export parity.

Validation:

  • RED 7e8d71672: canonical_win_vmic_route_is_registered fails “canonical graph omits test_win_vmic_route” (local-test-SRKDjm.log; Soldr 20261107T051424Z-home-niteris-dev-obs-rust-obs-studio2.log).
  • GREEN 06682e480: exact sources/includes/cmocka/header inputs, original test defaults, removal of duplicate CMake definitions and Linux/macOS/Windows graph selection pass (local-test-iQ11hZ.log).
  • Actual GCC and Clang Cargo/CMake replay both pass canonical_caption_and_frontend_utility_tests_run_unchanged: all seven selected unchanged executables run through each consumer, including the four virtual microphone cases, with matching evaluated CTest inventory (local-test-rEbfX9.log and local-test-QFm9Jv.log). cmocka comes from the installed Nix package prefix.
  • Eight sorted graph/shared-list/slice guards pass (local-test-swXSV7.log); whole-graph legacy replacement contract passes (local-test-nXjQI2.log). One independent primary clud-review is clean and independently passes the focused registration test.
  • Full ./lint --fix passed earlier stages, then exited 1 on the documented Soldr refusal to build the nightly-2026-05-28 Dylint driver under clud (local-test-sEZcQl.log; final three lines inspected). No workaround/toolchain change; hosted Fast Gate remains required.
  • Test cost: registration longest 0.078 s, peak RSS 9,400 KiB over 25 reduced debug runs; no own threads. Expanded existing native runtime contract retains its named real-compilation timeout exception and compiler/CMake subprocesses.

Tiers: graph registration repair, no implementation port. This standalone helper links neither libobs implementation and remains in both OFF/ON selections. Existing dual-core ABI/export, Tier 2 and Rust differential coverage remain intact. Tier 4 is inapplicable. Runtime evidence is Linux/GCC and Linux/Clang; no native macOS/Windows runtime claim. The inherited hosted utility selectors still name the older contract; docs now qualify this limit. Full ./unittest is deferred to PR CI because its wrapper prunes targets, forbidden by this assignment.

Source inventory at this head: 413 canonical targets/tests; 320 distinct literal executable names still outside the canonical graph, plus seven variable-based declaration sites. These are unevaluated source counts, not applicable/passing coverage. Sibling #3812/#3813 and other pool slices are independent; no target pruning or soldr gc.

@zackees
zackees marked this pull request as ready for review November 7, 2026 05:24
@zackees
zackees enabled auto-merge November 7, 2026 05:24
@zackees

zackees commented Nov 7, 2026

Copy link
Copy Markdown
Member Author

Handed off to the coordinator. Verified pushed GREEN head 06682e4 and pinned auto-merge enabled at 2026-11-07T05:24:15Z. Actual GCC/Clang Cargo/CMake replay, focused registration, eight graph guards and independent primary review pass. Full lint reached only the documented Soldr Dylint-driver refusal after earlier stages passed. Hosted Fast Gate/merge remain unverified; manager should start its checkout-free chaperone. Returning slot clean to detached master; no target pruning or soldr gc.

@zackees

zackees commented Nov 7, 2026

Copy link
Copy Markdown
Member Author

Superseded by rollup #3832; all commits and assertions retained, branch kept.

@zackees zackees closed this Nov 7, 2026
auto-merge was automatically disabled November 7, 2026 06:18

Pull request was closed

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