You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test: source_profiler_parity::parity_random_sequences finds Rust/C differences in about half of runs #1930
obs_core::source_profiler_parity::parity_random_sequences, from #1887, fails on current master in about half of all runs. Each run draws new random sequences, so it looks flaky, but the failures are real Rust/C differences for some inputs. They are not caused by tests interfering with each other: running only this test file fails 4 of 8 runs, and the whole source_profiler filter fails 7 of 8.
Repro (master c9a6cce13):
cargo test -p obs-data --test obs-tests-core source_profiler_parity
One failure (others fail at the sample check, line 420, or the entry check, line 469):
In the oracle, the profiler is disabled but the timer-range index is 1; on the Rust side it is 0. The sequence before that failure starts with Async(1, …), Reset(2, 1), GpuEnable(true), and then a disjoint GPU frame.
Seed: proptest saves the failing case to rust/obs-core/tests/proptest-regressions/source_profiler_parity.txt. It wasn't checked in, so CI and local runs draw fresh cases every time. Once the cause is fixed, committing that file would pin this case as a regression test.
This came up while running the obs-tests-core suite for #1929; that PR doesn't touch the source profiler.
Claiming: #1930. Plan: reproduce with the saved proptest case, find where the Rust timer-range index diverges from the C on a disabled profiler with a disjoint GPU frame, fix the Rust (RED: commit the regression seed; GREEN: the fix).
Activity
zackees commentedon Oct 23, 2026
Claiming: #1930. Plan: reproduce with the saved proptest case, find where the Rust timer-range index diverges from the C on a disabled profiler with a disjoint GPU frame, fix the Rust (RED: commit the regression seed; GREEN: the fix).
test: hold ORACLE in parity_calculate; it sets the oracle's gpu_enabl…
obs-source: Check the source audio timestamp placement port against t…
obs-source: Port the source audio timestamp placement (obs-rust#1936)