Skip to content

test: share NVENC glyph and guarded host native compatibility graph - #3814

Closed
zackees wants to merge 4 commits into
masterfrom
test/1390-nvenc-host-glyph-graph
Closed

zackees wants to merge 4 commits into
masterfrom
test/1390-nvenc-host-glyph-graph

Conversation

@zackees

@zackees zackees commented Nov 7, 2026 •

Copy link
Copy Markdown
Member

Cargo native validation omits the unchanged NVENC override, glyph-atlas, non-macOS keypad-header and non-Windows reference-header suites. Register them once in the canonical Cargo/CMake graph, preserve host exclusions and run glyph-atlas only on Linux, and retire only the duplicate CMake registrations. Glyph-atlas explicitly declares FreeType and SIMDe header packages plus the libobs configuration-header interface; it does not link a core. Linux retains that coverage; Windows/macOS skip the target before looking up optional pkg-config packages.

Refs #1390. This bounded helper inventory repair leaves existing C tests, public headers, WebSocket, workflows and Rust test executables unchanged. Broader evaluated inventory/application/profile/protocol/platform/export parity remains open.

Validation:

  • RED 4b894cdfb: focused registration test fails “canonical graph omits test_nvenc_override” (local-test-2Gjb4P.log; Soldr full log 20261107T050404Z-home-niteris-dev-obs-rust-obs-studio4.log).
  • GREEN 55f5d7a8b: registration passes, including Linux/macOS/Windows selection and both host exclusions (local-test-WPjSO6.log).
  • GCC and Clang each pass canonical_caption_and_frontend_utility_tests_run_unchanged: ten unchanged executables run through both actual Cargo and CMake consumers, including nine cases in the four added targets, with matching evaluated CTest names (local-test-4N5pYL.log, 39.78 s; local-test-bFuU2v.log, 57.52 s). Installed Nix pkg-config paths supply cmocka/FreeType/SIMDe. The isolated header-only runtime fixture reuses the checked-in oracle obsconfig; production graph validation gets its generated core configuration.
  • Eight graph sorting/slice/shared-file guards pass. Single primary clud-review clean; reviewer independently reran the registration and guard checks.
  • Full ./lint --fix passed earlier stages, then failed at the documented Soldr refusal to build the Dylint driver under clud (local-test-fKVVV9.log, last three lines inspected). Hosted Fast Gate remains required. One concurrent Soldr run refused an active build lock; rerun after the focused run completed. No target pruning or soldr gc.
  • Test cost: registration longest 0.0843 s, peak RSS 14,752 KiB over 25 reduced debug runs; no own Rust threads. Existing native compilation contract retains its timeout exception and compiler/CMake subprocesses.

Tiers: graph registration repair, no implementation port. These standalone helpers link neither libobs implementation; the glyph dependency supplies headers only. Existing OFF/ON Tier 2, ABI/export and Rust differential coverage remain unchanged. Tier 4 is inapplicable. Runtime evidence is Linux/GCC and Linux/Clang; graph-only guard evaluation is not macOS/Windows runtime evidence. Preexisting hosted selectors still name the utility contract before its caption rename, so no cross-host runtime claim is made here. Full ./unittest is deferred to PR CI because its wrapper prunes targets, forbidden by this assignment.

Source inventory at this head: 416 canonical targets/tests, 317 distinct literal executable names still outside the graph, plus seven variable-based declaration sites. These are unevaluated source counts, not applicable/passing coverage.

Platform failure follow-up: RED 577c40418 reproduces the fatal optional lookup at native-test-graph.cmake:458 with PkgConfig explicitly disabled. GREEN eda11c885 limits glyph-atlas to Linux, preserving the unchanged Linux cases while excluding its target and CTest registration before package lookup on Windows/macOS. The configure-only regression uses simulated platform facts on Linux, not native execution. Registration and disabled-package configuration pass with GCC and Clang (local-test-GULk8K.log). Existing ten-executable Cargo/CMake runtime contract passes GCC and Clang (local-test-uaBQDx.log, local-test-sod31y.log). Graph/slice and cmocka compatibility, include, static-link and Windows diagnostic guards pass (local-test-0U2o4s.log); scoped rustfmt and diff checks pass.

New configure regression cost: 20/20 reduced debug observations, longest 0.177 s, peak child RSS 19,264 KiB, no own Rust threads (CMake subprocesses). No new test executable. Windows and macOS cannot be run locally; no passing native lane is claimed. Full local lint/unittest were not rerun for this fix; hosted Fast Gate and PR CI remain required. No target pruning or soldr gc.

@zackees

zackees commented Nov 7, 2026

Copy link
Copy Markdown
Member Author

Handed off to the coordinator. Pinned auto-merge confirmed on 55f5d7a. GCC/Clang Cargo/CMake runtime contracts, registration/platform guards and primary review pass. Full lint passed earlier stages then hit the pool-documented Soldr Dylint-driver refusal under clud; hosted Fast Gate remains required. No target pruning or soldr gc. Slot is being returned to clean detached origin/master; coordinator chaperone owns hosted CI/queue observation.

@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:17

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