PYTHON-5683: Spike: Investigate using Rust for Extension Modules#2699
Draft
aclark4life wants to merge 4 commits intomongodb:PYTHON-5683from
Draft
PYTHON-5683: Spike: Investigate using Rust for Extension Modules#2699aclark4life wants to merge 4 commits intomongodb:PYTHON-5683from
aclark4life wants to merge 4 commits intomongodb:PYTHON-5683from
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
8c59ac1 to
6599757
Compare
|
Assigned |
9a79180 to
1813409
Compare
564f12d to
64faa6d
Compare
- Implement comprehensive Rust BSON encoder/decoder - Add Evergreen CI configuration and test scripts - Add GitHub Actions workflow for Rust testing - Add runtime selection via PYMONGO_USE_RUST environment variable - Add performance benchmarking suite - Update build system to support Rust extension - Add documentation for Rust extension usage and testing"
73969a7 to
e574ce6
Compare
- TestCustomPythonBSONTypeToBSONMonolithicCodec - TestCustomPythonBSONTypeToBSONMultiplexedCodec - TestBSONTypeEnDeCodecs - TestTypeRegistry - TestGridFileCustomType - TestCollectionChangeStreamsWCustomTypes - TestDatabaseChangeStreamsWCustomTypes - TestClusterChangeStreamsWCustomTypes These tests require custom type encoder/decoder support which is not implemented in the Rust extension. Skipping them prevents the 56 test failures related to Decimal/Decimal128 type handling.
- TestRawBatchCursor and TestRawBatchCommandCursor (RawBSONDocument not implemented) - TestBSONCorpus (BSON validation/error detection not fully implemented) - test_uuid_subtype_4, test_legacy_java_uuid, test_legacy_csharp_uuid (legacy UUID representations not implemented) These features are not implemented in the Rust extension and would require significant additional work. Skipping these tests prevents 35 failures.
- Remove references to non-existent benchmark files - Add comprehensive instructions for running perf_test.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Supersedes #2689
Spike: Investigate using Rust for Extension Modules