Skip to content

test: share unchanged frontend-tools host native graph - #3819

Closed
zackees wants to merge 3 commits into
masterfrom
test/1390-frontend-tools-host-native-graph
Closed

zackees wants to merge 3 commits into
masterfrom
test/1390-frontend-tools-host-native-graph

Conversation

@zackees

@zackees zackees commented Nov 7, 2026 •

Copy link
Copy Markdown
Member

Cargo native validation omits the two unchanged frontend-tools host suites. Register test_frontend_tools_host and test_frontend_tools_host_macos once in the shared Cargo/CMake graph, preserving their exact NOT OS_WINDOWS guard and cmocka-only linkage. Track the included host implementation, PCH and interface headers. Existing C tests, public headers, WebSocket and workflows remain unchanged.

Refs #1390. This bounded inventory repair leaves broad evaluated inventory/application/profile/protocol/platform/export parity open. No new Rust test executable or runtime dependencies.

Validation:

  • RED b2036951e: focused registration fails “canonical graph omits test_frontend_tools_host” (local-test-jdygto.log; Soldr porcelain log 20261107T051613Z-home-niteris-dev-obs-rust-obs-studio5.log).
  • GREEN registration/exact OS guard selections pass, including final head 1169819e4 after the tuple-table lint fix (local-test-fxcAvK.log). Eight sorted-list/graph/slice guards pass (local-test-i5l72f.log).
  • Actual GCC and Clang Cargo/CMake replay both pass all eight selected unchanged executables, including all six host cases, with matching evaluated CTest inventory (local-test-IAcsmd.log / local-test-jvRKNG.log). The fixture consumes the installed Nix cmocka pkg-config interface. Clang reports only preexisting vendored libcaption unused-variable warnings.
  • Single primary clud-review clean; reviewer independently passed the registration check.
  • Test cost: final registration longest 0.1308 s, peak RSS 9,404 KiB over 25 reduced debug runs, no own threads. The expanded existing runtime contract retains its named real-compilation timeout exception and compiler/CMake subprocesses.
  • Full lint passed the earlier lanes including Clippy after simplifying the same eight OS cases into a tuple table. It then failed only at the documented Soldr refusal to build its Dylint driver under clud (local-test-T2AXij.log; final three lines inspected). No workaround; hosted Fast Gate remains required. The same primary reviewer checked the tuple-table follow-up clean.

Tiers: graph repair, no implementation port. The helpers link neither libobs variant, retain all six original cases, and remain available in OFF/ON selections on non-Windows hosts. Existing dual-core ABI/export and Rust differential coverage are unchanged. Tier 4 inapplicable. Native macOS/Windows runtime unverified; preexisting hosted selectors still name the older utility-only contract. Full ./unittest deferred because its wrapper prunes targets, forbidden by this assignment. 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