Skip to content

Revert "Fix pk_range_cache to use .item_by_rid() for correct URL fetching"#4040

Merged
tvaron3 merged 1 commit into
mainfrom
revert-4032-copilot/fix-pk-range-cache-404-issue
Mar 25, 2026
Merged

Revert "Fix pk_range_cache to use .item_by_rid() for correct URL fetching"#4040
tvaron3 merged 1 commit into
mainfrom
revert-4032-copilot/fix-pk-range-cache-404-issue

Conversation

@tvaron3

@tvaron3 tvaron3 commented Mar 25, 2026

Copy link
Copy Markdown
Member

Reverts #4032. Accidentally merged into main.

@tvaron3 tvaron3 marked this pull request as ready for review March 25, 2026 22:55
@tvaron3 tvaron3 requested a review from a team as a code owner March 25, 2026 22:55
Copilot AI review requested due to automatic review settings March 25, 2026 22:55
@github-actions github-actions Bot added the Cosmos The azure_cosmos crate label Mar 25, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Reverts a previous change around how PartitionKeyRangeCache builds container links and handles routing-map fetch failures.

Changes:

  • Switches container link construction back from .item_by_rid(collection_rid) to .item(collection_rid).
  • Removes warning logs when routing-map fetch fails.
  • Removes tests (and related cspell allowlist entries) that validated RID URL encoding behavior.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
sdk/cosmos/azure_data_cosmos/src/routing/partition_key_range_cache.rs Reverts RID-based link building, removes routing-map failure warning log, and deletes related tests.
sdk/cosmos/.cspell.json Removes spellcheck allowlist entries that were only used by the deleted tests.

@github-project-automation github-project-automation Bot moved this from Todo to Approved in CosmosDB Rust SDK and Driver Mar 25, 2026
@tvaron3 tvaron3 merged commit 838dd87 into main Mar 25, 2026
24 checks passed
@tvaron3 tvaron3 deleted the revert-4032-copilot/fix-pk-range-cache-404-issue branch March 25, 2026 23:49
@github-project-automation github-project-automation Bot moved this from Approved to Done in CosmosDB Rust SDK and Driver Mar 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Cosmos The azure_cosmos crate

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants