-
Notifications
You must be signed in to change notification settings - Fork 12
fix timing issues #166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
fix timing issues #166
Conversation
📝 WalkthroughWalkthroughAdds a Changes
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Possibly related PRs
Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 3 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Comment |
✅ Coverage: 90.77% → 90.83% (+0.06%) |
|
This PR adds a processed_at timestamp to messages and enforces deterministic message ordering to fix timing-related inconsistencies (e.g., when created_at ties or devices have clock skew). It updates core message handling, memory and SQLite storage, storage traits, and UniFFI bindings so messages include processing time and are consistently ordered by created_at, processed_at, then id.
What changed:
Security impact:
Protocol changes:
API surface:
Testing: