feat: graph encode/decode + iterator attr access#381
Conversation
- Add encode_with_range() and Decode<19> to AttributeStore for RDB serialization - Add encode_payload() to Graph for chunked RDB encoding - Improve capacity growth in create_nodes/create_relationships for effects replay - Change get_*_all_attrs_by_id to return impl Iterator (avoid Arc<Vec> clone) - Adapt reply.rs to collect iterator before use
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 18 minutes and 49 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #381 +/- ##
==========================================
- Coverage 83.04% 82.50% -0.54%
==========================================
Files 110 110
Lines 29400 29621 +221
==========================================
+ Hits 24414 24439 +25
- Misses 4986 5182 +196
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Summary
encode_with_range()andDecode<19>toAttributeStorefor RDB serializationencode_payload()toGraphfor chunked RDB encoding of nodes, edges, matricescreate_nodes/create_relationshipsfor effects replayget_*_all_attrs_by_idto returnimpl Iterator(avoids Arc clone)reply.rsto work with iterator return typePart of splitting #359 into smaller reviewable PRs.
Test plan
cargo test -p graphpassespytest tests/test_e2e.py -vvpasses