-
Notifications
You must be signed in to change notification settings - Fork 74
proptest d14n-ordered stream #2933
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
Conversation
|
This PR is part of a stack of 12 bookmarks:
Created with jj-stack |
|
Claude finished @insipx's task —— View job Code Review CompleteReview Date: December 15, 2025 21:25 UTC SummaryThis PR adds comprehensive property-based testing for the ✅ Strengths
💡 Minor Suggestions
🔒 Security & Performance
|
73192df to
971b4a4
Compare
3f3a58c to
6ba6ea2
Compare
6ba6ea2 to
a50ee9d
Compare
971b4a4 to
5ac4ca2
Compare
b10a5c9 to
96e5bea
Compare
5afbe75 to
0e4dc44
Compare
96e5bea to
514b134
Compare
0e4dc44 to
b159bdc
Compare
514b134 to
867ab43
Compare
b159bdc to
254c39d
Compare
867ab43 to
3b6cfb3
Compare
254c39d to
57b66f7
Compare
3b6cfb3 to
8a44bac
Compare
8dda587 to
d1cb961
Compare
3283454 to
bc7e5c4
Compare
4ec3e28 to
f19d0ff
Compare
bc7e5c4 to
82f999c
Compare
82f999c to
7819787
Compare
189f79a to
d0c293f
Compare
7819787 to
db2a1dc
Compare
d0c293f to
cc932d2
Compare
2b01520 to
cf96672
Compare
cc932d2 to
3ec02cb
Compare
cf96672 to
d9065e4
Compare
3ec02cb to
4d7d1b4
Compare
d9065e4 to
cbd0605
Compare
46e5a2a to
76e0de7
Compare
cbd0605 to
75baa56
Compare
76e0de7 to
cd80e47
Compare
75baa56 to
b3948c6
Compare
b3948c6 to
0c8cf67
Compare
<!-- Macroscope's pull request summary starts here --> <!-- Macroscope will only edit the content between these invisible markers, and the markers themselves will not be visible in the GitHub rendered markdown. --> <!-- If you delete either of the start / end markers from your PR's description, Macroscope will post its summary as a comment. --> ### Add proptest regression for ordered stream and expose `crate::protocol::test` during tests to validate stream ordering d14n Add a regression seed file for the ordered stream property test and introduce a test-only re-export `crate::protocol::test`. Implement a proptest `orders_stream_and_ices_missing` in [xmtp_api_d14n/src/queries/stream/ordered.rs](https://github.com/xmtp/libxmtp/pull/2933/files#diff-59cd7abcfecc1658fc695f54e7da04f764862629dabf0aa0e4fafc684c6e732e) that verifies topic clock dominance and asserts non-empty icebox when dependencies are missing. #### 📍Where to Start Start with the `orders_stream_and_ices_missing` property test in [xmtp_api_d14n/src/queries/stream/ordered.rs](https://github.com/xmtp/libxmtp/pull/2933/files#diff-59cd7abcfecc1658fc695f54e7da04f764862629dabf0aa0e4fafc684c6e732e). ---- <!-- Macroscope's review summary starts here --> <a href="https://app.macroscope.com">Macroscope</a> summarized cbd0605. <!-- Macroscope's review summary ends here --> <!-- macroscope-ui-refresh --> <!-- Macroscope's pull request summary ends here -->
Add proptest regression for ordered stream and expose
crate::protocol::testduring tests to validate stream ordering d14nAdd a regression seed file for the ordered stream property test and introduce a test-only re-export
crate::protocol::test. Implement a proptestorders_stream_and_ices_missingin xmtp_api_d14n/src/queries/stream/ordered.rs that verifies topic clock dominance and asserts non-empty icebox when dependencies are missing.📍Where to Start
Start with the
orders_stream_and_ices_missingproperty test in xmtp_api_d14n/src/queries/stream/ordered.rs.Macroscope summarized 0c8cf67.