Skip to content

test: share unchanged Rust-static async pacing native graph - #3826

Closed
zackees wants to merge 4 commits into
masterfrom
test/1390-rust-static-pacing
Closed

zackees wants to merge 4 commits into
masterfrom
test/1390-rust-static-pacing

Conversation

@zackees

@zackees zackees commented Nov 7, 2026 •

Copy link
Copy Markdown
Member

Cargo native validation omits unchanged Rust-static shim tests. Register the first slice, test_async_frame_pacing_steps_rust (six original C cases), in the canonical graph, preserving its original C source, direct libobs_rust-static/cmocka linkage and target-availability guard. Existing C tests, public headers and WebSocket remain unchanged. No new graph linkage kind, workflow or Rust test executable.

Refs #1390.

Validation:

  • RED 9ac2768b8: registration fails “canonical graph omits Rust-static pacing”.
  • GREEN: exact source/linkage/default-runtime registration passes; real production release archive built through Soldr, then unchanged C suite runs through actual Cargo and CMake consumers with GCC and Clang. Evaluated CTest inventory matches and excludes the target when the Rust archive is absent.
  • Sorted graph/shared-list and graph-slice guards pass. One independent primary clud-review is clean, including an independent registration rerun.
  • Affected-package Clippy with libobs-integration passes. Full workspace lint was refused by clud's verification-ratio guard; no retry/bypass. Full unittest is deferred because its wrapper prunes targets, forbidden by this assignment. No target pruning or soldr gc.

The Cargo C-test builder remains Linux-only; its explicit optional archive interface supplies the scoped pacing member's standard/runtime dependencies, and rejects non-Linux imports. Other archive-linked tests needing SDKs remain follow-up work. Production macOS/Windows CMake retains its original real Corrosion target and transitive native dependencies; native host runtime remains unverified locally. The minimal replay import validates this member's math dependency, not Corrosion's whole feature-dependent SDK interface.

This is inventory repair, no implementation port. Existing C counterpart, Rust unit/oracle differential, dual-core Tier 2 and export checks remain required; Tier 4 is inapplicable to the pure pacing helper. Broader evaluated/application/profile/protocol/platform/export parity in #1390 remains open.

Test cost (OBS_PARITY_CASES=reduced, debug): registration 25/25, longest 0.0562 s / peak RSS 10,096 KiB; actual two-consumer runtime replay 20/20, longest 3.5384 s / 46,724 KiB. No own Rust threads; compiler/CMake subprocesses use the existing named native-build timeout exception. Raw observations retained in the pool response artifacts.

Final evidence: current production release archive local-test-WU20HI.log; GCC local-test-gGuGGo.log, Clang local-test-GfB5OB.log, final scoped-helper GCC local-test-ROrNYp.log; Clippy local-test-C4upxX.log; graph guards local-test-eVKuMl.log; whole-graph legacy replacement 1/1 after measurements. Formatting of both affected packages and diff checks pass. Native macOS/Windows runtime and full dual-core/application Tier 2 are deferred to hosted validation; no local-gate stamp.

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

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