use offline resolver in query group messages#2937
use offline resolver in query group messages#2937insipx wants to merge 8 commits intopush-pnvnmqsyqqqyfrom
Conversation
|
This PR is part of a stack of 12 bookmarks:
Created with jj-stack |
|
Claude finished @insipx's task —— View job Code Review - December 11, 2025, 21:06 UTCReview Summary: This PR introduces an ✅ Code Quality & Design
🔍 Potential IssuesNone identified. The implementation correctly:
⚡ Performance ConsiderationsPositive: This is a performance improvement - eliminates network round-trips for dependency resolution. The PR description indicates this is intentional for group message queries where dependencies will eventually arrive through the normal query flow. 🔒 SecurityNo security concerns. The change reduces network exposure by removing resolution queries. 🧪 Test Coverage
📝 DocumentationThe inline documentation is clear (combinators.rs:31-33), explaining that missing envelopes are iced for future resolution. @neekolas asked about use cases - adding a brief note in the doc comment about when to use offline vs online ordering would be helpful. |
4f24b8d to
a2b5821
Compare
e25312a to
65f499b
Compare
a2b5821 to
5a48b61
Compare
65f499b to
6da5f4e
Compare
5a48b61 to
597c451
Compare
6da5f4e to
5c2b85f
Compare
597c451 to
8d45658
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## push-pnvnmqsyqqqy #2937 +/- ##
=====================================================
+ Coverage 73.67% 73.79% +0.12%
=====================================================
Files 402 404 +2
Lines 51098 51641 +543
=====================================================
+ Hits 37644 38107 +463
- Misses 13454 13534 +80 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
5c2b85f to
f6c9539
Compare
8d45658 to
60fef46
Compare
|
@insipx would be helpful to understand under which circumstances this is meant to be used |
60fef46 to
e2425f7
Compare
cabf7bd to
5a89d04
Compare
e2425f7 to
a30fcd1
Compare
a30fcd1 to
af240c4
Compare
5a89d04 to
4f2fddc
Compare
|
@neekolas the |
70c022c to
6ab5ce5
Compare
Use offline resolver to order group message queries in
xmtp_api_d14nwithout network dependency resolutionIntroduce
OfflineResolveralias and addD14nCombinatorExt::offline_orderedto perform ordering without network resolution; updateordered_query::OrderedQueryto support anofflinemode and switch MLS group message queries to use offline ordering.📍Where to Start
Start with the
mlsquery changes that switch to offline ordering in mls.rs, then review the constructor and mode handling in ordered_query.rs, and finally the new combinator in combinators.rs.Macroscope summarized a2b5821.