Skip to content

test: share unchanged caption round-trip native compatibility graph - #3805

Merged
zackees merged 3 commits into
masterfrom
test/1390-caption-unmappable-graph
Nov 7, 2026
Merged

zackees merged 3 commits into
masterfrom
test/1390-caption-unmappable-graph

Conversation

@zackees

@zackees zackees commented Nov 7, 2026

Copy link
Copy Markdown
Member

Cargo native validation omits the unchanged three-case test_caption_unmappable suite. Register it once in the shared graph, retaining standalone libcaption/cmocka linkage and platform-independent selection. Extend the existing real Cargo/CMake utility contract to run the original caption assertions and compare evaluated CTest inventory; reuse the production caption archive builder.

Refs #1390. This bounded inventory repair follows #3652 and queued #3801; broader application/profile/platform/export parity remains open. No existing C tests, public headers, WebSocket code, workflows or Rust test executables change.

Validation:

  • RED c0cf8985c (original 78916ecb8): focused registration check fails with “canonical graph omits test_caption_unmappable” (local-test-2lxY9z.log).
  • GREEN 0d4d5403b: registration passes (local-test-T2Imfc.log); graph sorting and slice guards pass (local-test-oSzDL4.log).
  • GCC and Clang each pass canonical_caption_and_frontend_utility_tests_run_unchanged: six unchanged executables through both actual Cargo and CMake consumers, including all three caption cases, with matching evaluated CTest names (local-test-ri9ZC6.log / local-test-P4g9s4.log). Host cmocka uses its installed Nix pkg-config prefix.
  • Single primary clud-review clean after correcting the runtime contract documentation; reviewer independently reran the focused registration check.
  • Full ./lint --fix running; hosted CI remains the merge gate. Initial local Soldr-wrapper attempt timed out without a verdict; documented SOLDR_RUSTC_WRAPPER=none resolves it. No target pruning or soldr gc.
  • Test cost: focused registration longest 0.119 s, peak RSS 10,396 KiB over 25 reduced debug runs; no own Rust threads. Existing native runtime contract retains its named real-compilation timeout exception and compiler/CMake subprocesses.

Tiers: registration repair, no implementation port. Caption is a standalone vendored-library test and links neither libobs implementation; both OFF/ON Tier 2 suites retain it, while existing ABI/export and Rust differential coverage remain unchanged. Tier 4 is inapplicable to this local helper. Local runtime evidence is Linux/GCC and Linux/Clang; native hosted lanes validate their selected platforms. Full ./unittest is deferred to hosted CI because its wrapper prunes targets, forbidden for this assignment.

@zackees

zackees commented Nov 7, 2026

Copy link
Copy Markdown
Member Author

Rebased cleanly onto merged #3801 at b939dc2; final RED 510bf1f and GREEN 499ab3b (plus docs 5981d08) preserve both independent graph entries. Local validation is now finished: earlier formatting, self-tests and Clippy passed, then Soldr refused the source-built Dylint driver under clud (artifact local-test-JuOpSe.log). This is the known local environment limit; no toolchain change or workaround attempted. Required hosted Fast Gate remains pending. The status-documentation command was separately rejected by the verification-ratio guard as a false full-gate classification and was not repeated. Remaining inventory is recorded on #1390 in comment 6702281164: 412 canonical targets/tests, 320 remaining literal executable names and seven variable declaration sites; this is source inventory, not evaluated coverage. No target pruning or soldr gc.

@zackees
zackees marked this pull request as ready for review November 7, 2026 04:45
@zackees
zackees added this pull request to the merge queue Nov 7, 2026
Merged via the queue into master with commit 3204708 Nov 7, 2026
44 checks passed
@zackees
zackees deleted the test/1390-caption-unmappable-graph branch November 7, 2026 04:57
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