test(rust): add deterministic test support - #73
Merged
Conversation
blakinio
marked this pull request as ready for review
July 29, 2026 08:39
This was referenced Jul 29, 2026
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.
Purpose
Implement the single authorized W3-TEST package: deterministic Rust test support consuming merged foundation and diagnostics contracts.
Delivered contract
oteryn-test-supportlibrary crate, categorytool;TestTimelinedirectly owns/clonesManualClockand provides explicit current/advance/try-set/context helpers;DiagnosticEventFixtureaccepts reviewed static message/keys and already-classified diagnostic values;TestSupportErrorwraps only closed static-text and bounded-event errors;Scope and boundaries
Only workspace-local foundation and diagnostics dependencies. No second clock, wall-clock, sleep, polling, timer wheel, async runtime, executor, scheduler, global registry, environment mutation, logger/sink, product service, protocol/auth data, assets or external-repository changes.
The architecture checker/fixtures, Rust toolchain/CI and deny policy remain unchanged.
Task
OTC-20260729-deterministic-test-supportChanged paths
Exactly ten owned/leased paths: one crate, Cargo workspace/lockfile, five owning documents and the active task record.
Validation
Exact final head:
88c98a216230d15bd9cf5d02645f618dff705f59.Reviewed implementation head
53b4c6ac6af74ff0409c12e6daeafed86c547faepassed:30435982581: locked metadata, fmt, Clippy, unit/doctests, architecture and Supply Chain;30435982834: all required jobs andCI / Required;The final task-record head must pass the same exact-head required graph before readiness/merge.
Compatibility claim
None. This is test-only infrastructure and proves no client runtime, server, GPU, protocol or non-Windows compatibility.