Repository navigation
build: consolidate Rust tests into eight category executables - #1398
Merged
Merged
Conversation
zackees
enabled auto-merge
October 18, 2026 06:29
zackees
force-pushed
the
infra/test-category-consolidation
branch
from
October 18, 2026 06:42
6884d2d to
d4bc681
Compare
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Oct 18, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to invalid changes in the merge commit
Oct 18, 2026
zackees
enabled auto-merge
October 18, 2026 07:34
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Compiling the full Rust suite previously produced 40 default test executables (42 including opt-in targets). Consolidate coverage into eight category harnesses, including the new native-build contracts, and remove the redundant per-crate unit harnesses. Thread-safe cases remain parallel; profiler cases retain a shared lock, and process-global state and C pipe-oracle hazards re-execute exact tests in the same binary.
The lint gate now counts unit and integration targets, follows implicit workspace path dependencies, rejects missing/duplicate/extra categories, and cross-checks Cargo metadata. CI dependency scoping still selects the owning category for borrowed suites. Preserve the C++ OBS WebSocket plugin as a compatibility check and mark its older port proposal superseded.
Validation:
./lintpassed, including Clippy and Dylint; independent review is clean after its two findings were fixed.soldr cargo test --workspace --locked: 1,280 test cases and four documentation tests passed; one existing ignored case.Raw measurements and scope: test compilation evidence.
RED: 9e8655b adds the category guard, which rejects the old target layout. GREEN: ab0fb92 and fca1f1d consolidate the suites and handle subprocess/implicit-member hazards. No existing C tests, public C headers, or WebSocket submodule contents/pointer are changed.
Native CI follow-up
Current master added exhaustive rounding coverage and an sNaN edge case while this work was running. Preserve both private rounding tests in the graphics category through the production safe API. Native CI exposed Windows/macOS NaN quieting and macOS compiler fusion of scalar sin/cos; keep exact C comparisons and fix Rust's host boundary. Separate non-inlined safe scalar helpers prevent the precision-changing fusion, and matrix conversion shares C's quaternion delegation. Fixed native failing inputs are retained as regression cases. No custom ABI or added unsafe code remains.
Linux graphics: 203 cases pass, including all 2^32 rounding patterns. Full lint/Dylint and the independent follow-up review pass. PR run 39106144922 passed Rust tests, cross lint, and unchanged C compatibility tests against both implementations on Linux, macOS and Windows.
The first merge-queue run exposed a Windows file-replacement parity failure after the standalone PR passed. File-backed C stdio handles can be inherited by unrelated child spawns. The existing 192-case property now re-execs before opening files; its name, generators and assertions remain unchanged. Best-effort OS-error capture precedes Rust's save call. Utility528cases pass at32threads, full lint/Dylint pass, and review is clean. PR run39108133403 passed every required check after this final follow-up, including Windows508utility cases, macOS Rust tests, cross lint, and C compatibility tests against both implementations on all three platforms. Merge-queue confirmation remains pending.
The requested OBS release also includes the separately published dependency checksum update in merged #1399; no packaging files are changed here.
Fixes #1397