Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
145 commits
Select commit Hold shift + click to select a range
165ca5d
Python V5 - creating wiring for backend dispatch
dibahlfi May 13, 2026
9e8de0d
create_item operation
dibahlfi May 13, 2026
192fb91
adding build support for PY03 bindings
dibahlfi May 15, 2026
5c64327
added parity checker for create item
dibahlfi May 16, 2026
ec5da3d
fixing bugs
dibahlfi May 17, 2026
179fe97
mapping headers for create_item
dibahlfi May 17, 2026
8c4635a
refactoring tests
dibahlfi May 20, 2026
229671f
adding missed class
dibahlfi May 23, 2026
d6e9072
fix - fixing parity checker
dibahlfi Jun 5, 2026
5ec25d8
fix - parity checker clean up
dibahlfi Jun 5, 2026
a299374
rust migration - adding delete_item initial impl
dibahlfi Jun 6, 2026
d72ad31
delete item cleaning up comments
dibahlfi Jun 7, 2026
d6c9403
adding read_item initial impl
dibahlfi Jun 9, 2026
8db4444
adding upsert_item initial impl
dibahlfi Jun 10, 2026
3480999
adding replace_item initial impl
dibahlfi Jun 10, 2026
f020d22
cleaning up comments
dibahlfi Jun 13, 2026
e10f8bb
cleaning up comments
dibahlfi Jun 15, 2026
eb946d6
Merge branch 'main' into users/dibahl/python-sdk-with-rust-driver
dibahlfi Jun 18, 2026
5f51a58
refactoring crud and cosmos client initialization
dibahlfi Jun 20, 2026
224e2fc
refactoring crud and cosmos client initialization
dibahlfi Jun 21, 2026
31f5913
refactoring crud and cosmos client initialization
dibahlfi Jun 22, 2026
31c1f8f
refactoring and cleaning up comments
dibahlfi Jun 22, 2026
cacd1b4
adding perf tests
dibahlfi Jun 25, 2026
2e8d47b
fixing perf tests
dibahlfi Jun 25, 2026
3d2dd55
fixing more perf configuration
dibahlfi Jun 26, 2026
1b78ed7
fixing more perf configuration
dibahlfi Jun 26, 2026
cf096cc
Fix NameError: import _loop_lag_monitor explicitly in workload.py
dibahlfi Jun 26, 2026
c170732
Treat SIGINT exit 130 as success in perf driver scripts
dibahlfi Jun 26, 2026
0abcc4e
fixing a security issue
dibahlfi Jun 27, 2026
a6ddf94
perf drill: add timeout --kill-after safety net to unattended driver …
dibahlfi Jun 27, 2026
f358588
perf drill: add post-run integrity gate (methodology flags #2/#3/#4)
dibahlfi Jun 27, 2026
9f4a59a
fixing timeout
dibahlfi Jun 27, 2026
f954d54
perf harness: graceful cooperative shutdown for the load loops
dibahlfi Jun 28, 2026
a171f46
fixing a blocking bug
dibahlfi Jun 28, 2026
d6ef061
adding test coverage
dibahlfi Jun 29, 2026
18f9706
adding missed file
dibahlfi Jun 29, 2026
bec846d
cleaning up comments
dibahlfi Jun 29, 2026
c0c1c6a
Perf drill: concrete backend provenance + harness hardening
dibahlfi Jun 30, 2026
81566af
refactoring perf scripts
dibahlfi Jun 30, 2026
0bcd7fe
adding more tests
dibahlfi Jun 30, 2026
89f09ff
adding diagnostics
dibahlfi Jul 1, 2026
2a848ad
cleaning up comments
dibahlfi Jul 2, 2026
e9c848d
Add Phase 0 baseline + Phase C scale-sweep results; harden provenance…
dibahlfi Jul 2, 2026
1c56bcf
Perf drill doc: add per-phase client VM names + engine build/versioni…
dibahlfi Jul 2, 2026
178dd04
Add per-attempt wire-diagnostics counters to the Rust binding
dibahlfi Jul 2, 2026
0d62335
perf harness: capture x-ms-request-duration-ms for client-vs-server l…
dibahlfi Jul 2, 2026
9e99c61
docs(perf): root-cause the Phase 0 Read/Create tail — no regression o…
dibahlfi Jul 2, 2026
b0463a1
Perf harness: driver provenance, run isolation, scale-out + create-se…
dibahlfi Jul 3, 2026
9cd5961
hardening perf scripts
dibahlfi Jul 3, 2026
16892eb
Cosmos perf harness: add mixed/doc-size/cold-start modes + provenance…
dibahlfi Jul 3, 2026
13b66bb
clean up
dibahlfi Jul 5, 2026
bce5a37
adding tests
dibahlfi Jul 7, 2026
681a587
adding documentation
dibahlfi Jul 7, 2026
f17959c
adding query_items and read_feed changes
dibahlfi Jul 9, 2026
9f8d625
adding feed_range_from_partition_key migration impl
dibahlfi Jul 10, 2026
77a4c34
adding read_all_items migration impl
dibahlfi Jul 13, 2026
b74adb8
adding read_offer migration impl
dibahlfi Jul 14, 2026
572cd6c
adding replace_offer migration impl
dibahlfi Jul 16, 2026
46f575f
adding feed_range_subset impl
dibahlfi Jul 17, 2026
94855f1
refactoring and adding tests
dibahlfi Jul 22, 2026
fe0db66
implementing create_database in rust
dibahlfi Jul 22, 2026
35a42b2
implementing create_database_if_not_exists in rust
dibahlfi Jul 23, 2026
690ff00
cleaning up comments
dibahlfi Jul 24, 2026
8af54ca
adding transport diagnostics string
dibahlfi Jul 24, 2026
94d71b8
fixing create_database_if_not_exists bug
dibahlfi Jul 24, 2026
df95dc2
adding release document
dibahlfi Jul 26, 2026
2e5a3e3
adding performance document
dibahlfi Jul 26, 2026
dc2104e
adding request flow document
dibahlfi Jul 26, 2026
edd98df
fixing release document
dibahlfi Jul 26, 2026
40ed219
adding queryplan support
dibahlfi Jul 28, 2026
c6fd038
adding comments for perf scripts
dibahlfi Jul 28, 2026
fd1e3f4
adding libs
dibahlfi Jul 28, 2026
5abb311
implementing database-read migration
dibahlfi Jul 31, 2026
78989ba
cleaning up scripts
dibahlfi Aug 1, 2026
4feeeef
adding list_databases rust impl
dibahlfi Aug 5, 2026
f9eaec2
adding database/throughput operations rust migration
dibahlfi Aug 9, 2026
c595948
refactoring and cleaning up
dibahlfi Aug 10, 2026
4348789
refactoring profiling scripts
dibahlfi Aug 11, 2026
590c80e
fixing profiling bugs
dibahlfi Aug 11, 2026
b0307dd
updating build_and_release documentation
dibahlfi Aug 12, 2026
b67336f
updating build_and_release documentation
dibahlfi Aug 17, 2026
a6f0c06
updating/refactoring content
dibahlfi Sep 4, 2026
b195f50
cleaning up existing code
dibahlfi Sep 14, 2026
a7b5972
merge main into rust migration branch
dibahlfi Sep 14, 2026
bc283ba
major refactoring with the help of copilot
dibahlfi Sep 17, 2026
5f249f3
cleaning up comments
dibahlfi Sep 17, 2026
583ffd3
refactoring create_database operation
dibahlfi Sep 18, 2026
16d6f01
refactoring list_database operation
dibahlfi Sep 18, 2026
70e144b
cleaning up comments
dibahlfi Sep 19, 2026
7152aa2
fixing co-pilot reported bugs
dibahlfi Sep 19, 2026
b4a3c34
fixing co-pilot reported bugs
dibahlfi Sep 20, 2026
0826482
cleaning up code
dibahlfi Sep 21, 2026
105b547
comments refactoring
dibahlfi Sep 21, 2026
c5bbc33
comments refactoring
dibahlfi Sep 22, 2026
e46e67b
code refactoring
dibahlfi Sep 22, 2026
f35c9d4
code refactoring
dibahlfi Sep 23, 2026
db4a534
code refactoring
dibahlfi Sep 23, 2026
f16153c
telemetry first POC
dibahlfi Sep 25, 2026
660a7d2
fixing profiling scripts
dibahlfi Sep 25, 2026
2df336a
fixing profiling scripts
dibahlfi Sep 25, 2026
abc185a
adding tests
dibahlfi Sep 28, 2026
bad93c2
fixing perf tests
dibahlfi Sep 30, 2026
ea5d57d
updating rust driver
dibahlfi Sep 30, 2026
f72bf11
rust profiling fixes
dibahlfi Sep 30, 2026
f0cca3e
adding api-review document
dibahlfi Oct 1, 2026
a53fbf0
adding initial telemetry support
dibahlfi Oct 10, 2026
d08a3a4
removing redundant code(resource token)
dibahlfi Oct 13, 2026
4d27532
Merge branch 'main' into users/dibahl/python-sdk-with-rust-driver
dibahlfi Oct 13, 2026
5d77128
adding support for singed binaries
dibahlfi Oct 13, 2026
28c9579
adding support for singed binaries
dibahlfi Oct 14, 2026
624fa27
Merge branch 'main' into users/dibahl/python-sdk-with-rust-driver
dibahlfi Oct 14, 2026
f64b4ee
migrating tests
dibahlfi Oct 16, 2026
3f60622
Merge branch 'main' into users/dibahl/python-sdk-with-rust-driver
dibahlfi Oct 16, 2026
7c4bc7e
updating tests
dibahlfi Oct 16, 2026
6538e0a
Merge branch 'main' into users/dibahl/python-sdk-with-rust-driver
dibahlfi Oct 16, 2026
4ae1341
adding toxyproxy
dibahlfi Oct 18, 2026
5d5c338
cleaning up tests
dibahlfi Oct 19, 2026
03b264c
renaming tests for better identification
dibahlfi Oct 19, 2026
0a8bc29
more refactoring
dibahlfi Oct 20, 2026
d47da99
clean up code and adding more tests
dibahlfi Oct 22, 2026
e0a168b
removing eng changes
dibahlfi Oct 22, 2026
f330915
updated docs
dibahlfi Oct 22, 2026
3dd595c
cleaning up from_connection_string api
dibahlfi Oct 23, 2026
b22bffd
fixing pipeline errors
dibahlfi Oct 23, 2026
83d0ed3
refactoring toxiproxy and other tests
dibahlfi Nov 5, 2026
ae8d95d
refactoring tests
dibahlfi Nov 5, 2026
94e6311
refactoring
dibahlfi Nov 7, 2026
57caf15
Fix profiling workload application labels for Rust
dibahlfi Nov 7, 2026
9dfa7c3
fixing pipeline
dibahlfi Nov 7, 2026
a155e69
workload harness improvements
dibahlfi Nov 8, 2026
8231384
fixing bugs
dibahlfi Nov 8, 2026
00e163d
Merge branch 'main' into users/dibahl/python-sdk-with-rust-driver
dibahlfi Nov 8, 2026
88eb393
harness improvements
dibahlfi Nov 8, 2026
4454e5f
adding query harness
dibahlfi Nov 10, 2026
d7f8ad5
fixing harness
dibahlfi Nov 10, 2026
9e51586
refactoring
dibahlfi Nov 13, 2026
6f0ae49
docs: add Rust migration reviewer guide
dibahlfi Nov 13, 2026
2ed1bf9
refactoring and cleaning up
dibahlfi Nov 16, 2026
b698cec
Merge branch 'main' into users/dibahl/python-sdk-with-rust-driver
dibahlfi Nov 16, 2026
2724779
fixing generate doc step
dibahlfi Nov 16, 2026
19f6b13
fixing test file markers
dibahlfi Nov 17, 2026
617f6c3
fixing test file markers
dibahlfi Nov 17, 2026
04d834f
refactor(cosmos): clarify shared client context naming
dibahlfi Nov 20, 2026
113ccc5
fixing test file markers
dibahlfi Nov 20, 2026
2398921
test failures and carog lock fix
dibahlfi Nov 21, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ ENV_DIR/
.assets/
/.github/aw/logs/

# Local Cosmos diagnostic and test artifacts
/ART/list-db-marker-fix.xml
/sdk/cosmos/azure-cosmos/local-driver-cargo-metadata.json
/sdk/cosmos/azure-cosmos/local-driver-cargo-metadata.stderr.txt
/sdk/cosmos/azure-cosmos/local-driver-lock-diff-summary.txt

# Perf test profiling
cProfile-*.pstats

Expand Down
27 changes: 27 additions & 0 deletions sdk/cosmos/azure-cosmos/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Rust build artifacts (anchored to this package).
# Cargo.lock is tracked on purpose: builds use --locked.
# _rust.pyi is tracked source, so only the compiled extension files are listed.
/target/
/azure/cosmos/*.pdb
/azure/cosmos/_rust*.so
/azure/cosmos/_rust*.pyd
/azure/cosmos/_rust*.dylib

# Local override that builds against a driver checkout instead of the pinned
# commit. See docs/build_and_release.md section 7.
/.cargo/

# Local Clippy output
/bite52-clippy.txt

# Local working notes: parity audits, API-review notes, and design scratch.
# Kept on each developer's machine only and never committed.
/docs/V5/

# Workload credentials, including copies in nested workload folders.
# profiling_target.env contains no secrets and remains checked in.
/tests/workloads/**/*secrets.env

# Generated workload profiler captures, logs, reports, and run manifests.
/tests/workloads/**/artifacts/
/tests/workloads/**/logs/
9 changes: 9 additions & 0 deletions sdk/cosmos/azure-cosmos/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@

#### Bugs Fixed

* The Rust backend now preserves original Python credential exceptions, including
their type and identity. Credential timeouts are no longer reported as SDK
operation deadline failures.

* `create_item` and `create_database_if_not_exists` now reject asynchronous
response hooks before sending any operation request,
rather than silently leaving the hook's coroutine unawaited. Sync and async
clients continue to invoke synchronous hooks after a successful response.

* Fixed hybrid-search reciprocal rank fusion (RRF) results being ranked incorrectly when component scores are tied.
Each result now receives a unique ordinal rank, with deterministic tie-breaking based on the decoded document ID
portion of `_rid`. See [PR 49623](https://github.com/Azure/azure-sdk-for-python/pull/49623).
Expand Down
Loading
Loading