Skip to content

test: share unchanged real-libobs pipe contracts - #3827

Closed
zackees wants to merge 3 commits into
masterfrom
test/1390-pipe-contract-native-graph
Closed

zackees wants to merge 3 commits into
masterfrom
test/1390-pipe-contract-native-graph

Conversation

@zackees

@zackees zackees commented Nov 7, 2026 •

Copy link
Copy Markdown
Member

Cargo native validation omits four unchanged process-pipe compatibility executables. Register test_pipe_create2_exact_path, test_pipe_no_handle_leak, test_pipe_shell_argv0 and test_pipe_stdio_inherit in the sorted shared graph, retaining real OBS::libobs and cmocka linkage, Windows ws2_32, original Unix/target guards and 20/30/20/no timeout. Remove only their duplicate CMake registrations. The graph derives core availability from the supplied real dependency, and the Linux dual-core inventory increases by four.

Refs #1390. Independent of still-open #3824; no stacked commits, implementation changes, new Rust executable, existing C-test/public-header edits, WebSocket changes or workflows. No optional extra tests taken.

Validation:

  • RED d155d0d29: soldr cargo test -p obs-studio-rust --test obs-tests-app canonical_pipe_contracts_are_registered fails canonical graph omits pipe contract (Soldr 20261107T055055Z-home-niteris-dev-obs-rust-obs-studio3.log). GREEN 4dbab0579: the exact registration and all four Unix/core-presence selections pass (local-test-1fbu3D.log). Whole-graph legacy replacement passes (local-test-fh1MQS.log); six sorted-list/slice Python guards pass. One primary clud-review is clean and independently reran the registration (local-test-BxTZaO.log).
  • Both GCC and Clang compile/link all four unchanged executables through the actual Cargo graph and CMake consumer. ldd confirms the real installed OBS 32.1.2 library, without a stub. Each consumer/compiler passes exact-path (3 cases), shell argv0 (1), stdio inheritance (4), and handle-leak's stdio case (1): 9 cases pass; the four existing socket-inheritance cases fail against this old external core. These failures remain intact; they are not a GREEN current-core runtime claim. Cargo logs local-test-nyfgJS.log / local-test-vRh8dI.log; CMake configure/build pass (local-test-rQI1Gv.log, local-test-sci0L4.log, local-test-ybqDT7.log, local-test-T2yiu4.log) and CTest fails on handle-leak (local-test-wgGxF8.log, local-test-ibN3VD.log). Fixtures and full results retained in /tmp/parity-libobs2 and beside the pool response.
  • Evaluated CTest inventories from both compilers contain exactly the four original names, timeout 20/30/20 and absent TIMEOUT for stdio-inherit.
  • Test cost: registration 25 reduced debug runs, longest wall 0.0200 s, peak RSS 15,308 KiB; no own threads. No new Rust test executable.

Required hosted Tier 2 must validate both current hybrid and explicit C-reference libraries and their exact dynamic exports. The old installed-core smoke does not satisfy that criterion. No final-head dual-current-core, native Windows/macOS runtime, full unittest, application/profile or broader #1390 parity claim; Tier 4 does not apply to this local process utility. No target pruning or soldr gc.

Final 335173667 splits unchanged registration assertions into a helper for lint. Focused registration passes (local-test-uRMPP7.log); scoped application-test Clippy passes exit 0 (local-test-0HtRmJ.log). The same primary reviewer rechecked the helper split clean. Full ./lint --fix first found cognitive complexity (corrected by that split) and reached the documented Soldr Dylint-driver refusal (nightly-2026-05-28 has no deployed Dylint 6.2.0 driver under clud; local-test-djdJ4o.log, final three lines inspected). The verification-ratio guard refused a second workspace lint; it was not bypassed. No toolchain changes. Hosted Fast Gate remains required.

All eight original-fragment versus canonical-graph CMake configurations match exactly: Unix + core selects four tests with their original timeouts; non-Unix + core selects only handle-leak; non-Unix without core selects none; Unix without core fails configuration on stdio-inherit’s missing core exactly as the original does. Fixtures and bounded configuration logs are retained under guards/. The graph intentionally preserves that unguarded stdio core requirement.

@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