Skip to content

test: register #1390 native graph batches 12-21 - #3937

Merged
zackees merged 31 commits into
masterfrom
test/1390-b12-b21
Nov 8, 2026
Merged

zackees merged 31 commits into
masterfrom
test/1390-b12-b21

Conversation

@zackees

@zackees zackees commented Nov 7, 2026 •

Copy link
Copy Markdown
Member

Register the sixty unchanged native fixtures from batches 12–21 in the shared graph, preserving owner/platform/SDK guards, link order, original commands and fixture modes. Original C/C++ tests, public headers, WebSocket, workflow files and the eight Rust test executables remain unchanged. The graph gains sixty targets and sixty-six test records; every prior target and test record compares unchanged against master.

Refs #1390

Batch Unchanged native fixtures Test records
12 test_obs_outputs_rtmp_host, test_plugin_getter_scroll, test_plugin_getter_slideshow, test_plugin_getter_slideshow_mk2, test_plugin_getter_stinger, test_plugin_getter_xshm 6
13 test_hotkey_background_ui, test_hotkey_background_use_key, test_text_file, test_v4l2_fd_cloexec, test_v4l2_vcam_audio, test_v4l2_vcam_write 6
14 test_qsv_encode_bounds, test_qsv_update, test_v4l2_device_identity, test_v4l2_input_caps, test_vcam_format, test_windows_monitor_identity 6
15 test_mac_vmic_shm, test_pipewire_connect_start, test_pipewire_frame_pacing, test_pipewire_teardown_wait, test_python_stdio, test_xshm_capture_pipeline 6
16 test_distribution_info, test_egl_init_error, test_ffmpeg_restart_close, test_media_cached_paused_seek, test_media_source_options_lifetime, test_media_status_threading 6
17 test_media_alpha_network, test_media_format_change, test_media_loop_start_time, test_media_network_timeout, test_media_seek_keyframe, test_media_ts_start_time 6
18 test_file_updater_failure, test_file_updater_timeout, test_frontend_warn_fallback, test_inhibit_sleep, test_text_freetype2_bundled_font, test_text_freetype2_face_index 7
19 test_lua_graphics_lock, test_lua_graphics_lock_bounded, test_service_state, test_vcam_audio_config, test_virtual_cam_shutdown, test_wayland_hotkeys 6
20 obs-x264-test, test_config_migration, test_core_module_manifest, test_first_run_wizard, test_preflight_abi, test_scripting_obs_defs 11
21 test_gl_dynamic_texture, test_nix_startup_log, test_scene_size_race, test_startup_alloc_stable, test_startup_cycle_stress, test_video_io_hidden 6

The branch starts on current master after the earlier batches landed in PR #3914. Only the twenty-five commits after 8c677c4 were replayed; the prior stack was compared with range-diff, and the merged PR tree matches its pre-merge tree. RED registration contracts and GREEN implementations remain separate commits for every batch. Each original RED log records missing graph registrations; the final-head combined validation passes all registration and runtime contracts.

Batch 18 retains the additional bundled-font mode; batch 20 retains all six configuration-migration modes and the core-module manifest auxiliary regression. Hidden C characterization, standalone helpers and simulated-host paths are identified in their contracts and are not claimed as native hardware or Rust hidden-symbol parity.

Validation: final-head GCC replay passes all twenty runtime groups (ten per core), through both Cargo and CMake/CTest, in Tier 2 image obs-rust-linux-validate:cb8f699f47ef269d. Exact native case counts and selected-core loader checks pass. The release Rust archive and preflight archive were rebuilt from this tree first, retaining archive depfile freshness validation. Full lint passes in 274.4 seconds, including graph sorting, portability, graph-slice, registration-entry and test-binary guards. The entire serial native-build module passes 168 tests in 167.84 seconds. Formatting and diff checks pass. The separate Dylint lane exits one: Soldr refuses to build the missing nightly-2026-05-28 driver under clud; no toolchain or driver workaround was attempted. Hosted Fast Gate remains required. Earlier batch reports retain both GCC and Clang dual-consumer/dual-core evidence and primary reviews; this combined landing does not claim final-head Clang, native Windows/macOS, hardware, full app/profile, sanitizer or protocol coverage.

Test cost: the original batches measured twenty-five reduced-debug repetitions per registration group, longest 0.216 seconds and peak child RSS 16,432 KiB, with no own Rust threads. Native compilation/replay uses the existing build-test budget exception and preserves native fixture threads and stress loops.

Follow-up for the configuration failures in run 42411433846: RED commit cd02b17 reproduces duplicate Ninja outputs from aliased Lua configure dependencies, missing runtime-directory expansion with macOS/Windows host facts, and the hidden video fixture's missing private-header dependencies. GREEN commit 4177348 normalizes the Lua watch path, restores the default CTest build directory on hosts without a runtime directory, and imports caption/Uthash headers plus Windows pthread linkage. Unknown requirement/template names remain errors.

Follow-up validation: all three regression contracts pass; the graph sorting, portability, per-entry slice and registration guards pass thirteen tests. A full Qt-enabled Linux configure and Ninja dry run both exit zero in the existing Tier 2 image. Full lint exits zero in 285.4 seconds; formatting and diff checks pass. The same Lua dependency defect explains the original Linux Tier 2 and ASan build failures; the Windows log independently identifies the missing caption header. Native macOS/Windows builds and sanitizer execution remain unverified locally.

Follow-up test cost: twenty-five reduced-debug repetitions of the three-test configuration group, longest 0.612 seconds, peak child RSS 20,016 KiB, no own Rust threads; no new executable.

The final committed-head serial native-build module also passes all 173 tests, including the real Cargo/CMake build-and-run contract and unknown-requirement/template rejection. A prior broad run was invalidated by a concurrent rebuild of its executable; it was stopped and replaced by this clean run with no concurrent rebuilds.

Follow-up for run 42414966620: both Linux Fast Gate and macOS fail the same generated-text assertion at line 101. CMake emits quoted names while the test requires bracket-quoted names; neither failure is a path comparison. The unchanged test at 4177348 reproduces locally with CMake 4.4.0 (zero passed, one failed), while older local CMake versions pass. Commit 6698560 queries CTest JSON, requires all three startup tests and their working-directory properties, and canonicalizes both the reported and expected build directories. Production CMake remains unchanged.

Validation for 6698560: full serial native-build module passes all 173 tests in 157.74 seconds; the focused regression passes with CMake/CTest 4.4.0; full lint exits zero (150.3 seconds). Test cost: 25 reduced-debug runs, longest 1.173 seconds, peak child RSS 24,608 KiB, no own threads. Native macOS remains unverified locally.

@zackees
zackees marked this pull request as ready for review November 7, 2026 20:56
@zackees
zackees enabled auto-merge November 7, 2026 20:57
@zackees

zackees commented Nov 7, 2026

Copy link
Copy Markdown
Member Author

Handed off to the coordinator. Pinned auto-merge is enabled at e67a471; closing issue references are empty. Final-head GCC dual-core replay passes all twenty runtime groups through Cargo and CMake; full lint and all 168 native-build contracts pass. Separate Dylint is blocked by Soldr refusing its missing nightly driver under clud, as recorded in the body. Refs #1390.

@zackees
zackees added this pull request to the merge queue Nov 7, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Nov 7, 2026
@zackees
zackees enabled auto-merge November 7, 2026 23:05
@zackees
zackees added this pull request to the merge queue Nov 7, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Nov 7, 2026
@zackees
zackees enabled auto-merge November 8, 2026 00:08
@zackees
zackees added this pull request to the merge queue Nov 8, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 8, 2026
@zackees
zackees added this pull request to the merge queue Nov 8, 2026
Merged via the queue into master with commit 1ff93b7 Nov 8, 2026
40 checks passed
@zackees
zackees deleted the test/1390-b12-b21 branch November 8, 2026 00:52
@obs-rust-project-manager obs-rust-project-manager Bot moved this from In review to Done in obs-rust Multiview Nov 8, 2026
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