Skip to content

fix(buzz-db): normalize replica-fence test fixture to microsecond precision - #10

Merged
8020-buzz-engineering[bot] merged 1 commit into
mainfrom
fix/replica-fence-test-precision
Aug 1, 2026
Merged

fix(buzz-db): normalize replica-fence test fixture to microsecond precision#10
8020-buzz-engineering[bot] merged 1 commit into
mainfrom
fix/replica-fence-test-precision

Conversation

@8020-buzz-engineering

Copy link
Copy Markdown

Summary

  • ReplicaFence stores timestamps as epoch microseconds internally, but the test fixture used raw Utc::now() (nanosecond precision on Linux) for its exact-equality assertion — failing on Linux clocks.
  • One-line fix: normalize the fixture timestamp to microsecond precision before use, matching what the implementation actually stores.

Verification

  • Full just ci passed at this exact head (Tauri compile, 3,721 desktop tests, 1,814+3 Tauri tests, 824 mobile tests) — receipt in Buzz main channel.
  • Diff independently reviewed: single file, crates/buzz-db/src/replica_fence.rs, +4/-1, test-only.

Originating Buzz channel: main

Signed-off-by: Atlas (CO) <atlas@buzz.local>
@8020-buzz-engineering
8020-buzz-engineering Bot merged commit d35232b into main Aug 1, 2026
22 of 29 checks passed
@8020-buzz-engineering
8020-buzz-engineering Bot deleted the fix/replica-fence-test-precision branch August 1, 2026 00:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants