Skip to content

test: share guarded PulseAudio monitor decision native graph - #3821

Closed
zackees wants to merge 2 commits into
masterfrom
test/1390-pulse-decisions-native-graph
Closed

zackees wants to merge 2 commits into
masterfrom
test/1390-pulse-decisions-native-graph

Conversation

@zackees

@zackees zackees commented Nov 7, 2026 •

Copy link
Copy Markdown
Member

Cargo-native validation omitted the unchanged PulseAudio monitoring backlog and stream-flag helpers. Share both through the canonical native graph, retaining eleven original C cases, Linux/FreeBSD ENABLE_PULSEAUDIO guards, real PulseAudio linkage, and default timeout/no-skip behavior. Track the helper header/PCH and provide the PulseAudio interface when core monitoring is enabled independently of the source plugin.

Refs #1390. Existing C tests, public headers and WebSocket code remain unchanged. No production behavior, new workflow, or new Rust test executable.

Validation:

  • RED 94382a672: exact registration fails with missing PulseAudio decision target (local-test-mSUlH2.log and Soldr porcelain log).
  • GREEN 15a28fecf: GCC and Clang both pass exact registration and real Cargo/CMake replay of all eleven original cases, comparing evaluated CTest names (local-test-RxpGX6.log / local-test-Cu9h1B.log).
  • Linux/FreeBSD enabled/disabled and macOS/Windows exclusion selections pass. Sorted shared lists and graph slice guards pass (local-test-OLKKmL.log); whole-graph legacy replacement contract passes (local-test-L6BClO.log).
  • One read-only primary clud-review is clean; independent registration rerun passes (1 test, 0.04 s).
  • Eight evaluated CMake guard configurations pass (Linux/FreeBSD feature on/off and macOS/Windows exclusion; Linux compiler, no cross-host runtime claim).
  • Full lint passed preceding lanes, then reached the documented Soldr Dylint-driver refusal: no deployed driver for workspace nightly-2026-05-28, only nightly-2026-08-15 (local-test-fvHmKI.log). No toolchain workaround; hosted Fast Gate remains required.

Test cost (OBS_PARITY_CASES=reduced, debug): registration 25/25, longest 0.21 s, peak RSS 10,276 KiB; two-consumer native replay 20/20, longest 13.22 s, peak RSS 115,024 KiB. No new Rust-owned threads; compiler/CMake subprocesses use the existing named native-build timeout exception (#2888/#3071). Raw observations are retained beside the pool response.

Tiers: this repairs the test graph and does not port an implementation. These helpers link the real PulseAudio SDK and cmocka, without a libobs backend/server/display; existing Tier 2 and differential coverage remains required. Tier 4 is inapplicable. Linux GCC/Clang evidence is local; no FreeBSD host runtime, full app/profile/protocol/export or overall #1390 completion is claimed. Full unittest is deferred to PR CI because its wrapper prunes targets, forbidden for this assignment. No target pruning, soldr gc or local-gate stamp.

@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