Skip to content

test: register #1390 native graph display and Qt batches 22-29 - #3957

Merged
zackees merged 33 commits into
masterfrom
test/1390-b22-b27
Nov 8, 2026
Merged

zackees merged 33 commits into
masterfrom
test/1390-b22-b27

Conversation

@zackees

@zackees zackees commented Nov 8, 2026 •

Copy link
Copy Markdown
Member

Registers the existing native display and Qt fixtures from batches 22–29 in the shared graph, with Cargo/cc::Build and CMake/CTest replay against the checkout-built hybrid and C-reference cores. Preserves original fixtures, guards, dependencies, runtime directories, timeouts and timing locks. Optional display/Qt capabilities default false when absent; malformed names remain errors.

Refs #1390

Replayed only the 18 batch commits after 6698560 onto master after #3937 merged. Range-diff preserves all RED/GREEN pairs; one graph conflict combines disjoint records. Structural audit confirms all 645 master target records and 651 test records unchanged, adding exactly 41 targets and 45 test records. No existing C/C++ fixture, public C header, WebSocket, workflow or Rust executable inventory changes.

Batch coverage (original per-batch reports retain GCC and Clang evidence against both cores):

Batch 22:

Fixture Original cases / scope Hybrid C-reference
test_darken_transparent 2 PASS GCC + Clang PASS GCC + Clang
test_image_size_precheck 4 PASS GCC + Clang PASS GCC + Clang
test_scaled_mix_alpha 2 PASS GCC + Clang PASS GCC + Clang
test_sprite_flip_render 12 PASS GCC + Clang PASS GCC + Clang
test_encoding_lag_rescale 6 PASS GCC + Clang PASS GCC + Clang
test_output_stop_without_packets 2 PASS GCC + Clang PASS GCC + Clang

Batch 23:

Fixture Original cases / scope Hybrid C-reference
test_async_delay_audio 6 PASS GCC + Clang PASS GCC + Clang
test_encoder_error_stop 8 PASS GCC + Clang PASS GCC + Clang
test_encoder_stop_packet_times 3 PASS GCC + Clang PASS GCC + Clang
test_obs_startup_failure_diagnostics 1 PASS GCC + Clang PASS GCC + Clang
test_scene_audio_actions 4 PASS GCC + Clang PASS GCC + Clang
test_shutdown_leaked_scenes 5 PASS GCC + Clang PASS GCC + Clang

Batch 24:

Fixture Original cases / scope Hybrid C-reference
test_color_correction_16f 3 PASS GCC + Clang PASS GCC + Clang
test_frontend_screenshot_srgb 7 Migration deferred: #3960 Original CMake registration restored
test_rtmps_upgrade 9 PASS GCC + Clang PASS GCC + Clang
test_scroll_filter_wide_source 6 PASS GCC + Clang PASS GCC + Clang
test_slideshow_manual_end 6 PASS GCC + Clang PASS GCC + Clang
test_x11_volume_keys 1 PASS GCC + Clang PASS GCC + Clang

Batch 25:

Fixture Original cases / scope Hybrid C-reference
test_ffmpeg_mux_unwritable_path 2 PASS GCC + Clang PASS GCC + Clang
test_ffmpeg_output_alpha 3 PASS GCC + Clang PASS GCC + Clang
test_ffmpeg_output_drain 4 PASS GCC + Clang PASS GCC + Clang
test_ffmpeg_output_stop 2 PASS GCC + Clang PASS GCC + Clang
test_pulse_monitor_reset five independent 1/1 processes PASS GCC + Clang PASS GCC + Clang
test_slideshow_empty twelve child-process 1/1 cases PASS GCC + Clang PASS GCC + Clang

Batch 26:

Fixture Original cases / scope Hybrid C-reference
test_media_cover_art_seek 5 PASS GCC + Clang PASS GCC + Clang
test_media_gif_last_frame 4 PASS GCC + Clang PASS GCC + Clang
test_media_play_after_stop 4 PASS GCC + Clang PASS GCC + Clang
test_media_restart_first_frame 4 PASS GCC + Clang PASS GCC + Clang
test_media_restart_stale_frame 5 PASS GCC + Clang PASS GCC + Clang
test_v4l2_busy_signal 5 PASS GCC + Clang PASS GCC + Clang

Batch 27:

Fixture Original cases / scope Hybrid C-reference
obs_runtime_bench 1 s smoke, 0.5 s warmup; positive frames/video/audio callbacks PASS GCC + Clang PASS GCC + Clang
test_media_cover_art_monitor 2 PASS GCC + Clang PASS GCC + Clang
test_media_sync_offset_restart 6 PASS GCC + Clang PASS GCC + Clang
test_screencast_portal_teardown 1 PASS GCC + Clang PASS GCC + Clang
test_stinger_media_duration 5 PASS GCC + Clang PASS GCC + Clang
test_xshm_capture_live 1 PASS GCC + Clang PASS GCC + Clang

Batch 28:

Fixture Original cases / scope Hybrid C-reference
test_camera_busy_dialog 11 PASS GCC + Clang PASS GCC + Clang
test_dock_state_restart 3 PASS GCC + Clang PASS GCC + Clang
test_fallback_warning_dialog 9 PASS GCC + Clang PASS GCC + Clang
test_properties_dialog_refresh 6 PASS GCC + Clang PASS GCC + Clang
test_properties_undo_coalesce 4 PASS GCC + Clang PASS GCC + Clang
test_source_label_destroy 3 PASS GCC + Clang PASS GCC + Clang

RED evidence: each batch first committed failing registration contracts, then the graph/runtime implementation. Original RED commits: a41b933, bac26f7, 33219c0, fe425ce, 527a176, 92ef114 and ecd17fc. Their rebased counterparts remain separate commits in this PR.

Final follow-up head: 997cf01. Plain registration-deferral commit followed by a plain merge of current master; no rewritten history.

The only deferred migration is test_frontend_screenshot_srgb. Its original tests.d fragment is restored byte-for-byte, and only its target/test graph records and corresponding migration contracts were removed. The unchanged C++ test remains in the original CMake suite. Refs #3960.

The original combined replay failed C-reference CTest i010_orange_is_srgb at line 344: screenshot (255,96,0,255), program (0,0,0), six of seven cases passed. The Cargo consumer passed seven. Focused follow-up retained the same graph setup and unchanged fixture in the existing Tier 2 image under Xvfb: C-reference CTest 10/10 and Cargo 10/10; hybrid CTest 5/5 and Cargo 5/5. A further bounded C-reference CTest stress probe passed 100/100. No failure recurred in isolation; these successes do not erase the original failure or establish the precise race.

Setup audit found Cargo runtime/ and CTest runtime/RelWithDebInfo/ both have byte-identical copies of all 21 effect/data files. Both consumers bind the exact same checkout-built core and OpenGL renderer within each lane, using the same Xvfb display and inherited graphics environment. No missing data path, wrong cwd or substituted renderer was found. The fixture waits for a nonblack frame, takes a screenshot and samples the program pixel again; the later sample is a plausible timing window, not a proved root cause. #3960 retains the failure, passing trials and investigation scope. This registration deferral follows the maintainer's explicit assignment, without changing a fixture or weakening an assertion.

Final validation:

  • Full lint: exit zero, 184.2 seconds, at pre-update head 5b52ebc (one full run)..
  • Entire serial native_build:: module: 197 passed, exit zero, 304.87 seconds, at that same pre-update head..
  • After merging master’s obs-core: port canvas video info getter (#3950) #3951, final-head formatting, all 15 graph guards, both display-plugin registration/guard contracts and the canvas-video-info registration contract passed. The full lint and native-build runs above preceded this final plain master merge.
  • Graph audit: Structural audit preserves every current-master record, adding 41 targets and 45 test records (646 -> 687 targets; 652 -> 697 tests). The screenshot fragment exactly matches master. No existing C/C++ fixture, public header, WebSocket or workflow changes in the PR diff.
  • The earlier combined-head replay's thirteen other runtime selectors passed; its raw logs remain in the landing report. The only new runtime trials in this follow-up isolate the unchanged screenshot fixture before deferring its migration. The remaining display-plugin replay was not rebuilt after removing this one registration.
  • No local-gate stamp or separate Dylint attestation is claimed. Detailed logs, setup inventories, graph audits and the temporary diagnostic diff are retained in the assigned pool fix-3957 report directory; diagnostic source changes do not ship.

Test cost: original registration/guard contracts were measured across 25 reduced-debug repetitions per batch; longest and peak RSS remain recorded in the batch reports. Batch 28 measured 0.189443 s and 19,312 KiB. No own Rust threads; real native compilation uses the existing native-build budget exception and original fixture threads remain unchanged.

Remaining display blockers from batch 27: core-module-load lacks the OBS::libobs-core-modules interface and four checkout-built stub-module owners, including missing-dependency/newer-version variants. Lua graphics-deadlock and Python enum-filter probes attempted the real scripting owner but lack generated obs-scripting-python-include.h and OBS_LUA_SO_EXT; scripting/obslua/obspython owners remain unavailable. Output-filename-reserve passed both core scouts but was deferred by the six-registration cap; future registration must retain the Linux muxer child, portable plain-name path, renderer, runtime cwd and 120-second timeout.

Batch 29 now registers fallback-warning-queue, plugin-manager and VST-editor-close, previously deferred by the batch 28 registration cap. Output-timer is build-blocked in both cores: cmocka's stop macro in the original unity batch rewrites production QTimer::stop calls to _stop. No fixture was edited or retried into green.

Not verified: final follow-up combined runtime/Clang replay, native Windows/macOS, hardware devices, full workspace/Tier 2 export sweep, sanitizers, full app/saved-profile/protocol behavior, separate local-gate/Dylint attestation or hosted CI completion. This is partial compatibility coverage; the tracking issue remains open.

Windows slideshow repair (latest follow-up): RED a051539 reproduces the deferred CMake attachment compiling image-source-host-windows.c.h twice. GREEN b324029 removes that redundant attachment now that both slideshow targets own their host source sets in the graph, and adds the Windows-only image-file-version.c.h helper needed by the Windows unity group. The existing registration snapshot is updated. The regression evaluates the graph for Windows and checks the final CMake-generated source list, expanding unity groups and generated wrappers to reject duplicate compilation and require both host and filetime implementations. Manual-end and stinger registrations remain Linux-only; other image-source registrations do not attach a Windows unity group twice.

The assigned branch retains plain history, including a clean merge of master 356c2f6. No existing C fixture, public header, WebSocket source, workflow or executable inventory was changed by this repair. Windows compilation/linking is unverified locally; the host-configuration regression is structural evidence only.

Repair validation: all 17 graph guards pass; full lint exits zero in 182.9 seconds. Test cost for the added regression: 25 reduced-debug passes, longest 0.491 seconds, peak child RSS 20,324 KiB, no own threads. Final native-build result is recorded below.

Final repair native-build module: 200 passed, zero failed, exit zero, 62.69 seconds. The first full run identified the stale registration snapshot (199 passed, one failed); the snapshot was corrected before this final full run.

Batch 29 adds six existing fixtures: fallback-warning-queue (10 cases), plugin-manager (8), VST-editor-close (4), PipeWire-context-fail (3), Pulse-monitor-device (3), and Pulse-two-sources (2). Original RED 3f700fd precedes GREEN c4519dd and final wiring guards 7a0e928. The batch adds six target and six test records and keeps all original fixtures unchanged. Runtime replay uses both Cargo/cc::Build and CMake/CTest, both checkout-built cores, GCC and Clang, under Xvfb with private daemon sessions. No new executable is added.

Final integration is a plain merge of master bb50021 at a0fb898. Structural union preserves all 649 master target records and 655 test records unchanged and adds only this PR's 47 targets and 51 test records. Master registration modules are retained; tests.d merges cleanly. The earlier validation paragraphs retain historical evidence at their named heads.

Test cost for batch 29: 25 reduced-debug repetitions, longest combined 1.149 seconds, peak child RSS 19,360 KiB, no own Rust threads. Real native compilation retains the existing budget exception and unchanged fixture threads/processes.

Final merged-tree validation: all 17 graph guards passed; all 206 serial native-build tests passed, including the three archive-freshness contracts (85.38 seconds). Full lint ran once and passed with exit zero (240.5 seconds). All four batch 29 runtime lanes passed under Xvfb, GCC and Clang against hybrid and C-reference. Each lane completed both consumers for six fixtures and six successful CTest executions, with enabled inventory six. No hosted CI completion, native Windows/macOS execution, full workspace suite, full app/profile/protocol validation, or local-gate stamp is claimed.

Latest master integration: plain merge a5105fd retains batch 29 and master’s core-initialized registration. The structural union preserves all 650 master targets and 656 master tests unchanged, adding only the PR’s 47 targets and 51 tests. Registration modules merge automatically; tests.d is unchanged by this merge. All 17 graph guards pass. The entire serial native-build module passes 207 tests, including all three archive-freshness contracts, with exit zero in 419.76 seconds. Full lint ran once and passed with exit zero in 219.8 seconds. No additional native runtime replay or hosted CI completion is claimed. Refs #1390.

Batch 29 CI repair: RED 6312209 adds CRLF-fed frontend-owner and exact daemon link-interface regressions. Both fail on the previous graph. The runtime replay now uses the repository's real FindGio interface rather than a pkg-config alias that implicitly supplies GLib; strict as-needed and no-copy-dt-needed-entries linking reproduces the hosted PipeWire failure at g_ptr_array_remove, with GLib DSO missing from command line. GREEN c88193d normalizes CRLF and restores the original fixture's explicit GLib/GObject dependencies. Both Pulse fixtures already match their original link interfaces and are checked explicitly. Other batch 21–29 registration checks have no equivalent multiline literal comparison.

Repair validation on c88193d: all six focused contracts pass, all 17 graph guards pass, the entire serial native-build module passes 209 tests in 575.34 seconds, and one full lint run passes with exit zero in 305.2 seconds. The hybrid release archive was rebuilt, then all six batch 29 runtime selectors passed in the Tier 2 Docker image through both Cargo and CMake/CTest against both hybrid and C-reference cores, with strict CMake DSO linking, loader checks and all eight configuration inventories. This replay used GCC; previous Clang evidence remains historical. No existing C/C++ fixture or public header changed; no new executable or workflow was added. The graph delta changes only the PipeWire target.

Test cost for the two new regressions: 25 reduced-debug repetitions each, longest 0.095 seconds, peak child RSS 15,280 KiB, no own threads. Windows is unverified locally. No new native macOS, full workspace, sanitizer, application/profile/protocol run or local-gate attestation is claimed. Refs #1390.

@zackees
zackees marked this pull request as ready for review November 8, 2026 02:08
@zackees
zackees enabled auto-merge November 8, 2026 02: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 a conflict with the base branch Nov 8, 2026
@zackees
zackees enabled auto-merge November 8, 2026 03:15
@zackees zackees changed the title test: register #1390 native graph display batches 22-28 test: register #1390 native graph display and Qt batches 22-29 Nov 8, 2026
@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 a conflict with the base branch Nov 8, 2026
@zackees
zackees enabled auto-merge November 8, 2026 05:08
@zackees
zackees added this pull request to the merge queue Nov 8, 2026
Merged via the queue into master with commit 4df97f4 Nov 8, 2026
75 of 77 checks passed
@zackees
zackees deleted the test/1390-b22-b27 branch November 8, 2026 05:54
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