Repository navigation
test: roll up #1390 native graph coverage and isolate registration modules - #3832
Merged
Merged
Conversation
# Conflicts: # rust/obs-build/tests/native.rs
This was referenced Nov 7, 2026
Member
Author
|
Continuing the assigned rollup repair: reproduce undefined false platform requirements and unknown-name rejection in the existing Application contract binary, then audit Windows graph dependencies and replay focused GCC/Clang contracts. No new PR; Windows/macOS runtime remains unverified locally. |
Member
Author
|
Continuing the assigned macOS SIMDe fixture repair on the existing rollup head b1e3039. I will retain all native contracts, make fixture setup follow selected dependencies, replay GCC/Clang and graph guards, and re-arm auto-merge. Native macOS/Windows remain unverified locally. |
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Nov 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Combine the 14 native graph slices into one queue entry, preserving each source PR's authored RED/GREEN and follow-up commits. Preserve every registration, guard, runtime contract and assertion. Refs #1390; this does not complete or close it.
Move 50 registration checks into independent module files under
rust/obs-build/tests/native/registration/, with sorted declarations in the existing Application category harness. Assertion macro counts: 890 before / 890 after; 536 moved verbatim. The existing eight-category binary inventory is unchanged. Put each slice's complete changed documentation paragraphs indocs/rust-port/native-graph/<PR>.md, with historical evidence explicitly scoped; future slices add separate files instead of appending the shared document.Retain #3814's Linux-only glyph dependency lookup and package-disabled configure regression, and #3816's Windows pthread dependency and assertion-helper splits. Reconcile the utility replay into a selected-graph fixture covering all 27 original standalone executables, restore every OS/core fact, retain XComposite timeout assertions, and compose the dual-core inventory (25 ordinary additions, two conditional Pulse tests, two independently counted archive members).
test_vaapi_device_select1a54791bc→f94961f9atest_glyph_atlas,test_hotkey_numpad_host,test_libobs_reference_hosts,test_nvenc_override4b894cdfb→eda11c885test_fade_to_color_mix,test_ffmpeg_mux_helper_host,test_frontend_obs_main_host,test_frontend_obsbasic_host,test_frontend_settings_host9b1ab3658→f980295e6test_slideshow_size,test_stinger_monitoring_migrationbfcc5655b→0ad56f80ftest_win_vmic_route7e8d71672→06682e480test_mac_vmic_clock,test_mac_vmic_install389836fcd→1f6c60b59test_frontend_tools_host,test_frontend_tools_host_macosb2036951e→1169819e4test_pulse_monitor_backlog,test_pulse_monitor_flags94382a672→15a28fecftest_x11_keymapb61e3dd34→3db27ae03test_pipe_wait_error525308283→06ae03d26test_obs_ffmpeg_net_host,test_obs_outputs_hostb7db686bc→36ddbc99ctest_async_frame_pacing_steps_rust9ac2768b8→bd2ce7f4ctest_pipe_create2_exact_path,test_pipe_no_handle_leak,test_pipe_shell_argv0,test_pipe_stdio_inheritd155d0d29→335173667test_async_conversion_plan_rustc85bbb9d3→39cf0c37bExcluded: none of the 14 assigned PRs. #3806, #3807 and #3811 are untouched; their branches/PRs are outside this rollup. Included branches will be retained when their PRs are closed as superseded.
Validation:
libobs-integrationpasses on Linux and the Windows target; no complexity allowance or threshold increase. Scoped rustfmt passes. Eight category binaries remain.Pipe smoke evidence: GCC and Clang each compile/link all five pipe executables through the actual Cargo graph and CMake consumer using installed OBS 32.1.2. Wait-error, exact-path, argv0 and stdio-inherit pass; no-handle-leak's stdio case passes, while its four existing socket-inheritance cases fail against this old external core, as already documented by #3827. CTest reports 4/5 executables passing; these assertions are preserved. This is external-library smoke evidence, not GREEN final-head hybrid/C-reference runtime parity. Required hosted Tier 2 must decide the current-core result.
Local evidence: registration
local-test-peeoRR.log; Python guardslocal-test-oS8SIx.log; GCC utilitylocal-test-JMA8wj.log; Clang utilitylocal-test-ciHlmg.log; 12 focused GCC/Clang contractslocal-test-GPp2M4.log; Linux Clippylocal-test-SFLMmn.log; Windows-target Clippylocal-test-ALscuD.log(final rerun also recorded); pipe smokelocal-test-M7mTE1.log.Windows configure repair (head
b1e3039a8863801342b2af3474d3f71f4d751c8e):b582a447c: the newnative_test_graph_cmake_platform_requirements_allow_false_but_reject_unknowncase in the existing Application binary fails withUnknown native test requirement UNIX. GREENb1e3039a8accepts undefinedUNIX,APPLE,WIN32, andMSVCas false, retaining fatal errors for unknown names. The regression covers undefined/explicit true/explicit false, negation and nested all/any, and bothUNXIand an unknown project fact even inside otherwise decisive conditions. No registrations or existing assertions were removed.OBS::w32-pthreadsdependency, and linked libobs publicly supplies pthreads to its consumers. The new POSIX pipe/host sources remain excluded on Windows. macOS selects no pkg-config requests either. No further Windows defect was found that warranted changing graph records or weakening guards.native_test_graph_cmake_builds_and_runs_selected_contract; the thirteenth Qt metaobject check could not find localQt6Core.pc. The actual selected Cargo/CMake compilation contract also passes with Clang.canonical_frontend_utility_tests_run_unchangedwithlibobs-integration: the actual 27-executable standalone graph through Cargo and CMake. Initial attempts stopped at the local XCB package lookup; using installed cmocka/SIMDe/FreeType/XCB SDK paths resolved it without repository changes. GCC's first successful run hit a report-wrapper error; the bounded fallback preserves the successful command exit status.libobs-integration, rustfmt, gersemi 0.25.0, and diff whitespace checks pass. One primary read-only clud-review reports clean. Test cost for the new regression: 25 exact debug runs, longest wall 0.119 s, peak RSS 16,856 KiB, no test-owned threads; it spawns CMake processes. The existing eight-category binary inventory is unchanged.Repair evidence: RED
local-test-iz1YbS.logplus its linked soldr porcelain log; focused GREENlocal-test-oJjMsI.log; GCC graph checkslocal-test-WoI3Qj.log; Clang selected contractlocal-test-iCJiwz.log; Python guardslocal-test-yhnARq.log; Clippylocal-test-kM6ADU.log; gersemilocal-test-ndQ0sG.log; Clang utilitylocal-test-weD6Iu.log; GCC utility/home/niteris/.clud/tmp/3832-gcc-utility-fallback.log.macOS SIMDe fixture repair (head
84bf218a5):25364907b:standalone_core_headers_unavailable_hosts_need_no_packagesreproduces the unused SIMDe lookup for a simulated macOS selection with bothPKG_CONFIG_PATHandPKG_CONFIG_LIBDIRset to/nonexistent. It fails withnative dependency simde, matching the macOS job log. GREEN84bf218a5selects the graph before fixture setup and creates core/SIMDe interfaces only for selected header consumers. The same no-package regression passes for simulated macOS and Windows selections; Linux retains the glyph header dependency and its full runtime assertions. Slideshow retains its required headers on every host. No native contract, assertion, registration, existing C test or public header was removed or weakened.canonical_frontend_utility_tests_run_unchanged(27-executable Linux Cargo/CMake replay) andcanonical_plugin_configuration_helpers_run_unchanged(two-executable replay). All 12 focused native graph checks pass with GCC (Qt metaobject test excluded: SDK not available). The existing glyph package-disabled macOS/Windows configure contract and both utility/glyph registration checks pass. Thirty-three Python graph/sorted-list, static-link, include, Windows diagnostic, sanitizer and binary-budget guards pass.libobs-integrationpasses. Test cost: 25 reduced debug runs of the new regression, longest 0.054 s, peak child RSS 15,068 KiB, no test-owned threads. The eight-category binary inventory is unchanged. Clang emits existing libcaption unused-variable/parameter warnings.local-test-kfxXLh.logand its linked soldr porcelain log; missing-package GREENlocal-test-RFRIDk.log; GCC replaylocal-test-sQVzel.log; Clang replaylocal-test-IEjVq2.log; native graphlocal-test-7lVpMs.log; package-disabled configure/registrationlocal-test-i2Qtod.log; Python guardslocal-test-qjkXx9.log; Clippylocal-test-cQSScX.log. Initial Python guard invocation neededPYTHONPATH=cifor its existing sibling import, then all 33 passed.