instance_id
stringlengths
10
65
repo
stringlengths
5
59
pr_number
int64
1
313k
task_type
stringclasses
1 value
base_commit
stringlengths
40
40
review_commit
stringlengths
40
40
title
stringlengths
2
282
body
stringlengths
7
3k
patch
stringlengths
202
204k
n_defects
int64
1
72
n_supported
int64
1
65
n_major
int64
0
32
defects
stringlengths
140
18.8k
certifier_count
int64
Azure__azure-sdk-for-java__48839
Azure/azure-sdk-for-java
48,839
defect
12b351101c79aaacbb36d4a1b90556e5d812f10d
dea4f8445ae48e130b2ebd917463fe60747e0de4
[ContentUnderstanding] Add usage details to invoice sample and tests
# Description Add usage details display and assertions to the invoice sample and tests for `azure-ai-contentunderstanding`. The Java SDK already exposes `UsageDetails` through the TypeSpec-generated `ContentAnalyzerAnalyzeOperationStatus.getUsage()` method — this PR adds sample code and test coverage demonstrating h...
diff --git a/sdk/contentunderstanding/azure-ai-contentunderstanding/src/samples/java/com/azure/ai/contentunderstanding/samples/Sample03_AnalyzeInvoice.java b/sdk/contentunderstanding/azure-ai-contentunderstanding/src/samples/java/com/azure/ai/contentunderstanding/samples/Sample03_AnalyzeInvoice.java index 660df8d8d39f....
3
2
1
[{"id": "G0", "claim": "The refactored async test's terminal check treats any complete status (including FAILED/USER_CANCELLED) as success, so `pollResponse.getValue()` may not contain a result/usage and the test proceeds with nulls instead of failing with the service error; check explicitly for SUCCESSFULLY_COMPLETED ...
null
Azure__azure-sdk-for-java__48858
Azure/azure-sdk-for-java
48,858
defect
506208a38c385c41b0a4df24b5f6c57aa0d39035
eb358df841c7d67f0c3df892169cdde0d5d90c2c
Enhance HttpResponse to include new method to return InputStream
This pull request introduces a new utility class, `FluxInputStream`, which allows consuming a `Flux<ByteBuffer>` as a blocking `InputStream`. This enables synchronous reading of HTTP response bodies that are provided as reactive streams. The change also adds comprehensive tests for this new class and updates `HttpRespo...
diff --git a/sdk/core/azure-core/CHANGELOG.md b/sdk/core/azure-core/CHANGELOG.md index 8108630355d4..113d368315b5 100644 --- a/sdk/core/azure-core/CHANGELOG.md +++ b/sdk/core/azure-core/CHANGELOG.md @@ -4,6 +4,8 @@ ### Features Added +- Added `getBodyAsInputStreamSync()` method to `HttpResponse` that returns the r...
8
4
3
[{"id": "G0", "claim": "There is a race between close() and the onSubscribe callback: if close() happens before subscription is assigned, the stream will not cancel the subscription and onSubscribe will still call request(1), so work/resources may leak after close.", "category": "correctness", "verdict": "supported", "...
null
Azure__azure-sdk-for-java__48890
Azure/azure-sdk-for-java
48,890
defect
09eccb092a19c6272da69933c5fd1c87150e019b
74f8d6bf6fddf83af124fd02f46f920b758bfbb7
Add exception handler on HTTP/2 parent channel to suppress WARN logs
## Problem Customers see noisy Netty WARN logs in HTTP/2 scenarios: ``` An exceptionCaught() event was fired, and it reached at the tail of the pipeline. io.netty.channel.unix.Errors$NativeIoException: recvAddress(..) failed with error(-104): Connection reset by peer ``` ## Root Cause In HTTP/2, reactor-...
diff --git a/sdk/cosmos/azure-cosmos-tests/src/test/java/com/azure/cosmos/implementation/http/Http2ParentChannelExceptionHandlerTest.java b/sdk/cosmos/azure-cosmos-tests/src/test/java/com/azure/cosmos/implementation/http/Http2ParentChannelExceptionHandlerTest.java new file mode 100644 index 0000000000000..7696ab44d5531...
10
10
3
[{"id": "G0", "claim": "The inline comment in ReactorNettyClient says the parent-channel handler consumes exceptions at DEBUG level, but the handler logs WARN when there are active streams on an active channel, so the comment should be updated to describe the actual state-based behavior.", "category": "documentation", ...
null
Azure__azure-sdk-for-java__48930
Azure/azure-sdk-for-java
48,930
defect
e73510225bf5afd70c4f6b30fc6a2c3add0a9bc9
a3a8002086105a194caf808b3c77007403173925
Adds option to configure max batch size in readManyByPartitionKeys
# Description Please add an informative description that covers that changes made by the pull request and link all relevant issues. If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above. # All SDK Contribution checkl...
diff --git a/sdk/cosmos/azure-cosmos-spark_3/dev/README.md b/sdk/cosmos/azure-cosmos-spark_3/dev/README.md index a7b7c1e0ca9e..ad3a946695d7 100644 --- a/sdk/cosmos/azure-cosmos-spark_3/dev/README.md +++ b/sdk/cosmos/azure-cosmos-spark_3/dev/README.md @@ -48,6 +48,7 @@ mvn -e -DskipTests -Dgpg.skip -Dmaven.javadoc.skip=...
5
4
2
[{"id": "G0", "claim": "The getter JavaDoc stating the SDK default is 100 when maxBatchSize is not set is potentially misleading because the effective default can be overridden globally via COSMOS.READ_MANY_BY_PK_MAX_BATCH_SIZE, so it should be reworded to mention that configurability.", "category": "documentation", "v...
null
Azure__azure-sdk-for-rust__1724
Azure/azure-sdk-for-rust
1,724
defect
a7f72044f4c8a739e2daea97968737ca48a0a17b
10417fb930fb4ff4bf511459bcec53ef05076c6e
Take 2: Refactoring Response<T> to collapse json/xml methods
Ok, here's another approach for the `Response<T>` refactor that's primarily motivated by the fact that our latest attempt was stymied by the fact that Rust does not permit default values on type parameters for functions. As a reminder, here are our goals: * Allow the user to specify their own model type to deseri...
diff --git a/eng/test/mock_transport/src/mock_response.rs b/eng/test/mock_transport/src/mock_response.rs index bccc52955b1..a18388666c0 100644 --- a/eng/test/mock_transport/src/mock_response.rs +++ b/eng/test/mock_transport/src/mock_response.rs @@ -1,7 +1,7 @@ use azure_core::{ base64, error, headers::{Heade...
8
7
1
[{"id": "G0", "claim": "A derive macro (e.g. #[derive(JsonModel)] or #[model(json)]) would be preferable to the functional json_serializable!/xml_serializable! macros, though not worth blocking on.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "read_body...
null
Azure__azure-sdk-for-rust__1758
Azure/azure-sdk-for-rust
1,758
defect
6409e8206dffe998051e1dfaef96eaf8170826e7
c6f30c316290d200be5b54990a1eb79102652ab8
Allow setting custom properties in service_bus send_message()
Following on the recent broker_properties additions, it'd be nice to be able to set custom properties as well.
diff --git a/sdk/messaging_servicebus/src/service_bus/mod.rs b/sdk/messaging_servicebus/src/service_bus/mod.rs index 43708ea1e37..7c9bc722663 100644 --- a/sdk/messaging_servicebus/src/service_bus/mod.rs +++ b/sdk/messaging_servicebus/src/service_bus/mod.rs @@ -315,6 +315,7 @@ impl FromStr for BrokerProperties { pub st...
1
1
1
[{"id": "G0", "claim": "The `custom_properties` option should use a plain, efficient `HashMap<String, String>` instead of the `headers::Headers` type, which is an implementation detail callers should not need to know or care about.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}...
null
Azure__azure-sdk-for-rust__1899
Azure/azure-sdk-for-rust
1,899
defect
402a961a652ebc907619b5110841cfd84811e99f
1988e1eb6697231fce208c9e7c2690d3e08b5a81
Fix typespec_derive compilation tests
Fixes #1896 There were two problems here, and I've fixed both: 1. The compilation tests have the wrong path in their path reference. I moved the compilation tests to a different directory and forgot to update this. However, because of the next issue, the tests didn't fail 2. The tests don't fail if a file pro...
diff --git a/sdk/typespec/typespec_derive/tests/compilation-tests.rs b/sdk/typespec/typespec_derive/tests/compilation-tests.rs index b5ff7af5f70..6fe6199fd4c 100644 --- a/sdk/typespec/typespec_derive/tests/compilation-tests.rs +++ b/sdk/typespec/typespec_derive/tests/compilation-tests.rs @@ -1,7 +1,11 @@ // Copyright ...
2
1
0
[{"id": "G0", "claim": "Spawning cargo with both stdout and stderr piped and collecting them via wait_with_output may deadlock, as the reviewer experienced with a similar pattern in #1895.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The compilati...
null
Azure__azure-sdk-for-rust__2200
Azure/azure-sdk-for-rust
2,200
defect
0e2f80ae1ef915b4c138df1c2065958ed9ccbe06
f8d2ad1d43d3bdabb6c9ddf50d12860f54b5d359
remove async-std and replace with tokio/futures
https://github.com/Azure/azure-sdk-for-rust/issues/2173
diff --git a/Cargo.lock b/Cargo.lock index 080d76e51d5..efd0ac917c3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -96,16 +96,6 @@ version = "1.0.94" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c1fd03a028ef38ba2276dce7e33fcd6369c158a1bca17946c4b1b701891c1ff7" -[[package]] -name = "asyn...
5
4
3
[{"id": "G0", "claim": "The futures::future::ready(()) line added to test_round_trip_batch was unexpected, and the live tests should be run to make sure the change still works.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The AMQP layer's synchronous ...
null
Azure__azure-sdk-for-rust__2273
Azure/azure-sdk-for-rust
2,273
defect
f1fe84ff4eb036497506ac436701e4067e3e5fc2
fb3297bade96eff605ffa0f537719792ade49460
[Storage] `stage_block`, `commit_block_list` for `BlobClient`, `get_container_properties` for `ContainerClient`, `ServiceClient`
This PR introduces the following: BlobClient - `stage_block` - `commit_block_list` ContainerClient - `get_container_properties` ServiceClient - Initial introduction of `ServiceClient` - `get_service_properties` This PR also moves to the standardized way to fetch randomized seeded names (`random_string`...
diff --git a/Cargo.lock b/Cargo.lock index b46ad82b095..8ee80107780 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -449,6 +449,7 @@ dependencies = [ "azure_core", "azure_core_test", "azure_identity", + "azure_storage_blob_test", "azure_storage_common", "serde", "time", @@ -458,6 +459,16 @@ dependencies = [ "...
14
11
2
[{"id": "G0", "claim": "Version is not a container property, so ContainerProperties should drop the version field and all of its parsing logic.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The leftover debug println! calls of the container and blo...
null
Azure__azure-sdk-for-rust__2274
Azure/azure-sdk-for-rust
2,274
defect
f1fe84ff4eb036497506ac436701e4067e3e5fc2
ba6ef4f1df0b7583c5958d553f62eb0ab92161d5
Trace stdout from test-proxy
This is a big refactor of the test-proxy wrapper that will precede other work. This will help diagnose issues that, in the past, you could only do if you started the test-proxy separately and remembered to pass `PROXY_MANUAL_START=true` when testing.
diff --git a/rust-toolchain.toml b/rust-toolchain.toml index b8f83b40880..79364bf2a35 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,5 +1,5 @@ [toolchain] -channel = "1.80.0" +channel = "stable" components = [ "rustc", "rustfmt", diff --git a/sdk/core/azure_core_test/README.md b/sdk/core/azure...
1
1
0
[{"id": "G0", "claim": "The README sentence should read \"You can configure tracing using the [`RUST_LOG`](https://docs.rs/env_logger) environment variable.\" instead of the ungrammatical \"You can configuring using ...\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Azure__azure-sdk-for-rust__2306
Azure/azure-sdk-for-rust
2,306
defect
3aae49866182d8efb4056b9e7386f8e3d412a46b
4a0a54ea978b518b38f80df9d32d6be3628ba07d
Add AzurePipelinesCredential
Resolves #2030. This includes some small amount of refactoring of existing code that will be necessary sooner than later, but I didn't want to take all that on in this PR focused on `AzurePipelinesCredential`. Still, I wasn't about to repeat the same antiquated patterns.
diff --git a/.vscode/settings.json b/.vscode/settings.json index 73d2a89b4d1..016a4343440 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -2,10 +2,13 @@ "azure-pipelines.1ESPipelineTemplatesSchemaFile": true, "cSpell.enabled": true, "editor.formatOnSave": true, + "markdownlint.config": { + ...
2
1
0
[{"id": "G0", "claim": "The DX that MockHttpClient's trait bound forces on callers (having to pin the returned future, e.g. Box::pin(async move { ... })) is unwieldy, and the author asks whether there are better alternatives.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id...
null
Azure__azure-sdk-for-rust__2431
Azure/azure-sdk-for-rust
2,431
defect
65ef3f737ad962ea5503002d85068384f0eff618
83a783157a0fd87362d9ca138bb74aca93ab7e2b
[Storage] `azure_storage_blob` release prep (+ `delete()` for `BlobClient`)
This PR contains the following changes: - Authoring of the initial `README.md` and `CHANGELOG.md` files - Addition of the `delete()` API for `BlobClient` - I thought this was introduced in the initial API surface PR, but must have been overlooked. Either way I think this is important enough to make one more la...
diff --git a/sdk/storage/.dict.txt b/sdk/storage/.dict.txt index 8a1669e135c..bc9d56ec127 100644 --- a/sdk/storage/.dict.txt +++ b/sdk/storage/.dict.txt @@ -19,3 +19,4 @@ immutabilitypolicy uncommittedblobs policyid ruleid +westus diff --git a/sdk/storage/assets.json b/sdk/storage/assets.json index 98c86c45378..d048...
9
8
0
[{"id": "G0", "claim": "The doc comment on delete() should be simplified to something like \"Deletes the Blob\" instead of the confusing \"Marks the specified blob for deletion ... garbage collection\" wording (and the tsp eventually updated to reflect this).", "category": "documentation", "verdict": "supported", "prio...
null
Azure__azure-sdk-for-rust__2525
Azure/azure-sdk-for-rust
2,525
defect
4e0696831c873aa2eb28bd22aba8c19db3667e8c
ae3d2c8e2d7a1ff8537b60908158ae1ed9cf90a9
[Storage] Improve Storage test utilities and refactor navigation methods
This PR contains the following: - Improves the Storage test utilities for common cases (i.e. conditionally create a container upon instrumentation) - Updates the navigation methods so that the pipeline properly persists
diff --git a/sdk/storage/assets.json b/sdk/storage/assets.json index 01546c1da66..2de2c43c23a 100644 --- a/sdk/storage/assets.json +++ b/sdk/storage/assets.json @@ -1,6 +1,6 @@ { "AssetsRepo": "Azure/azure-sdk-assets", "AssetsRepoPrefixPath": "rust", - "Tag": "rust/azure_storage_blob_99380d9553", + "Tag": "rus...
3
3
0
[{"id": "G0", "claim": "The struct fields the PR made pub(crate) (here in BlobClient and elsewhere in the other clients) should be limited to pub(super) instead, so they are visible only to the parent module and below.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1"...
null
Azure__azure-sdk-for-rust__2629
Azure/azure-sdk-for-rust
2,629
defect
12d56d793a77eecf10a9c0e0721bc0da7b08a3d4
07f189481bf7c7b7a95a95cc7e2f8aebd3366c83
Add GetTokenOptions
Closes #2566
diff --git a/sdk/core/azure_core/Cargo.toml b/sdk/core/azure_core/Cargo.toml index b3969c58342..9a36ab6f42a 100644 --- a/sdk/core/azure_core/Cargo.toml +++ b/sdk/core/azure_core/Cargo.toml @@ -27,7 +27,7 @@ sha2 = { workspace = true, optional = true } tokio = { workspace = true, optional = true } tracing.workspace = ...
4
2
1
[{"id": "G0", "claim": "Inserting into the token cache while holding an RwLock read guard will not compile and can lead to race conditions; a write lock should be acquired before modifying the HashMap.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "...
null
Azure__azure-sdk-for-rust__2640
Azure/azure-sdk-for-rust
2,640
defect
8e6ade3cbcd948e1a7308b848cb167d18911b150
e4919e31bae6e08f68677e4e9ced9756dba2a64d
Switch EH to use a bicep file for deployment; Updated benchmarks to work.
Switched EventHubs to use `test-resources.bicep` files instead of `test-resources.json` files. Updated benchmarks to use .env files instead of the raw environment.
diff --git a/Cargo.lock b/Cargo.lock index cfbee8991b1..1e1f5edc968 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -302,6 +302,7 @@ dependencies = [ "azure_identity", "azure_messaging_eventhubs", "criterion", + "dotenvy", "futures", "rand", "rand_chacha", diff --git a/sdk/eventhubs/azure_messaging_eventhubs/Ca...
8
7
3
[{"id": "G0", "claim": "The logic is inverted: when tenantIsTME is true, !tenantIsTME is false, so local auth is enabled; to match the comment, use disableLocalAuth: tenantIsTME or update the comment.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "A...
null
Azure__azure-sdk-for-rust__2705
Azure/azure-sdk-for-rust
2,705
defect
8026701e32039dbe2389e896a34c7bfd02a961a4
87d6a21b63560ec1f28f44bbee218817eeed6bac
Added if_match_etag to Item Options
Added if_match_etag functionality and tests for replace item, upsert item, delete item, and patch item functions. Tests added include item_replace_if_match_etag, item_upsert_if_match_etag, item_delete_if_match_etag, and item_patch_if_match_etag. All these tests include a scenario with using if_match_etag with the corre...
diff --git a/sdk/cosmos/azure_data_cosmos/CHANGELOG.md b/sdk/cosmos/azure_data_cosmos/CHANGELOG.md index 5be47ed21c3..a17f619be3d 100644 --- a/sdk/cosmos/azure_data_cosmos/CHANGELOG.md +++ b/sdk/cosmos/azure_data_cosmos/CHANGELOG.md @@ -17,6 +17,7 @@ * Added a function `CosmosClient::with_connection_string` to enable ...
16
16
2
[{"id": "G0", "claim": "The new CHANGELOG entry should link to this pull request instead of saying (tbd).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The type annotation on `let link: ResourceLink = database_link...` should not be needed and sh...
null
Azure__azure-sdk-for-rust__2717
Azure/azure-sdk-for-rust
2,717
defect
bff964b2bdb09284b9dea94fc9cb8ffe2011522c
0d247492f1a855628af2e5345355cf54975a2991
[Storage] `list_containers` for BlobServiceClient
This PR implements `list_containers` for `BlobServiceClient` and adds tests coverage.
diff --git a/sdk/storage/assets.json b/sdk/storage/assets.json index ee843dd8525..f1df7b7e175 100644 --- a/sdk/storage/assets.json +++ b/sdk/storage/assets.json @@ -1,6 +1,6 @@ { "AssetsRepo": "Azure/azure-sdk-assets", "AssetsRepoPrefixPath": "rust", - "Tag": "rust/azure_storage_blob_c7d15a00d1", + "Tag": "rus...
2
2
1
[{"id": "G0", "claim": "list_containers should return a Pager (ItemIterator) over containers instead of a PageIterator over pages, since most customers want the containers directly and anyone who needs whole responses can call Pager::into_pages().", "category": "design", "verdict": "supported", "priority": "P1", "scope...
null
Azure__azure-sdk-for-rust__2841
Azure/azure-sdk-for-rust
2,841
defect
5b0b25a60b90fb670eed9bb54f21de6e03f82407
34eca1eca79d8e350d93f443704c252b2be0b2d6
[Storage] Fix Etag serde rename
TypeSpec Changes: https://github.com/Azure/azure-rest-api-specs/pull/36377
diff --git a/sdk/storage/azure_storage_blob/src/generated/models/pub_models.rs b/sdk/storage/azure_storage_blob/src/generated/models/pub_models.rs index c53356b7a97..0ebf6563c61 100644 --- a/sdk/storage/azure_storage_blob/src/generated/models/pub_models.rs +++ b/sdk/storage/azure_storage_blob/src/generated/models/pub_m...
1
1
0
[{"id": "G0", "claim": "The clone() on blob.properties is unnecessary; since blob.properties is accessed again on line 110, extract blob.properties.unwrap() into a variable instead of cloning.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Azure__azure-sdk-for-rust__2842
Azure/azure-sdk-for-rust
2,842
defect
f035043df36c77b1f80a03c33d9aeeecb652f8d1
210225f14b93653d618dee4f472830e43f9f6b51
Updated changelog for August release
Also tidying up some release details for azure_core_opentelemetry package.
diff --git a/Cargo.toml b/Cargo.toml index 45abfa06286..dbfd24447ae 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -54,6 +54,9 @@ path = "sdk/core/azure_core" version = "0.1.0" path = "sdk/core/azure_core_macros" +[workspace.dependencies.azure_core_opentelemetry] +version = "0.1.0" +path = "sdk/core/azure_core_opentel...
4
3
1
[{"id": "G0", "claim": "The distributed tracing documentation link added to the azure_core changelog is missing the 'blob/main/' path component and should be corrected.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer questions whether ...
null
Azure__azure-sdk-for-rust__2896
Azure/azure-sdk-for-rust
2,896
defect
b9f114e3ef48f3844552af43f9caf32f452d724a
93fb65a63a954055c549a7a3bfc0e27ccbab2c3d
Added ability to test distributed tracing functionality.
Fixes #2769 - Adds ability to easily test distributed tracing. Also adds a test example for KeyVault Secrets APIs. This PR introduces a new `azure_core_test` API named `assert_instrumentation_information` whose purpose is to ensure that the distributed tracing information is correctly generated for a given servic...
diff --git a/sdk/core/azure_core/src/http/pipeline.rs b/sdk/core/azure_core/src/http/pipeline.rs index 5fc0bc852f4..8254aec0730 100644 --- a/sdk/core/azure_core/src/http/pipeline.rs +++ b/sdk/core/azure_core/src/http/pipeline.rs @@ -57,8 +57,19 @@ impl Pipeline { let tracer = core_client_options ....
8
4
0
[{"id": "G0", "claim": "The comparison `api_call.expected_status_code != 200` should use `StatusCode::Ok` instead of the magic number 200 for better type safety and readability.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `create_client` ...
null
Azure__azure-sdk-for-rust__3002
Azure/azure-sdk-for-rust
3,002
defect
ee9cecbe13609b6f833d7455d96692f11dbe8586
c2cc2dad23bee53ea2063673026ae2c43519bf1e
[Storage] Prep for `v0.5.0` azure_storage_blob release
`.tsp`: https://github.com/Azure/azure-rest-api-specs/pull/37428 - Authors changelog (will need a follow-up PR to get the correct date in once settled) - Regenerate against `feature/blob-tsp-rust` (which seems to be missing some stuff from latest merged PR, probably bad merge resolution) - Small docstring correcti...
diff --git a/sdk/storage/azure_storage_blob/CHANGELOG.md b/sdk/storage/azure_storage_blob/CHANGELOG.md index 865fa518d70..5e07fa97f8a 100644 --- a/sdk/storage/azure_storage_blob/CHANGELOG.md +++ b/sdk/storage/azure_storage_blob/CHANGELOG.md @@ -4,11 +4,17 @@ ### Features Added -### Breaking Changes +* Added suppor...
2
1
0
[{"id": "G0", "claim": "The changelog is missing a release date for v0.5.0 and should get one, per the PR description via a follow-up once the date is settled.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Prefer an explicit empty HashMap constru...
null
Azure__azure-sdk-for-rust__3010
Azure/azure-sdk-for-rust
3,010
defect
e937161839c49f0002886cdc0e4b92e938343bea
a6de4988ea44e823575c01ad0809fcb633267602
[Storage] `exists()` for BlobClient and BlobContainerClient
`.tsp:` https://github.com/Azure/azure-rest-api-specs/pull/37542 - Implements `exists()` for `BlobClient` and `BlobContainerClient` - Introduces the `StorageErrorCode` enum from generated code changes.
diff --git a/sdk/storage/azure_storage_blob/assets.json b/sdk/storage/azure_storage_blob/assets.json index 4f9a9f3d8e7..de40fbe04ad 100644 --- a/sdk/storage/azure_storage_blob/assets.json +++ b/sdk/storage/azure_storage_blob/assets.json @@ -1,6 +1,6 @@ { "AssetsRepo": "Azure/azure-sdk-assets", "AssetsRepoPrefixP...
2
2
1
[{"id": "G0", "claim": "The `exists()` doc comment documents an `options` parameter that the method signature does not have; remove that parameter documentation (or add the parameter).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "exists() should...
null
Azure__azure-sdk-for-rust__3038
Azure/azure-sdk-for-rust
3,038
defect
f77717390fae28c3fe7b343a7d5cd4c637e0e591
caf9e8bb9d5078c3cda44db007422e05c13f9087
Cleaned up eventhubs disconnect operations
Partial fix for #2944 The errors generated come from dropping a connection without first closing the connection (and sessions, etc on the connection). This PR makes the connection close logic much more deterministic and close operations are now much more likely to succeed.
diff --git a/sdk/core/azure_core_amqp/src/fe2o3/management.rs b/sdk/core/azure_core_amqp/src/fe2o3/management.rs index bfbe6f682a8..a061c4ca261 100644 --- a/sdk/core/azure_core_amqp/src/fe2o3/management.rs +++ b/sdk/core/azure_core_amqp/src/fe2o3/management.rs @@ -86,6 +86,9 @@ impl AmqpManagementApis for Fe2o3AmqpMana...
5
4
0
[{"id": "G0", "claim": "The commented-out `| AmqpErrorKind::ConnectionDropped(_)` match arm should be removed from the codebase instead of being left commented out.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The consumer_error test should no...
null
Azure__azure-sdk-for-rust__3166
Azure/azure-sdk-for-rust
3,166
defect
5c3cf3aec0493338f962beb14e971a931f24489f
929fc468ce6daf19e29ee71537526d281eb759d4
cosmos: Allow the Query Pipeline to return an alternative query to execute in each request
For Hybrid Search, as well as ReadMany support, the query engine will need to direct the SDK to issue **multiple different queries**. However, the Rust SDK's query executor expects to be able to replay the original query on each request. This PR changes that expectation to allow (but not require) each Query Request com...
diff --git a/sdk/cosmos/azure_data_cosmos/src/clients/cosmos_client.rs b/sdk/cosmos/azure_data_cosmos/src/clients/cosmos_client.rs index 209fadc2846..b7f8255cb8f 100644 --- a/sdk/cosmos/azure_data_cosmos/src/clients/cosmos_client.rs +++ b/sdk/cosmos/azure_data_cosmos/src/clients/cosmos_client.rs @@ -110,7 +110,7 @@ imp...
3
3
0
[{"id": "G0", "claim": "The loop-control variable 'draining' is misleading since it indicates whether more pages should be fetched rather than an actual draining state; consider renaming it (e.g. 'continue_loop' or 'has_more_pages') for clarity.", "category": "maintainability", "verdict": "supported", "priority": "P3",...
null
Azure__azure-sdk-for-rust__3263
Azure/azure-sdk-for-rust
3,263
defect
1a613fded4ac972be483eb22d58012333d3c0520
b3d787959e99c17191091729ff1b169e57b9ce27
Define create_certificate as real LRO
Now with LRO support in core, "hide" the generated create_certificate and define a convenience client method instead. Those migrating Key Vault TypeSpec tried making it a TypeSpec LRO, but had significant problems so that was scrapped in favor of using convenience methods as we have in the past.
diff --git a/sdk/core/azure_core/README.md b/sdk/core/azure_core/README.md index 164952ea34d..cd581e7f711 100644 --- a/sdk/core/azure_core/README.md +++ b/sdk/core/azure_core/README.md @@ -326,7 +326,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> { // Wait for the certificate operation to complet...
5
1
1
[{"id": "G0", "claim": "The CHANGELOG breaking-change bullet says `Removed CertificateClient::resume_create_certificate()` but the method the PR removes is `resume_certificate_operation`, so the bullet should name it as suggested.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introd...
null
Azure__azure-sdk-for-rust__3272
Azure/azure-sdk-for-rust
3,272
defect
40b0463334eda7e9363f6e8d1394984e389921f6
d84827314c5f2a6537e0a8bec4a165ad691909d2
Validate KeyVaultCertificates LRO implementation
Also: Updated telemetry test infrastructure to validate parent/child relationships Also: Allow span names to be generated as well as static. Bonus: Removed a number of explicit dependencies on the typespec_client_core to ensure that all required types are re-exported from azure_core.
diff --git a/sdk/core/azure_core/src/http/policies/instrumentation/public_api_instrumentation.rs b/sdk/core/azure_core/src/http/policies/instrumentation/public_api_instrumentation.rs index 56a358746ca..b4534e18bd7 100644 --- a/sdk/core/azure_core/src/http/policies/instrumentation/public_api_instrumentation.rs +++ b/sdk...
4
2
1
[{"id": "G0", "claim": "Cloning `ctx` and `span` on every poller iteration can impact performance; consider cloning only the Arc-wrapped values or restructuring to avoid the repeated clones.", "category": "performance", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "An empty stri...
null
Azure__azure-sdk-for-rust__3303
Azure/azure-sdk-for-rust
3,303
defect
d66bd8b730d93a2adc6c4a05924e3aa93995d7c1
6dd2d4bdf72c0759b59232e0bf32ebb14dd6bfb6
[Storage] `set/get_access_policy` for `ContainerClient`
- [x] `.tsp 2`: https://github.com/Azure/azure-rest-api-specs/pull/38933 - [x] `.tsp`: https://github.com/Azure/azure-rest-api-specs/pull/38633 - Adds implementations for `set_access_policy()` and `get_access_policy()` - Adds `From` impl for `HashMap<String, AccessPolicy>` -> `SignedIdentifiers` - Fixes up BlobTag...
diff --git a/Cargo.lock b/Cargo.lock index 57b0ee7380e..b6e19f27c94 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -512,6 +512,7 @@ dependencies = [ "futures", "serde", "serde_json", + "time", "tokio", "tracing", "typespec_client_core", diff --git a/sdk/storage/.dict.txt b/sdk/storage/.dict.txt index 7c5493ce8...
11
8
2
[{"id": "G0", "claim": "The test asserts against dynamically generated datetime values, which fails in recorded playback (the recorded expiry differs from the live run); the author asks whether Rust's test infrastructure can set recording variables like Python's get_datetime_variable.", "category": "testing", "verdict"...
null
Azure__azure-sdk-for-rust__3311
Azure/azure-sdk-for-rust
3,311
defect
f5755a7bd84e071a5999fa93f35b96deaddd8412
4f53245aab5a63c507fde84382392ed54b8fca88
Fixed issues validating tracing pages which were converted to page iterators
- Re-add the span when converting from `Init` state on a continuation token; - Cleaned up lifetime of `MockSpan` to have it be dropped when the actual span goes out of scope (also verified that the same "end on drop" behavior occurs with an OpenTelemetry `Span`). - Added a `Debug` requirement for the `C` parameter so...
diff --git a/sdk/core/azure_core/src/http/mod.rs b/sdk/core/azure_core/src/http/mod.rs index 9ad5ce80097..465ab608250 100644 --- a/sdk/core/azure_core/src/http/mod.rs +++ b/sdk/core/azure_core/src/http/mod.rs @@ -23,7 +23,7 @@ pub use response::{AsyncRawResponse, AsyncResponse, RawResponse, Response}; pub use typespec...
6
5
0
[{"id": "G0", "claim": "The added '// Don't use `recording.var` here in case the recording was made with a different package version' comments (in round_trip_secret_verify_telemetry, list_secrets_verify_telemetry, list_secrets_by_pages_verify_telemetry and list_secrets_verify_telemetry_rehydrated) are missing a period ...
null
Azure__azure-sdk-for-rust__3342
Azure/azure-sdk-for-rust
3,342
defect
dcaaab98cdcc55519bc4535e554770a85d6101e5
8113772cf2339be765c0c5453d7eb5fac410e9d0
[Storage] `delete/set_immutability_policy` for `BlobClient`
- [x] `.tsp`: https://github.com/Azure/azure-rest-api-specs/pull/38750 - Adds `set/delete_immutability_policy` to BlobClient - Refactors test utilities to allow for specifying what Storage account type to use
diff --git a/sdk/storage/azure_storage_blob/src/clients/blob_client.rs b/sdk/storage/azure_storage_blob/src/clients/blob_client.rs index 4e24a99d042..51ffb9a1119 100644 --- a/sdk/storage/azure_storage_blob/src/clients/blob_client.rs +++ b/sdk/storage/azure_storage_blob/src/clients/blob_client.rs @@ -8,16 +8,19 @@ use c...
2
1
1
[{"id": "G0", "claim": "The test asserts the raw recorded expiry (with nanoseconds) against the service-truncated response header, so the test fails; decimals must be manually stripped out before comparing.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G6", "clai...
null
Azure__azure-sdk-for-rust__3382
Azure/azure-sdk-for-rust
3,382
defect
3b81ef1983ffb58e86f9f268be92ee8406730cfa
584edc077ea1e0f7326539d4cbbbd5f6e5bee018
[Storage] Fix flaky live tests in `test_container_access_policy`
This PR updates the offending tests to truncate to account for differing precisions on the `OffsetDateTime` objects on different plaforms vs. what the Service returns. https://dev.azure.com/azure-sdk/internal/_build/results?buildId=5629625&view=results
diff --git a/sdk/storage/azure_storage_blob/assets.json b/sdk/storage/azure_storage_blob/assets.json index 2f8a2a5bb58..dec754804c4 100644 --- a/sdk/storage/azure_storage_blob/assets.json +++ b/sdk/storage/azure_storage_blob/assets.json @@ -1,6 +1,6 @@ { "AssetsRepo": "Azure/azure-sdk-assets", "AssetsRepoPrefixP...
2
2
0
[{"id": "G0", "claim": "In test_container_access_policy the assert_datetime_within calls pass their arguments in the reverse order of the helper's signature, with returned_policy (actual) first and expected_policy (expected) second, so the calls should be reordered.", "category": "correctness", "verdict": "supported", ...
null
Azure__azure-sdk-for-rust__3433
Azure/azure-sdk-for-rust
3,433
defect
cc5db3a1740712a016c693e0f3ea07168b5b9713
a447e75e663397af7c8a321cba7c44b2b08f4f0f
Remove unnecessary unwraps
Our CI clippy is blocking pipelines because of some of these ([for example](https://dev.azure.com/azure-sdk/public/public%20Team/_build/results?buildId=5660899&view=logs&j=36df4387-3551-57fa-098c-b43a23930261&t=6d7a965d-7ab0-5c13-9402-d59ed117d0f6&l=4619))
diff --git a/sdk/core/azure_core_amqp/src/connection.rs b/sdk/core/azure_core_amqp/src/connection.rs index 51a7e91839c..1ee58a4067b 100644 --- a/sdk/core/azure_core_amqp/src/connection.rs +++ b/sdk/core/azure_core_amqp/src/connection.rs @@ -290,10 +290,9 @@ mod tests { #[cfg(not(target_os = "macos"))] #[tokio...
1
1
1
[{"id": "G0", "claim": "Adding the `else { panic!(\"Expected default outcomes\") }` branch changes the test's logic in ways that will crash more often; the test should restore its original condition that both default outcomes are Some or both are None.", "category": "correctness", "verdict": "supported", "priority": "P...
null
Azure__azure-sdk-for-rust__3461
Azure/azure-sdk-for-rust
3,461
defect
811ac4d5101e73d42ef2cacb54ab5eeb88578ab4
10614161a74741172b8b7442491868f9aba23fef
cosmos: Fix URL encoding for authentication signatures
This PR fixes two bugs, with the same root cause: We URL encode paths before signing the request, but we should **not** be doing that. * We have occasional test failures related to throughput offers when the offer ID has a RID that includes `+`, because we encode it * #3394 - Whenever an ID has a URL-unsafe charact...
diff --git a/Cargo.lock b/Cargo.lock index f94db37a436..beea3d0f911 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -536,9 +536,12 @@ dependencies = [ name = "azure_storage_blob_test" version = "0.1.0" dependencies = [ + "async-trait", "azure_core", "azure_core_test", "azure_storage_blob", + "bytes", + "futures", ...
1
1
0
[{"id": "G0", "claim": "The `value.clone()` in `LinkSegment::identity` creates an unnecessary allocation since `value` is already owned after the `into()` conversion and could be reused directly.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Azure__azure-sdk-for-rust__3485
Azure/azure-sdk-for-rust
3,485
defect
a1470116ffc49e7206b1f33e30bab8f2a9187da2
b77dc79d8b16e76b1c3e379440526fc954516b79
Remove unused azure_identity options
These exist in other SDKs but we haven't yet implemented their associated features in Rust.
diff --git a/sdk/core/azure_core_test/src/credentials.rs b/sdk/core/azure_core_test/src/credentials.rs index 62e4f3e927e..739a679eebe 100644 --- a/sdk/core/azure_core_test/src/credentials.rs +++ b/sdk/core/azure_core_test/src/credentials.rs @@ -69,7 +69,6 @@ pub fn from_env(options: Option<ClientOptions>) -> azure_core...
1
1
1
[{"id": "G0", "claim": "Now that the pull request hand-authors the credential constructors, it should keep and use `additionally_allowed_tenants` instead of removing the option.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Azure__azure-sdk-for-rust__3698
Azure/azure-sdk-for-rust
3,698
defect
463679b793303554fe1ac4ada04cb067ca7c8c89
a42d38841e5b1e94ca7db9f6f66ebe0cf31301d2
[Storage] Align `azure_storage_queue` with Blobs + SAS support
`.tsp`: https://github.com/Azure/azure-rest-api-specs/pull/40244
diff --git a/sdk/storage/azure_storage_queue/CHANGELOG.md b/sdk/storage/azure_storage_queue/CHANGELOG.md index 0555928fc5e..8e5bb537a37 100644 --- a/sdk/storage/azure_storage_queue/CHANGELOG.md +++ b/sdk/storage/azure_storage_queue/CHANGELOG.md @@ -4,11 +4,20 @@ ### Features Added +- Added support for client const...
12
7
2
[{"id": "G0", "claim": "Like the decision made for Blob, the service client probably does not need a from_url constructor.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "QueueServiceClient::queue_client() drops the service client's configured API version...
null
Azure__azure-sdk-for-rust__3730
Azure/azure-sdk-for-rust
3,730
defect
2146637c367e1168bd20e02222ef0fac0343bdf3
5cd6dfae601e536f52afbdc745191c33381e31b9
Fix emulator tests
When I added live tests forgot to pass in the rustflags for emulator tests so they have not been running since. Add fault injection setup for emulator tests so that it uses the custom http client instead of overwriting it.
diff --git a/sdk/cosmos/azure_data_cosmos/Test-Setup.ps1 b/sdk/cosmos/azure_data_cosmos/Test-Setup.ps1 index 3a7e9b89ec2..b5c1592ab5f 100644 --- a/sdk/cosmos/azure_data_cosmos/Test-Setup.ps1 +++ b/sdk/cosmos/azure_data_cosmos/Test-Setup.ps1 @@ -50,6 +50,8 @@ if ($IsWindows) { # Set environment variables for the ...
2
2
0
[{"id": "G0", "claim": "On the Windows path, the RUSTFLAGS assignment completely replaces any existing RUSTFLAGS value (e.g. -Dwarnings), so consider appending to existing RUSTFLAGS instead to preserve pre-existing flags.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"i...
null
Azure__azure-sdk-for-rust__3765
Azure/azure-sdk-for-rust
3,765
defect
4daa91b04dee284e5f5cb20c8c59da2690a1a7eb
23dcb6ed18fe74f53bcb5afaec346a3e8ade2a8a
Remove Cosmos PATCH API temporarily
- [x] Remove `patch_operations.rs` module and its re-export from `models/mod.rs` - [x] Remove `patch_item` method from `ContainerClient` - [x] Remove `PatchDocument` import from `container_client.rs` - [x] Remove `patch.rs` example and its references from `examples/cosmos/main.rs` - [x] Remove `item_patch` test from em...
diff --git a/Cargo.lock b/Cargo.lock index 34d8112116e..86653459ec9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -266,7 +266,6 @@ dependencies = [ "azure_identity", "opentelemetry", "opentelemetry_sdk", - "reqwest", "tokio", "tracing", "tracing-subscriber", diff --git a/sdk/cosmos/azure_data_cosmos/CHANGELOG...
1
1
0
[{"id": "G0", "claim": "The CHANGELOG breaking-change entry should recommend that users switch to a Read/Modify/Replace model with ETag tracking in place of the removed PATCH API.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Azure__azure-sdk-for-rust__3876
Azure/azure-sdk-for-rust
3,876
defect
8596da688ffefc91becd29423224af0663ca7610
fb79e5f72d107f7e904c40365e30cde39d935c14
[Storage] Polish `azure_storage_queue` signatures and other misc fixes
`.tsp`: https://github.com/Azure/azure-rest-api-specs/pull/41076 - Regenerate `azure_storage_queue` to accept our updated TypeSpec definition, which removes several of the wrappers. - Tons of quality changes in terms of model names and even internal-facing models/structs - Unifies testing utilities into one common...
diff --git a/sdk/storage/azure_storage_queue/CHANGELOG.md b/sdk/storage/azure_storage_queue/CHANGELOG.md index 9a3e8393d4c..0644aeec203 100644 --- a/sdk/storage/azure_storage_queue/CHANGELOG.md +++ b/sdk/storage/azure_storage_queue/CHANGELOG.md @@ -4,14 +4,19 @@ ### Features Added -- Default Azure Storage logging ...
3
2
0
[{"id": "G0", "claim": "The `get_queue_name` doc comment says the generated queue name has length 13, but `recording.random_string::<12>(Some(\"q\"))` produces a total length of 12 (the LEN argument includes the prefix), so either the comment or the LEN argument should be updated to match.", "category": "documentation"...
null
Azure__azure-sdk-for-rust__3889
Azure/azure-sdk-for-rust
3,889
defect
3895df43fbfc47d378354196d91d987112fe8718
0eacb92d67f13947633c2df1420196178328d236
Cosmos: Add required `RoutingStrategy` enum to `CosmosClientBuilder::build()`
Adds a `RoutingStrategy` enum which allows customers to select a specific routing strategy to be used to select regions when performing requests. Currently, there is only one strategy: `ProximityTo(RegionName)` which uses built-in proximity data based on estimated round-trip times (but in the future may use other APIs ...
diff --git a/sdk/cosmos/azure_data_cosmos/CHANGELOG.md b/sdk/cosmos/azure_data_cosmos/CHANGELOG.md index 665501e5caa..043498d9029 100644 --- a/sdk/cosmos/azure_data_cosmos/CHANGELOG.md +++ b/sdk/cosmos/azure_data_cosmos/CHANGELOG.md @@ -6,6 +6,8 @@ ### Breaking Changes +- Replaced `CosmosClientBuilder::with_applic...
5
3
0
[{"id": "G0", "claim": "Making `build()` require a `RoutingStrategy` when the only variant is `ProximityTo(RegionName)` makes it impossible to explicitly opt into the previous service/account-order default, so consider adding an explicit variant like `AccountOrder`/`ServiceOrder` (or making the parameter optional/defau...
null
Azure__azure-sdk-for-rust__3963
Azure/azure-sdk-for-rust
3,963
defect
659374c2fc4206a2e05765bf557a93714b4ab704
a9a40b2a1b77ea9af92adfb5933db49621ce0e2d
[Storage] Increase `azure_storage_queue` testing, fix `create` queue API
https://github.com/Azure/azure-rest-api-specs/pull/41426 (now merged to `main`) As title states. ### Files changed | File | Change | |---|---| | `sdk/storage/azure_storage_queue/CHANGELOG.md` | Added bug-fix entry for `QueueClient::create()` 204 handling | | `sdk/storage/azure_storage_queue/assets.json` | Upd...
diff --git a/sdk/storage/azure_storage_queue/CHANGELOG.md b/sdk/storage/azure_storage_queue/CHANGELOG.md index 764be4dce7d..89476f07849 100644 --- a/sdk/storage/azure_storage_queue/CHANGELOG.md +++ b/sdk/storage/azure_storage_queue/CHANGELOG.md @@ -2,13 +2,9 @@ ## 0.5.0 (Unreleased) -### Features Added - -### Brea...
2
1
0
[{"id": "G0", "claim": "The 15-second propagation sleep in test_set_service_properties runs unconditionally, including in playback mode, and should be wrapped in a Live/Record test-mode guard like the access policy tests in queue_client.rs.", "category": "performance", "verdict": "supported", "priority": "P2", "scope":...
null
Azure__azure-sdk-for-rust__3990
Azure/azure-sdk-for-rust
3,990
defect
1442b80efefb15ffcc5cd5f0780e55079d27572e
f918f57ca52627434437a64a9cc1febba38cad5d
Cosmos: rework driver options to use new macro and model
This pull request refactors the runtime options resolution logic in the Cosmos DB Rust SDK, introduces a new `RuntimeOptionsView` for layered option resolution, and updates documentation and tests to match the new approach. The changes simplify how runtime options are merged and accessed, improve clarity in the codebas...
diff --git a/Cargo.lock b/Cargo.lock index 2187dbeef5a..5f695d23f26 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -384,6 +384,7 @@ dependencies = [ "async-lock", "async-trait", "azure_core 0.34.0", + "azure_data_cosmos_macros", "azure_identity 0.34.0", "base64 0.22.1", "crossbeam-epoch", diff --git a/Cargo.to...
4
2
1
[{"id": "G0", "claim": "Consider documenting explicit limits on custom header sizes (e.g., restricting custom headers to a ~1 KB total) or at least documenting that the service strictly enforces max header sizes and may reset TCP connections when they are exceeded.", "category": "documentation", "verdict": "uncertain",...
null
Azure__azure-sdk-for-rust__3996
Azure/azure-sdk-for-rust
3,996
defect
c934ea48a261642610c4306c0b6cd3fb2ed35ed7
6754db3ac52dcaa893c77e7be7420cbd734e4597
[Cosmos] Add fault injection rule evaluation diagnostics
## Summary Adds per-request visibility into fault injection rule evaluation, aligning with the Java SDK's `FaultInjectionRequestContext` pattern. When fault injection is enabled, every request evaluates all configured rules and records **why** each rule was applied, skipped, or missed. Addresses feedback from @Fa...
diff --git a/sdk/cosmos/azure_data_cosmos_driver/src/diagnostics/diagnostics_context.rs b/sdk/cosmos/azure_data_cosmos_driver/src/diagnostics/diagnostics_context.rs index c06cfc41a5f..5e02dfe8f93 100644 --- a/sdk/cosmos/azure_data_cosmos_driver/src/diagnostics/diagnostics_context.rs +++ b/sdk/cosmos/azure_data_cosmos_d...
5
4
2
[{"id": "G0", "claim": "FaultInjectionEvaluation implements Eq although it contains an f32, and because the enum is public callers can construct ProbabilityMiss with f32::NAN, making PartialEq non-reflexive and violating the Eq contract; the manual Eq impl should be removed (keeping PartialEq) or probability changed to...
null
Azure__azure-sdk-for-rust__4047
Azure/azure-sdk-for-rust
4,047
defect
7e116721587c1acc77c49f422b8a50a38cb063eb
cdf1f48bfb5c2729b4a4184b639728b36b4a262d
[Cosmos] Fix pkranges fetch: use container name for URL, RID for cache key
## Summary Fixes [#4031](https://github.com/Azure/azure-sdk-for-rust/issues/4031) — the pkranges fetch was using the collection **RID** in a name-based URL hierarchy (`dbs/perfdb/colls/<RID>/pkranges`), which Cosmos DB rejects with 404 because mixed name/RID addressing is not supported. The previous fix (#4041) c...
diff --git a/sdk/cosmos/azure_data_cosmos/src/fault_injection/http_client.rs b/sdk/cosmos/azure_data_cosmos/src/fault_injection/http_client.rs index 72a60a24b7c..7f92fd934fc 100644 --- a/sdk/cosmos/azure_data_cosmos/src/fault_injection/http_client.rs +++ b/sdk/cosmos/azure_data_cosmos/src/fault_injection/http_client.rs...
4
2
1
[{"id": "G0", "claim": "The PR description says the added integration test is named fault_injection_pkrange_readfeed_is_exercised while the code adds fault_injection_pkrange_readfeed_succeeds; the description (or the test name) should be aligned so readers can find the test.", "category": "documentation", "verdict": "u...
null
Azure__azure-sdk-for-rust__4062
Azure/azure-sdk-for-rust
4,062
defect
4827196789e1cc35342ba17a6d2de136529eb804
d2c78ffdaee1ff34d535716ea262a0dc29b669be
Disable proxy by default, add explicit opt-in
By default, call `no_proxy()` on the reqwest `ClientBuilder` to prevent the SDK from silently inheriting `HTTPS_PROXY` from the environment. Proxies can cause issues for Cosmos DB connectivity and throughput. Add `with_dangerous_proxy_allowed()` for explicit opt-in with clear documentation about support limitations. L...
diff --git a/sdk/cosmos/azure_data_cosmos/CHANGELOG.md b/sdk/cosmos/azure_data_cosmos/CHANGELOG.md index 7711e6a2d40..6cae1532c56 100644 --- a/sdk/cosmos/azure_data_cosmos/CHANGELOG.md +++ b/sdk/cosmos/azure_data_cosmos/CHANGELOG.md @@ -2,8 +2,13 @@ ## 0.32.0 (Unreleased) +### Features Added + +- Added `CosmosClie...
11
9
2
[{"id": "G0", "claim": "The test ignores the Result of TestClient::run(...) (`let _ = result;`), so it can pass even if client setup/cleanup fails or the run closure errors; the Result should be asserted or propagated after restoring the env var and aborting the accept task.", "category": "testing", "verdict": "support...
null
Azure__azure-sdk-for-rust__4068
Azure/azure-sdk-for-rust
4,068
defect
4827196789e1cc35342ba17a6d2de136529eb804
25f0f7eae16f75118e3f358648fe8f9804283cc5
[Storage] Finalized `managed_download` and `managed_download_to` drop-in replacements
Replaces `BlobClient::download()` with `managed_download` and the same exercise for `download_into`. ## Summary Promotes the managed (multi-part) download implementation to be the sole `download()` API on `BlobClient`, and adds `download_into()` which writes directly into a caller-supplied buffer. Both APIs use p...
diff --git a/sdk/core/azure_core/src/http/mod.rs b/sdk/core/azure_core/src/http/mod.rs index 11d5b4b09c0..7035b05fc68 100644 --- a/sdk/core/azure_core/src/http/mod.rs +++ b/sdk/core/azure_core/src/http/mod.rs @@ -18,7 +18,7 @@ pub use pager::{ItemIterator, PageIterator, Pager}; pub use pipeline::*; pub use poller::Po...
9
8
4
[{"id": "G0", "claim": "BlockBlobClient::download() builds BlobClientDownloadInternalOptions but never propagates options.method_options, so per-call Context (and any behavior/policies depending on it) is ignored for the initial request and all range requests; please pass method_options through.", "category": "correctn...
null
Azure__azure-sdk-for-rust__4073
Azure/azure-sdk-for-rust
4,073
defect
63483e5b56c02e9aa5fa07c3474015027b3ced99
400ae7b1c601d0f72da83d61e8f557961bf6f0f1
Cosmos: use `ignore` attributes to disable tests by category
We were using `#![cfg(test_category ...)]` attributes to exclude tests from the build when the relevant category was disabled, but this means they didn't even get compiled. As a result, it's easy to cause compilation regressions (in fact #4059 caused one, which I've fixed). This changes our approach so that we use `...
diff --git a/sdk/cosmos/.github/skills/cosmos-pre-commit-validation/SKILL.md b/sdk/cosmos/.github/skills/cosmos-pre-commit-validation/SKILL.md index 05933db7aee..0be1e304a61 100644 --- a/sdk/cosmos/.github/skills/cosmos-pre-commit-validation/SKILL.md +++ b/sdk/cosmos/.github/skills/cosmos-pre-commit-validation/SKILL.md...
2
2
2
[{"id": "G0", "claim": "In the multi_write test files, the `#[cfg_attr(not(test_category = \"multi_write\"), ignore = ...)]` attribute should be placed after `#[tokio::test]` (not before it) so the ignore survives the macro expansion and the tests are actually skipped when the category is disabled.", "category": "corre...
null
Azure__azure-sdk-for-rust__4080
Azure/azure-sdk-for-rust
4,080
defect
8fcf6e7025263e05a16dd80c7908f422ebd8cf9c
73e7c50dba86e7d94a24a29c75e4c3d1d157fa84
[Storage] Miscellaneous `azure_storage_queue` and `azure_storage_blob` improvements
- Cleanup all usages of `—` (thanks chat 😉) - Reword some awkwardly worded docs - Clean-up some tests and re-record as necessary
diff --git a/sdk/storage/azure_storage_blob/README.md b/sdk/storage/azure_storage_blob/README.md index 1e64274a495..47bf5163096 100644 --- a/sdk/storage/azure_storage_blob/README.md +++ b/sdk/storage/azure_storage_blob/README.md @@ -47,11 +47,11 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> { // Cre...
4
3
1
[{"id": "G0", "claim": "The removed 'Unicode Content Update Scenario' block in test_update_message duplicates code already present above, so it should be dropped.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The README example no longer impo...
null
Azure__azure-sdk-for-rust__4096
Azure/azure-sdk-for-rust
4,096
defect
31fc2d29c577ee1ef7641d86c22c440fe159d010
9c2d212a53e0661df34eaa7f5b16a56b665321ea
Expose async state of replace throughput API
## What Resolves #3792 — makes `replace_throughput` clearly expose the async nature of the Cosmos DB throughput API. The Cosmos DB service may process throughput changes asynchronously (HTTP 202 with `x-ms-offer-replace-pending: true`), but the previous API returned a simple `ResourceResponse<ThroughputProperties>` w...
diff --git a/sdk/cosmos/azure_data_cosmos/CHANGELOG.md b/sdk/cosmos/azure_data_cosmos/CHANGELOG.md index 48e6637d749..b2d790547fc 100644 --- a/sdk/cosmos/azure_data_cosmos/CHANGELOG.md +++ b/sdk/cosmos/azure_data_cosmos/CHANGELOG.md @@ -6,6 +6,7 @@ - Added `CosmosClientBuilder::with_proxy_allowed(bool)` for explicit...
4
3
1
[{"id": "G0", "claim": "In `begin_replace`, falling back to `unwrap_or_default()` when `read()` returns no offer builds a Replace request with an empty offer RID that is very likely to fail with a confusing service error, so it should return an explicit error when no existing offer or valid offer RID is found.", "categ...
null
Azure__azure-sdk-for-rust__4128
Azure/azure-sdk-for-rust
4,128
defect
56c61cf3cb4edccacff46e7a656e4a0ea8c7b999
f6f0b18b470bd1d1312aee3139c60dbd4cbc2445
Cosmos: Cut over replace_item, upsert_item, delete_item to driver
Routes the remaining item-level operations (`replace_item`, `upsert_item`, `delete_item`) through the `CosmosDriver`, completing the item operation cutover from the legacy gateway pipeline. ### Driver - **`CosmosOperation::upsert_item`** now takes `(ContainerReference, PartitionKey)` instead of `ItemReference`. Upser...
diff --git a/sdk/cosmos/azure_data_cosmos/src/clients/container_client.rs b/sdk/cosmos/azure_data_cosmos/src/clients/container_client.rs index 8d5ee036d8e..2f9272a892d 100644 --- a/sdk/cosmos/azure_data_cosmos/src/clients/container_client.rs +++ b/sdk/cosmos/azure_data_cosmos/src/clients/container_client.rs @@ -417,20 ...
1
1
0
[{"id": "G0", "claim": "The session_token and precondition wiring repeated across the item operations (read_item, create_item, replace_item, upsert_item, delete_item) should be modularized into a separate function to avoid code duplication.", "category": "maintainability", "verdict": "supported", "priority": "P2", "sco...
null
Azure__azure-sdk-for-rust__4145
Azure/azure-sdk-for-rust
4,145
defect
517c5d6566c1570b44dfb40f5eee5097f3834980
6e7550ab46381922c34341658c930cc83d5403ab
[Storage] `HttpRange` handwritten model
Adds `HttpRange` in place of our `format_page_range` helper parser, we are hoping to get typespec `@@alternateType` support pre-GA to remove the necessity of the `into()`. `.tsp:` https://github.com/Azure/azure-rest-api-specs/pull/42277
diff --git a/sdk/storage/azure_storage_blob/CHANGELOG.md b/sdk/storage/azure_storage_blob/CHANGELOG.md index 5defc4a9c59..9bdb3428a23 100644 --- a/sdk/storage/azure_storage_blob/CHANGELOG.md +++ b/sdk/storage/azure_storage_blob/CHANGELOG.md @@ -5,9 +5,12 @@ ### Features Added - Added `stream::tokio` module (gated o...
4
3
2
[{"id": "G0", "claim": "HttpRange::fmt computes self.offset + length - 1 without guarding against length == 0 (underflow, may panic in debug or wrap in release) or offset + length overflow, producing a panic or an invalid Range header; the constructor should enforce invariants and/or use checked arithmetic.", "category...
null
Azure__azure-sdk-for-rust__4147
Azure/azure-sdk-for-rust
4,147
defect
2c20c4f10f51686bcff32ccb6fe2ad81da33ebda
4e6ba2823744a46f59b9e23b3719205917eac466
Cosmos: Cut over CosmosClient and DatabaseClient to driver
Route `create_database`, `read`, `create_container`, and `delete` through CosmosDriver instead of the legacy gateway pipeline, following the pattern established by `create_item`/`read_item`. - Add `DatabaseReference` field to `DatabaseClient` - Remove stale `#[allow(unused_variables)]` annotations - Remove dead `C...
diff --git a/sdk/cosmos/azure_data_cosmos/CHANGELOG.md b/sdk/cosmos/azure_data_cosmos/CHANGELOG.md index 9a1c85f9c27..45471cfa761 100644 --- a/sdk/cosmos/azure_data_cosmos/CHANGELOG.md +++ b/sdk/cosmos/azure_data_cosmos/CHANGELOG.md @@ -14,6 +14,8 @@ ### Other Changes +- Database and container CRUD operations (`cr...
8
5
1
[{"id": "G0", "claim": "The options-struct shape changes are source-breaking and should be called out in the Unreleased \"Breaking Changes\" changelog section (with a migration note), not only under \"Other Changes\".", "category": "documentation", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": ...
null
Azure__azure-sdk-for-rust__4149
Azure/azure-sdk-for-rust
4,149
defect
2c20c4f10f51686bcff32ccb6fe2ad81da33ebda
d5b300c2184add1ecc5042be58340a5e38f6a22a
[Cosmos] Feed Range API
This PR adds the `FeedRange` type and feed range APIs to `azure_data_cosmos`, enabling consumers to work with physical partition ranges. It uses the driver's EPK (Effective Partition Key) computation from [PR #4087](https://github.com/Azure/azure-sdk-for-rust/pull/4087) for correct MultiHash (hierarchical partition key...
diff --git a/Cargo.lock b/Cargo.lock index 259395910b4..99145046ebd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -375,6 +375,7 @@ dependencies = [ "azure_core_test", "azure_data_cosmos_driver", "azure_identity", + "base64 0.22.1", "clap", "futures", "pin-project", diff --git a/sdk/cosmos/.cspell.json b/sdk/c...
3
3
2
[{"id": "G0", "claim": "The rustdoc comments in feed_range.rs contain mojibake sequences (rendered as `ΓÇö` where an em dash was intended) that will render incorrectly in generated docs; replace them with the proper character so the documentation displays cleanly.", "category": "documentation", "verdict": "supported", ...
null
Azure__azure-sdk-for-rust__4166
Azure/azure-sdk-for-rust
4,166
defect
c1067d114436f06c30fdb1260054ee9e3029d939
02ebfa419b8319c6b24c3d6f6756fa9de4e37e09
[Storage] remove `download_into`
`download_into` currently cannot account for its unsafe use of pointers when its future is dropped. It is being removed for now to return in a future release. Streaming `download` does not encounter this issue, as it owns all its memory. ## The Problem To achieve the desired performance, managed downloads spaw...
diff --git a/sdk/storage/azure_storage_blob/src/clients/blob_client.rs b/sdk/storage/azure_storage_blob/src/clients/blob_client.rs index ad584bb9a61..cd917999c43 100644 --- a/sdk/storage/azure_storage_blob/src/clients/blob_client.rs +++ b/sdk/storage/azure_storage_blob/src/clients/blob_client.rs @@ -112,66 +112,6 @@ im...
1
1
0
[{"id": "G0", "claim": "Document the removal of the public `download_into` API and provide an explicit migration path (e.g. recommending streaming `download()` plus collection patterns) in the public docs/release notes.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Azure__azure-sdk-for-rust__4174
Azure/azure-sdk-for-rust
4,174
defect
e753b8e2814d2d1144d650e654ec25a8d1770374
e7718e568ed3377792257d3eb91309985b98c78c
Cosmos: Cut over `query` methods to the driver
Migrates query_items, query_databases, and query_containers from the gateway HTTP pipeline to the Cosmos driver pipeline, aligning query operations with the item CRUD operations that were already cut over. - QueryExecutor now takes an Arc<CosmosDriver> and an operation factory closure instead of Arc<GatewayPipelin...
diff --git a/sdk/cosmos/azure_data_cosmos/src/clients/container_client.rs b/sdk/cosmos/azure_data_cosmos/src/clients/container_client.rs index edd035f6c56..7b1c598711b 100644 --- a/sdk/cosmos/azure_data_cosmos/src/clients/container_client.rs +++ b/sdk/cosmos/azure_data_cosmos/src/clients/container_client.rs @@ -21,7 +2...
3
3
2
[{"id": "G0", "claim": "QueryExecutor builds per-page driver options from DriverOperationOptions::default() and query_items passes only custom_headers and session_token, so other QueryOptions.operation settings (excluded regions, consistency strategy, retries/timeouts, throughput control, etc.) are dropped instead of p...
null
Azure__azure-sdk-for-rust__4191
Azure/azure-sdk-for-rust
4,191
defect
9b979e082aec89c466dc1e261adf21390f0796f0
ce82dce6c8f9d434e976da374646e87beb29bb34
[Storage] Mitigate live tests failures in Storage SDKs
Live Test Pipeline: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6170408&view=results
diff --git a/sdk/storage/azure_storage_blob/assets.json b/sdk/storage/azure_storage_blob/assets.json index 5293e035930..fe40918b0fc 100644 --- a/sdk/storage/azure_storage_blob/assets.json +++ b/sdk/storage/azure_storage_blob/assets.json @@ -1,6 +1,6 @@ { "AssetsRepo": "Azure/azure-sdk-assets", "AssetsRepoPrefixP...
7
2
2
[{"id": "G2", "claim": "upload_large is blanket-ignored in all modes, skipping it for playback as well as live/record, and should be made mode-specific (e.g. playback-only) or its knobs tuned so it stops failing.", "category": "testing", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G4", "cl...
null
Azure__azure-sdk-for-rust__4214
Azure/azure-sdk-for-rust
4,214
defect
9eaab0ebd30788c84e849712c66875f18362d4a0
7618f325cc45c445e520fcd4e3c9ea6fea471c27
Cosmos: Session token helpers
# Add `get_latest_session_token` API for session token management Addresses #3729 ## Background Customers who maintain their own session tokens across multiple Cosmos DB clients need a way to merge tokens and resolve the most up-to-date session state for a given feed range. The Python SDK addressed this in [Az...
diff --git a/sdk/cosmos/azure_data_cosmos/src/clients/container_client.rs b/sdk/cosmos/azure_data_cosmos/src/clients/container_client.rs index edd035f6c56..41f21d0de7f 100644 --- a/sdk/cosmos/azure_data_cosmos/src/clients/container_client.rs +++ b/sdk/cosmos/azure_data_cosmos/src/clients/container_client.rs @@ -12,7 +1...
5
3
2
[{"id": "G0", "claim": "Renaming the public `FeedRange::contains` to `is_subset_of` removes a public API and is a breaking change for downstream users; keep `contains(&self, other)` as a (possibly `#[deprecated]`) wrapper and add `is_subset_of` as the new parity API.", "category": "design", "verdict": "opposed", "prior...
null
Azure__azure-sdk-for-rust__4241
Azure/azure-sdk-for-rust
4,241
defect
a922d7a28385ccc8637e8fbfe4e711e19e45cf96
471e05b4652174a00d08490dc3d93cf2a8b5aa03
[Storage] Fix partitioned download deadlock, prepare for `azure_storage_blob` release
As title states. More context can be found offline, but the main points that got us into this situation: (Note, some iterations have been simplified ie. AWAIT technically can only read 1 message at a time but for brevity and just showing mostly the codeflow, it has been simplified to show only the points of the itera...
diff --git a/sdk/storage/azure_storage_blob/CHANGELOG.md b/sdk/storage/azure_storage_blob/CHANGELOG.md index 19041d3086e..41b87093cd6 100644 --- a/sdk/storage/azure_storage_blob/CHANGELOG.md +++ b/sdk/storage/azure_storage_blob/CHANGELOG.md @@ -1,18 +1,12 @@ # Release History -## 0.12.0 (Unreleased) - -### Features ...
4
2
1
[{"id": "G0", "claim": "The changelog should get a concise Bugs Fixed (or Other Changes) entry for the partitioned download deadlock fix so it is captured in the 0.12.0 release notes.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "A new top-level ...
null
Azure__azure-sdk-for-rust__4256
Azure/azure-sdk-for-rust
4,256
defect
cc39343dfb376597d2fa5658d2903f82e572e1ce
616e10c720f1c718897a72481d55c429d96e3fcb
[Storage] More `azure_storage_blob` housekeeping (aligning `Etag`, `HttpRange`, etc.)
https://github.com/Azure/azure-rest-api-specs/pull/42619
diff --git a/sdk/storage/azure_storage_blob/Cargo.toml b/sdk/storage/azure_storage_blob/Cargo.toml index 6e1ef246ddd..173886b5d4f 100644 --- a/sdk/storage/azure_storage_blob/Cargo.toml +++ b/sdk/storage/azure_storage_blob/Cargo.toml @@ -10,7 +10,7 @@ repository.workspace = true rust-version.workspace = true homepage ...
4
3
0
[{"id": "G0", "claim": "BlobClientDownloadOptions.if_match should be smoothed over to accept Etag (Option<Etag>) like the upload side, instead of Option<String>, since the handwritten type is under the SDK's control.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1"...
null
Azure__azure-sdk-for-rust__4280
Azure/azure-sdk-for-rust
4,280
defect
b50fb4c892fc9d22a23dcdf9de00ae96db579e1f
be5fc08ee7ac9be8cf484415fcb4d86e0532c35e
Fix upsert create item regression
## What This PR makes `create_item` and `upsert_item` require an explicit item id, matching the pattern already used by `read_item`, `replace_item`, and `delete_item`. ### Breaking Changes **`azure_data_cosmos` (SDK):** - `ContainerClient::create_item()` signature changed from `(partition_key, item, options)`...
diff --git a/Cargo.lock b/Cargo.lock index c6be8ad7523..8e92035b9e0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -266,6 +266,30 @@ dependencies = [ "azure_canary", ] +[[package]] +name = "azure_core" +version = "0.35.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9966f75417a6779ea...
7
1
0
[{"id": "G0", "claim": "ResourceResponse::request_url (under the fault_injection feature) will panic via expect() when the operation is driver-routed and the underlying request_url() is None; it should return Option<Url> or otherwise avoid expect() so enabling fault_injection cannot crash callers.", "category": "correc...
null
Azure__azure-storage-fuse__1029
Azure/azure-storage-fuse
1,029
defect
b7bb6309fab1c306ed2520a331a94231ff3f671e
9e4256190edc8ed0ffdde84cd037f4940808bf95
Set ignore-open-flags to true by default
Fixes #1015 By default, on fuse3 we enable write-back-cache at kernel level. To populate kernel cache, kernel issues a read command on your file. Now assume you opened a file handle in WRONLY or APPEND mode, which means handle does not have read permissions. When kernel tries to read file using such handle the read...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f787f2d02..5a75914336 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - [#1002](https://github.com/Azure/azure-storage-fuse/issues/1002) In case version check fails to connect to public container, dump a log to check network and proxy settings. - [#1006](ht...
2
1
1
[{"id": "G0", "claim": "Setting `IgnoreOpenFlags: true` as the hard-coded default in Configure may override the customer's explicit `ignore-open-flags` decision from config or CLI, and this should also be tested via the config file.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introd...
null
Azure__azure-storage-fuse__1034
Azure/azure-storage-fuse
1,034
defect
6c7605b0649395b0fa68b2f5c83f8cb11bcb2256
662068d66a950ef98d49f5005e4b79754b77ac75
Mount all fix
Fixes #1032
diff --git a/cmd/mount_all.go b/cmd/mount_all.go index 3720e002be..65a79a2172 100644 --- a/cmd/mount_all.go +++ b/cmd/mount_all.go @@ -317,8 +317,8 @@ func mountAllContainers(containerList []string, configFile string, mountPath str cliParams[2] = "--config-file=" + contConfigFile } else { cliParams[2] = "--f...
2
1
0
[{"id": "G0", "claim": "The test shall also cover the overwrite case: when tmp-path is already present in cliParams it shall not be added again or overwritten.", "category": "testing", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Update CHANGELOG.md to indicate that the issue f...
null
Azure__azure-storage-fuse__1082
Azure/azure-storage-fuse
1,082
defect
849ebcd35b1a03f2d235a7b4a006a69deb914dec
050ba00edc95aa84a4020d1965b20072d98ab4ab
DFS rename operation not encoding source url
This fixes #1080
diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index c8ed7816a7..4dc3f6ab4c 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -20,4 +20,4 @@ jobs: with: check_filenames: true skip: ./.git,./.github/workflows/codespell.yml...
2
2
0
[{"id": "G0", "claim": "The new CHANGELOG entry misspells \"encode\" as \"ecode\" and should read \"HNS rename flow does not encode source path correctly.\"", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim": "The ignore_words_list value in the codespel...
null
Azure__azure-storage-fuse__1162
Azure/azure-storage-fuse
1,162
defect
fc70ce7693cf108ff709c4ff9d7036e45e7d8519
d4da3c9d3a734c6da18155db14e7e606906f18cd
Adding FUSE option direct_io
direct_io can be used to bypass the kernel cache. It disables the use of page cache in the kernel. TODO: add this option for fuse2.
diff --git a/CHANGELOG.md b/CHANGELOG.md index 17df3faacc..7a2c5f0eff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ **Features** - Added new config parameter "max-fuse-threads" under "libfuse" config to control max threads allowed at libfuse layer. - Added new config parameter 'refresh-sec' in 'file-c...
2
2
2
[{"id": "G0", "claim": "An e2e test with direct_io enabled should be added, because the safety of the new direct_io option is unverified.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The direct_io option should also be added for the fuse2 handler in t...
null
Azure__azure-storage-fuse__1216
Azure/azure-storage-fuse
1,216
defect
815623961eca5635ddc91ec3d8aa150f61dbebc6
a9de0d8ccd3426f0ae1ad90cd58dd47fe7a2702a
Rename leaving destination file in temp-cache for ever
- As file is renamed the destination file remains in file-cache. This file is not added to LRU because it was never opened or closed hence policy will never delete this file. - As a Fix add the destination file to policy after successful rename,
diff --git a/CHANGELOG.md b/CHANGELOG.md index b7fce4e3f7..4bd03a166a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,5 @@ ## 2.0.6 (WIP) +- Fix for rename leaving destination file in local file-cache. ## 2.0.5 (2023-08-02) **Features** diff --git a/component/file_cache/file_cache.go b/component/file_cache...
1
1
0
[{"id": "G0", "claim": "Make the CHANGELOG entry for the rename fix more descriptive.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Azure__azure-storage-fuse__1311
Azure/azure-storage-fuse
1,311
defect
5bbc7aa52e9e139fb161d8996c240c45438e94ba
b261db75112f8d670609df6e0381812e42663bab
Mount on non-empty path
From [Libfuse 3.0.0 release](https://github.com/libfuse/libfuse/releases/tag/fuse-3.0.0), > The -o nonempty mount point has been removed, mounting over non-empty directories is now always allowed. This brings the behavior of FUSE file systems in-line with the behavior of the > regular mount command. > > File sys...
diff --git a/CHANGELOG.md b/CHANGELOG.md index ef933ef47f..87b10a010c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ **Bug Fixes** - Invalidate attribute cache entry on `PathAlreadyExists` error in create directory operation. - When `$HOME` environment variable is not present, use the current directory...
1
1
1
[{"id": "G0", "claim": "The pull request removed the code that passed the nonempty option down to fuse2, so `-o nonempty` is no longer handed to libfuse at all; the option needs to keep being passed down to fuse.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Azure__azure-storage-fuse__1416
Azure/azure-storage-fuse
1,416
defect
9c6c6f496c01f9233c335f7f79a5f9594f1d9d74
5d2959ff02c0cfd4c269a59fd196a88ce8058c78
Autoconfig
Added calcultions for parameters for prefetch, parallelism, mem-size-mb, disk-size-mb in block_cache. Updated test cases according to new calculations. P.S: While printing blockCache configuations some values were in bytes and some in MB so I made the output uniform for all in bytes.
diff --git a/component/block_cache/block_cache.go b/component/block_cache/block_cache.go index 72290d442f..fd0f6814a1 100644 --- a/component/block_cache/block_cache.go +++ b/component/block_cache/block_cache.go @@ -41,9 +41,11 @@ import ( "io" "os" "path/filepath" + "runtime" "sort" "strings" "sync" + "sysc...
5
5
2
[{"id": "G0", "claim": "The PR should use a standard library instead of the third-party github.com/pbnjay/memory package to get free memory.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The Statfs call and disk-size computation shall be done only if tm...
null
Azure__azure-storage-fuse__1429
Azure/azure-storage-fuse
1,429
defect
a68cace63b920b09404841fe459e4da8ff6860bc
e45dfeb2e27ef2cc875401623c4a1dbe98203aaf
Fixing proxy URL parsing
Fixes #1402
diff --git a/component/azstorage/azauthcli.go b/component/azstorage/azauthcli.go index 66972426a6..86d6b14f18 100644 --- a/component/azstorage/azauthcli.go +++ b/component/azstorage/azauthcli.go @@ -66,7 +66,13 @@ func (azcli *azAuthBlobCLI) getServiceClient(stConfig *AzStorageConfig) (interfa return nil, err } ...
1
1
1
[{"id": "G0", "claim": "Add new test cases covering proxy addresses with http:// and https:// schemes.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Azure__azure-storage-fuse__1484
Azure/azure-storage-fuse
1,484
defect
ee19eff0729a65b10aa53f8231803d53a0f13e91
63a66ff470bd4d12b86f2fa4509837d7ae1f2a45
Block cache disable random write
Random write operations in block cache will be disabled by default. It can be enabled by passing the CLI flag `--block-cache-enable-random-write` in the mount command. This PR also checks and returns error in the following cases: 1. Race condition between uploading and writing to a same block. 2. Random write sc...
diff --git a/component/block_cache/block_cache.go b/component/block_cache/block_cache.go index 536c3b735b..188dacd5b9 100644 --- a/component/block_cache/block_cache.go +++ b/component/block_cache/block_cache.go @@ -68,21 +68,22 @@ import ( type BlockCache struct { internal.BaseComponent - blockSize uint64 ...
2
1
1
[{"id": "G0", "claim": "With n blocks the S2 condition (blockIndex*blockSize < Size - MIN_WRITE_BLOCK*blockSize) is true for the first n-3 blocks, so writes on those blocks would be blocked even when the writes are sequential.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}...
null
Azure__azure-storage-fuse__1507
Azure/azure-storage-fuse
1,507
defect
465c2b891c2c1b00a4ac661b187d4a0a087221a6
0125425807534bcc7cb322f1dab7e89398b2ba87
File Cache failed to upload if Read perm is not given
Fixed File Cache failed to upload if Read perm is not given by changing file perm to read and resetting it after upload.
diff --git a/cmd/health-monitor.go b/cmd/health-monitor.go index dca3c32bfe..ce798e9a18 100644 --- a/cmd/health-monitor.go +++ b/cmd/health-monitor.go @@ -132,7 +132,7 @@ func validateHMonOptions() error { } if len(errMsg) != 0 { - return fmt.Errorf(errMsg) + return fmt.Errorf("%s", errMsg) } return nil d...
2
2
1
[{"id": "G0", "claim": "Add a changelog entry for the file-cache permission change.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Chmodding the file to 0666 during flush lets in-progress read/write requests succeed without respecting their origin...
null
Azure__azure-storage-fuse__1535
Azure/azure-storage-fuse
1,535
defect
42b3b19b42dbe36e5b37e7b4d81115c6a319b277
db588c9183e6f1a874786ac70e41256789091324
Generate default config
## ✅ What Added a new command to generate optimal default configurations. ## 👩‍🔬 How to validate ``` ./blobfuse2 gen-config --component block_cache --o console ``` ## 🔖 Related links ![image](https://github.com/user-attachments/assets/76128294-0ac6-4294-81d0-4ea939158948)
diff --git a/cmd/default-config.go b/cmd/default-config.go new file mode 100644 index 0000000000..2c8058f790 --- /dev/null +++ b/cmd/default-config.go @@ -0,0 +1,136 @@ +/* + _____ _____ _____ ____ ______ _____ ------ + | | | | | | | | | | | | | +...
10
9
3
[{"id": "G0", "claim": "The generated config file is opened a second time (append mode) after already being opened and written, which the reviewer questioned as unnecessary.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Each component opening t...
null
Azure__azure-storage-fuse__1545
Azure/azure-storage-fuse
1,545
defect
8c6a53e527de17038fe4728d69ffee532c62f360
75a854feba7d14905ea6c8833e9f9a8146d6ee0b
Add Checks for temp path in Block Cache while mouting
Why - We are facing issues when tempPath is not Empty. Mount is successful even if tempPath is not empty in case of block Cache scenario. Ideally temp path sould be empty before proceeding ahead after unmount or over a clean start. what - Check temppath is not same as mount path, Check temppath is empty to get the su...
diff --git a/component/block_cache/block_cache.go b/component/block_cache/block_cache.go index 997b75d9b0..5961ced7bf 100644 --- a/component/block_cache/block_cache.go +++ b/component/block_cache/block_cache.go @@ -242,6 +242,13 @@ func (bc *BlockCache) Configure(_ bool) error { bc.tmpPath = "" if conf.TmpPath != "...
1
1
1
[{"id": "G0", "claim": "Add a unit test covering the new block-cache validation that rejects a tmp-path equal to the mount path (and its config handling).", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Azure__azure-storage-fuse__1558
Azure/azure-storage-fuse
1,558
defect
ba739b620646363423170970fd7781339adcdca9
bd7f32cef571efd41a3dd62ae28975c5b9dd9996
Adding custom component feature
## ✅ What Custom component feature support via go plugin. ## 🤔 Why This allows customers to create their own components and add it in blobfuse pipeline dynamically using go plugin. ## 👩‍🔬 How to validate while running blobfuse we can use the custom plugin and plug it with blobfuse. Sample command...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 08a3c5d6a9..051f7acdba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ ## 2.4.0 (Unreleased) **Bug Fixes** - [#1426](https://github.com/Azure/azure-storage-fuse/issues/1426) Read panic in block-cache due to boundary conditions. + +**Features** +- Added su...
2
1
0
[{"id": "G0", "claim": "The new component/custom package must be excluded from code coverage by adding grep -v \"component/custom\" to the exclude filter list in the blobfuse2-code-coverage.yml pipeline.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Ex...
null
Azure__azure-storage-fuse__1595
Azure/azure-storage-fuse
1,595
defect
c4e57ef20f89f4557772cf4e98ebc4492078e166
f6c2d0c923a6b4ccc3b8f9c142c80990bc5cb6ad
Feature: Blob filter
## ✅ What Blob filter integration to filter out blob based on various parameters. Filter library can be found [here](https://github.com/vibhansa-msft/blobFilter/blob/main/README.md) ## 🤔 Why When user mounts blobfuse, all blob are visible and user is free to work on any blob. There are scenarios where cus...
diff --git a/CHANGELOG.md b/CHANGELOG.md index f0ae81b9e4..27e84e0bfd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ **Bug Fixes** - Create block pool only in the child process. +**Features** +- Mount container or directory but restrict the view of blobs that you can see. This feature is available onl...
5
2
0
[{"id": "G0", "claim": "Rename the loop variable 'attr' to 'fileWithAttr' or 'blobWithAttr', or alternatively rename the filter API 'IsFileAcceptable' to 'ShouldIncludeBlob' or 'ShouldIncludeFile', for clarity.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1...
null
Azure__azure-storage-fuse__1618
Azure/azure-storage-fuse
1,618
defect
c576f391dd9b5a2dc89f89089843d9b221d70775
5f5e82847e39ee40fbbbf82af6a521d95ddc7dc2
BUG#31069208: Fixed Prefix filtering from File Path
## ✅ What This update addresses a bug related to subdirectory separation in file paths. ## 🤔 Why A customer reported an issue where mounting blobfuse with the subdirectory option caused failures in opening certain files. Upon investigation, we discovered that files named identically to directories failed to...
diff --git a/component/azstorage/block_blob.go b/component/azstorage/block_blob.go index 5e5563e983..b20646201b 100644 --- a/component/azstorage/block_blob.go +++ b/component/azstorage/block_blob.go @@ -653,7 +653,7 @@ func (bb *BlockBlob) getBlobAttr(blobInfo *container.BlobItem) (*internal.ObjAtt } attr := &int...
6
6
1
[{"id": "G0", "claim": "The TestRemovePrefixPath table should also cover a prefixPath that starts with '/'.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "TestRemovePrefixPath should include a negative case where the file name matches no prefix and the ...
null
Azure__azure-storage-fuse__1642
Azure/azure-storage-fuse
1,642
defect
bf965f02cf5fcf051595769094b14c42b28abfb2
54748f1acdace999f6ab2e5943e2f7b447b67779
Xload: Unit tests
<!-- Thank you for contributing to the Blobfuse2. Please verify the following before submitting your PR, thank you! --> ## Type of Change <!-- Place an 'x' in the relevant box(es) --> - [ ] Bug fix - [ ] New feature - [x] Code quality improvement - [ ] Other (describe): ## Description Add unit tests for xl...
diff --git a/common/types.go b/common/types.go index 5fba52a676..d0a89a5372 100644 --- a/common/types.go +++ b/common/types.go @@ -47,7 +47,7 @@ import ( // Standard config default values const ( - blobfuse2Version_ = "2.4.1" + blobfuse2Version_ = "2.5.0~preview.1" DefaultMaxLogFileSize = 512 DefaultLogFileCo...
7
5
1
[{"id": "G0", "claim": "The assertion `suite.assert.Equal(n, 0)` in the download-false scenario of TestProcessErrors should carry a failure message giving context (e.g. \"Expected n to be 0, but download is not supported now\").", "category": "testing", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"...
null
Azure__azure-storage-fuse__1643
Azure/azure-storage-fuse
1,643
defect
62584ff6a5997b1000b168fab568e6c10341e10c
b714847d4e2e4d215e85085489d226c9e9315cad
Adding fix to refill non last block earlier staged with half data
<!-- Thank you for contributing to the Blobfuse2. Please verify the following before submitting your PR, thank you! --> ## Type of Change <!-- Place an 'x' in the relevant box(es) --> - [ ] Bug fix - [ ] New feature - [ ] Code quality improvement - [ ] Other (describe): ## Description <!-- Provide a short ...
diff --git a/component/block_cache/block_cache.go b/component/block_cache/block_cache.go index c938a2e4f1..daf0f1104e 100644 --- a/component/block_cache/block_cache.go +++ b/component/block_cache/block_cache.go @@ -1570,7 +1570,7 @@ func (bc *BlockCache) commitBlocks(handle *handlemap.Handle) error { } } - block...
1
1
1
[{"id": "G0", "claim": "The restage logic handles only a single half-staged block per file, but there can be multiple occurrences in a file where the block staged had size less than the configured block size, and all of them need handling.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": ...
null
Azure__azure-storage-fuse__1648
Azure/azure-storage-fuse
1,648
defect
62584ff6a5997b1000b168fab568e6c10341e10c
da4639df62b6948bae382e067a1b38446665602e
return the detailed error when the connection fails
<!-- Thank you for contributing to the Blobfuse2. Please verify the following before submitting your PR, thank you! --> ## Type of Change <!-- Place an 'x' in the relevant box(es) --> - [ ] Bug fix - [ ] New feature - [x] Code quality improvement - [ ] Other (describe): ## Description <!-- Provide a short ...
diff --git a/component/azstorage/azstorage.go b/component/azstorage/azstorage.go index 1cd7e450d1..1eb43ddd7e 100644 --- a/component/azstorage/azstorage.go +++ b/component/azstorage/azstorage.go @@ -159,7 +159,7 @@ func (az *AzStorage) configureAndTest(isParent bool) error { err = az.storage.TestPipeline() if err...
5
4
1
[{"id": "G0", "claim": "The auth-failure error in configureAndTest should be worded as \"failed to authenticate %s credentials with error [%s]\" instead of \"failed to authenticate credentials for %s, [%s]\".", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1",...
null
Azure__azure-storage-fuse__1671
Azure/azure-storage-fuse
1,671
defect
061bd5169ff3f446f770e8ddc31f3cef7d0687c9
e6869ba79a6ebac0accc8a7a81065a3503541717
Correct account type of HNS accounts
## Type of Change <!-- Place an 'x' in the relevant box(es) --> - [x] Bug fix - [x] New feature - [ ] Code quality improvement - [ ] Other (describe): ## Description Auto detect account type and set to ADLS if user has not given account type and mounting an HNS container. ## How Has This Been Tested? Mount...
diff --git a/component/azstorage/azstorage.go b/component/azstorage/azstorage.go index e352b2e7fb..eeeb7644ec 100644 --- a/component/azstorage/azstorage.go +++ b/component/azstorage/azstorage.go @@ -90,6 +90,8 @@ func (az *AzStorage) Configure(isParent bool) error { return fmt.Errorf("config error in %s [%s]", az.Na...
2
1
1
[{"id": "G0", "claim": "IsAccountADLS should return true when the list call succeeds (err is nil) and false for all other errors, instead of defaulting to true on any error that is not InvalidQueryParameterValue.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1",...
null
Azure__azure-storage-fuse__1702
Azure/azure-storage-fuse
1,702
defect
fb8a6a8036dd05855fcbb72e3ead1f0b62c2e872
9d6a0bf5cd65a2525fb693c777c63e957611e983
Implement getAttr, readdir callbacks for fuse
<!-- Thank you for contributing to the Blobfuse2. Please verify the following before submitting your PR, thank you! --> ## Type of Change <!-- Place an 'x' in the relevant box(es) --> - [ ] Bug fix - [x] New feature - [ ] Code quality improvement - [ ] Other (describe): ## Description <!-- Provide a short ...
diff --git a/component/distributed_cache/distributed_cache.go b/component/distributed_cache/distributed_cache.go index 6a9070c2f8..1f4d3177ce 100644 --- a/component/distributed_cache/distributed_cache.go +++ b/component/distributed_cache/distributed_cache.go @@ -36,10 +36,14 @@ package distributed_cache import ( "co...
7
6
1
[{"id": "G0", "claim": "The isPathValid guard in GetAttr should be dropped: it costs a couple of string searches and wrongly excludes paths where fs=... appears other than as the first component.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "GetAtt...
null
Azure__azure-storage-fuse__1709
Azure/azure-storage-fuse
1,709
defect
5ed4bd432b4567178b60f28924ef8cd65049f1e0
9849f62cf14b7d7f9dc453b4697ef9d21e0fb96e
File Manager Implementation
<!-- Thank you for contributing to the Blobfuse2. Please verify the following before submitting your PR, thank you! --> ## Type of Change <!-- Place an 'x' in the relevant box(es) --> - [ ] Bug fix - [x] New feature - [ ] Code quality improvement - [ ] Other (describe): ## Description <!-- Provide a short ...
diff --git a/component/distributed_cache/distributed_cache.go b/component/distributed_cache/distributed_cache.go index f3c9dbd8f8..d56198dd4b 100644 --- a/component/distributed_cache/distributed_cache.go +++ b/component/distributed_cache/distributed_cache.go @@ -36,6 +36,7 @@ package distributed_cache import ( "cont...
18
16
4
[{"id": "G0", "claim": "The file manager should export Read/Write/Readahead methods on *File that hide chunk management behind an internal ensureChunks helper and copy to/from the caller's []byte, instead of exposing chunk-level functions.", "category": "design", "verdict": "uncertain", "priority": "P1", "scope": "intr...
null
Azure__azure-storage-fuse__1717
Azure/azure-storage-fuse
1,717
defect
7331bbcf4ba017e8fe9fdb3cc884dd596c41bcc7
724466f9c6c48a4e94d2fdf9962adb065a8ecc06
RPC: Chunk Service handler initialization
<!-- Thank you for contributing to the Blobfuse2. Please verify the following before submitting your PR, thank you! --> ## Type of Change <!-- Place an 'x' in the relevant box(es) --> - [ ] Bug fix - [x] New feature - [ ] Code quality improvement - [ ] Other (describe): ## Description Initialize chunk serv...
diff --git a/internal/dcache/replication_manager/utils.go b/internal/dcache/replication_manager/utils.go index 29d247b700..39e226120e 100644 --- a/internal/dcache/replication_manager/utils.go +++ b/internal/dcache/replication_manager/utils.go @@ -59,7 +59,7 @@ const ( func getReaderRV(componentRVs []*models.RVNameAndS...
11
9
2
[{"id": "G0", "claim": "Log the current node client pool size and the max allowed connections when releasing an RPC client, next to the pool-full assert.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Drop the redundant assert message on lruNcPo...
null
Azure__azure-storage-fuse__1727
Azure/azure-storage-fuse
1,727
defect
4ef9779968c548a5d0797d378e710e1c8dd0e2ad
ab1bfd059b60f3ba7973f22cd05b3ac54cc40330
XLoad fixes based on demo prep
- Some logging improvements - Some fine tuning - Xload used to continue download even after unmount, have corrected the flow to terminate threads on unmount.
diff --git a/common/types.go b/common/types.go index 3c0803351d..05ba612436 100644 --- a/common/types.go +++ b/common/types.go @@ -47,7 +47,7 @@ import ( // Standard config default values const ( - blobfuse2Version_ = "2.5.0~preview.1" + blobfuse2Version_ = "2.5.0~preview.2" DefaultMaxLogFileSize = 512 Defaul...
6
3
0
[{"id": "G0", "claim": "The splitter's new AddStats call duplicates the download-byte stats the data manager already sends to the stats manager.", "category": "correctness", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The Crit log line labels the pool figures as 'Cache usage' ...
null
Azure__azure-storage-fuse__1735
Azure/azure-storage-fuse
1,735
defect
0074bc924da897cc6df2eb197c5b9fda551d2901
a0f49c660590dc8f3ffbd9e990f7bd9bbd800723
RPC: Refactoring
<!-- Thank you for contributing to the Blobfuse2. Please verify the following before submitting your PR, thank you! --> ## Type of Change <!-- Place an 'x' in the relevant box(es) --> - [ ] Bug fix - [ ] New feature - [x] Code quality improvement - [ ] Other (describe): ## Description Refactoring of some m...
diff --git a/internal/dcache/replication_manager/replication_manager.go b/internal/dcache/replication_manager/replication_manager.go index 4c29044b10..9f9ffa701d 100644 --- a/internal/dcache/replication_manager/replication_manager.go +++ b/internal/dcache/replication_manager/replication_manager.go @@ -45,7 +45,6 @@ imp...
6
6
1
[{"id": "G0", "claim": "The Cleanup log line (and the same for L327 in the same file) should be log.Info instead of log.Debug because it is rare and good to know.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "NewNodeServer should not proceed on...
null
Azure__azure-storage-fuse__1809
Azure/azure-storage-fuse
1,809
defect
5e0ecbfd0e63a70dca732601790538e455816b41
ccec1bb2395684ea6e296e47b0c4cf878d709e9a
Fix attr cache memory leak by implementing expired entry cleanup
## Problem The attr_cache component was caching file attributes but never removing expired entries from the cache map, causing memory usage to grow indefinitely. When a getattr call was received, it would check if cached data was still valid based on the timeout interval, but expired entries were never actually delete...
diff --git a/component/attr_cache/attr_cache.go b/component/attr_cache/attr_cache.go index 8863cc03e3..3e10e68f73 100644 --- a/component/attr_cache/attr_cache.go +++ b/component/attr_cache/attr_cache.go @@ -247,6 +247,17 @@ func (ac *AttrCache) invalidatePath(path string) { } } +// cleanupExpiredEntries: removes e...
1
1
1
[{"id": "G0", "claim": "Cleanup shall not be done opportunistically inside GetAttr; instead create a goroutine that runs every expiration interval and cleans up the map, and GetAttr calls shall not proceed while that operation is in progress, otherwise it may crash.", "category": "design", "verdict": "supported", "prio...
null
Azure__azure-storage-fuse__1814
Azure/azure-storage-fuse
1,814
defect
4f40d2de918cdc452b54ad8562556ef9e012b51d
f1b2d06729b7a5cdfe2a84ad569e1944dd5115ca
Az storage changes for dcache
<!-- Thank you for contributing to the Blobfuse2. Please verify the following before submitting your PR, thank you! --> ## Type of Change <!-- Place an 'x' in the relevant box(es) --> - [ ] Bug fix - [ ] New feature - [ ] Code quality improvement - [ ] Other (describe): ## Description <!-- Provide a short ...
diff --git a/component/azstorage/azstorage.go b/component/azstorage/azstorage.go index 6a971ff598..6259599065 100644 --- a/component/azstorage/azstorage.go +++ b/component/azstorage/azstorage.go @@ -433,7 +433,7 @@ func (az *AzStorage) DeleteFile(options internal.DeleteFileOptions) error { func (az *AzStorage) RenameF...
3
2
1
[{"id": "G0", "claim": "In Datalake.RenameFile the IfNoneMatch (non-replace) AccessConditions are applied unconditionally, so normal renames always carry the NoReplace guard; wrap the assignment in `if options.NoReplace { ... }`.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduce...
null
Azure__azure-storage-fuse__1847
Azure/azure-storage-fuse
1,847
defect
5e0ecbfd0e63a70dca732601790538e455816b41
fb1b189650132ae6c9f65e9318dfaa657fa4b9ef
Memory leak/ throttle crash fix
<!-- Thank you for contributing to the Blobfuse2. Please verify the following before submitting your PR, thank you! --> ## Type of Change <!-- Place an 'x' in the relevant box(es) --> - [x] Bug fix - [ ] New feature - [ ] Code quality improvement - [ ] Other (describe): ## Description <!-- Provide a short ...
diff --git a/component/block_cache/blockpool.go b/component/block_cache/blockpool.go index c34f1b61fb..bba745a974 100644 --- a/component/block_cache/blockpool.go +++ b/component/block_cache/blockpool.go @@ -60,6 +60,12 @@ type BlockPool struct { // Number of block that this pool can handle at max maxBlocks uint32...
5
5
1
[{"id": "G0", "claim": "Extract the 0.9 magic multiplier into a named constant (e.g., throttleRatio) with a comment explaining its purpose to improve readability and ease future tuning.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The channel ...
null
Azure__azure-storage-fuse__1870
Azure/azure-storage-fuse
1,870
defect
178fab3d7a992eabd11db91b9323481542665785
df4147944629741755d8543247145380cb57dfe0
Hard limit in file-cache shall be on by default to avoid issues related to disk running out of space
## Type of Change - [x] Bug fix - [ ] New feature - [ ] Code quality improvement - [ ] Other (describe): ## Description If use has configured a disk space limit for file-cache, or if not configured then we keep it 80% of available disk space. Though these limits are configured, they are not honoured. For e.g. i...
diff --git a/component/file_cache/file_cache.go b/component/file_cache/file_cache.go index 24a0069247..34006fccc8 100644 --- a/component/file_cache/file_cache.go +++ b/component/file_cache/file_cache.go @@ -250,7 +250,7 @@ func (c *FileCache) Configure(_ bool) error { c.syncToFlush = conf.SyncToFlush c.syncToDelete...
3
2
2
[{"id": "G0", "claim": "The error returned by f.Close() on the hard-limit path should be captured and handled (e.g. logged) to avoid resource leaks if closing the file fails.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The error from os.Remove(lo...
null
Azure__azure-storage-fuse__1872
Azure/azure-storage-fuse
1,872
defect
178fab3d7a992eabd11db91b9323481542665785
867625bd8610b2cd03b41978730832a438c61602
End all threads when blobfuse is unmounted
In xload we were waiting for new block in getblock() and no case for when the ctx is cancelled. Added a case to return nil in that case. In goroutine of Process in splitter we were not checking for the original process's ctx status. <!-- Thank you for contributing to the Blobfuse2. Please verify the following befor...
diff --git a/component/xload/blockpool.go b/component/xload/blockpool.go index 9cf4741638..c9882bfa1e 100644 --- a/component/xload/blockpool.go +++ b/component/xload/blockpool.go @@ -34,6 +34,8 @@ package xload import ( + "context" + "fmt" "sync/atomic" "github.com/Azure/azure-storage-fuse/v2/common/log" @@ -...
5
1
0
[{"id": "G0", "claim": "Returning immediately from the goroutine on context cancellation skips reading and releasing remaining blocks from responseChannel, which can leak buffers; the reviewer asks to drain responseChannel and release each block before exiting.", "category": "correctness", "verdict": "uncertain", "prio...
null
Azure__azure-storage-fuse__1882
Azure/azure-storage-fuse
1,882
defect
eaa78463aa6c7bf1fa20ec784e79e87ee2c4211b
4186c07eee7923ee48c60b1556922b7295c0d878
Provide a mode to just disable kernel cache not the blobfuse cache
As of now we either we have direct-io mode where both kernel cache and blobfuse cache are disabled or you have all cache enabled. In AKS mode, few customers want to have blobfuse file level cache but no kernel cache (as kernel page cache can not be controlled as in when to wipe it out). With this change adding a new fl...
diff --git a/cmd/mount.go b/cmd/mount.go index a3c618e62e..e08c6a2e64 100644 --- a/cmd/mount.go +++ b/cmd/mount.go @@ -89,6 +89,7 @@ type mountOptions struct { MonitorOpt monitorOptions `config:"health_monitor"` WaitForMount time.Duration `config:"wait-for-mount"` LazyWrite bool `co...
6
5
1
[{"id": "G0", "claim": "The flag description contains a spelling error: 'kerneel' should be 'kernel'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The Configure log labels the new flag's value 'kernel_cache' even though the value is the negated ...
null
Azure__azure-storage-fuse__1895
Azure/azure-storage-fuse
1,895
defect
7776998e3f031e791148482db29f8c40beb53255
dc3f414de33bbf4da87ab2bacc04e4135ab72840
Making the truncate callback handle aware.
<!-- Thank you for contributing to the Blobfuse2. Please verify the following before submitting your PR, thank you! --> ## Type of Change <!-- Place an 'x' in the relevant box(es) --> - [ ] Bug fix - [x] New feature - [ ] Code quality improvement - [ ] Other (describe): ## Description <!-- Provide a short ...
diff --git a/component/libfuse/libfuse2_handler.go b/component/libfuse/libfuse2_handler.go index db7753cc96..30be2edf19 100644 --- a/component/libfuse/libfuse2_handler.go +++ b/component/libfuse/libfuse2_handler.go @@ -776,6 +776,14 @@ func libfuse_flush(path *C.char, fi *C.fuse_file_info_t) C.int { } // libfuse2_t...
1
1
0
[{"id": "G0", "claim": "The trace log format string contains a stray '%' character and should use '%s' to properly format the name parameter.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Azure__azure-storage-fuse__1899
Azure/azure-storage-fuse
1,899
defect
f10f640f5abcf8ab94c7c003c3b5cf4c6a950ce3
a0ac70bbb5c901318a935d0ebacfaec233a93bd8
Timeout for creating new RPC client and doing RW operations
<!-- Thank you for contributing to the Blobfuse2. Please verify the following before submitting your PR, thank you! --> ## Type of Change <!-- Place an 'x' in the relevant box(es) --> - [x] Bug fix - [ ] New feature - [ ] Code quality improvement - [ ] Other (describe): ## Description Added timeouts for RP...
diff --git a/internal/dcache/cluster_manager/cluster_manager.go b/internal/dcache/cluster_manager/cluster_manager.go index 9fa09008c5..07100f3b25 100644 --- a/internal/dcache/cluster_manager/cluster_manager.go +++ b/internal/dcache/cluster_manager/cluster_manager.go @@ -3941,6 +3941,8 @@ func (cmi *ClusterManager) batc...
12
12
1
[{"id": "G0", "claim": "Set defaultConnectionTimeout to 10 seconds and defaultSocketTimeout to 20 seconds, and add a comment explaining that these are not kept very low to be resilient to occasional packet drops.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cla...
null
Azure__azure-storage-fuse__2058
Azure/azure-storage-fuse
2,058
defect
421feb6dfe9ff7a89f7f224cb5af92f231539f18
d8c4759ae6726d9ec3cab8925c6b64ad7724a36e
Rename close->release for better clarity
<!-- Thank you for contributing to the Blobfuse2. Please verify the following before submitting your PR, thank you! --> ## Type of Change <!-- Place an 'x' in the relevant box(es) --> - [ ] Bug fix - [ ] New feature - [x] Code quality improvement - [ ] Other (describe): ## Description <!-- Provide a short ...
diff --git a/component/azstorage/azstorage.go b/component/azstorage/azstorage.go index 500f5d9879..c3141cf18e 100644 --- a/component/azstorage/azstorage.go +++ b/component/azstorage/azstorage.go @@ -408,7 +408,7 @@ func (az *AzStorage) OpenFile(options internal.OpenFileOptions) (*handlemap.Hand return handle, nil } ...
6
5
0
[{"id": "G0", "claim": "Log messages inside the renamed ReleaseFile methods (LoopbackFS, AzStorage, BlockCache) still reference \"CloseFile\" and should be updated to \"ReleaseFile\" at all places.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Th...
null
Azure__azure-storage-fuse__2063
Azure/azure-storage-fuse
2,063
defect
d2e3c8a69629afeda7e9b0d63074460fddbf8ca0
eb201a640ef5a6fe9804e689949b99a3e38bfad3
Add goroutine id in debug logs
<!-- Thank you for contributing to the Blobfuse2. Please verify the following before submitting your PR, thank you! --> ## Type of Change <!-- Place an 'x' in the relevant box(es) --> - [ ] Bug fix - [ ] New feature - [ ] Code quality improvement - [x] Other (describe): ## Description Add goroutine id in d...
diff --git a/common/log/base_logger.go b/common/log/base_logger.go index 91dbf49602..75dc218523 100644 --- a/common/log/base_logger.go +++ b/common/log/base_logger.go @@ -219,15 +219,25 @@ func (l *BaseLogger) logEvent(lvl string, format string, args ...any) { // Only log if the log level matches the log request _,...
4
4
1
[{"id": "G0", "claim": "The doc comment on GetGID should begin with the function's name per Go doc conventions ('GetGID returns the goroutine id of the current goroutine.').", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Calling runtime.Stack() on...
null
Azure__azure-storage-fuse__2067
Azure/azure-storage-fuse
2,067
defect
d2e3c8a69629afeda7e9b0d63074460fddbf8ca0
55ea65ff5da6436cd4b1ee15628e1063d4e00f6e
Gen-config command improvement
This is an improvement to the already existing command to generate default config yaml file for the customer. Refer : https://github.com/Azure/azure-storage-fuse/pull/1535 1. command should show help message when no flags are given 2. command should show a message Generated Config File: filename after a successf...
diff --git a/cmd/gen-config.go b/cmd/gen-config.go index a3310453ba..383906b269 100644 --- a/cmd/gen-config.go +++ b/cmd/gen-config.go @@ -36,6 +36,7 @@ package cmd import ( "fmt" "os" + "path/filepath" "strings" "github.com/Azure/azure-storage-fuse/v2/common" @@ -59,11 +60,16 @@ var generatedConfig = &cobra...
6
5
2
[{"id": "G0", "claim": "The error returned by cmd.Help() in the SetFlagErrorFunc handler is ignored, which could hide failures in displaying the help message; it should be handled or at least logged.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Th...
null
Azure__azure-storage-fuse__2100
Azure/azure-storage-fuse
2,100
defect
f56429111c13d7e360011286c238112dcfc9bcbf
f96fbab184d1df037832e484cab392677c00073a
Disable msi auth testing in Code coverage
* Disable msi auth in unit tests to pass the code coverage, this is because the creating user assigned msi is disabled for 1es hosted pools. * Add missing unit tests
diff --git a/blobfuse2-code-coverage.yaml b/blobfuse2-code-coverage.yaml index 0ac6cb0312..c431d950b6 100644 --- a/blobfuse2-code-coverage.yaml +++ b/blobfuse2-code-coverage.yaml @@ -65,8 +65,9 @@ stages: # ------------------------------------------------------- # Pull and build the code and creat...
3
1
0
[{"id": "G0", "claim": "The added test file common/util_64_test.go appears unrelated to the pull request's purpose of disabling MSI auth testing in code coverage; consider separating the unrelated changes into a separate pull request to keep the scope clear.", "category": "maintainability", "verdict": "uncertain", "pri...
null
Azure__azure-storage-fuse__2160
Azure/azure-storage-fuse
2,160
defect
0bf9b9fd08c108cf05e1d11de2c0803454265e6f
96d1462a5f5da2ffe102d39075a7c3573de5ffbe
Remote version check for updates and warnings
<!-- Thank you for contributing to the Blobfuse2. Please verify the following before submitting your PR, thank you! --> ## Type of Change <!-- Place an 'x' in the relevant box(es) --> - [ ] Bug fix - [ ] New feature - [ ] Code quality improvement - [x] Other (describe): ## Description Versions which are ol...
diff --git a/blobfuse2-release.yaml b/blobfuse2-release.yaml index 70743b1402..c2b677f66d 100644 --- a/blobfuse2-release.yaml +++ b/blobfuse2-release.yaml @@ -1805,95 +1805,3 @@ stages: done < <(tail -n +3 ../packages.csv) workingDirectory: $(Build.ArtifactStagingDirectory)/blobfuse2...
6
2
2
[{"id": "G0", "claim": "The unit tests make real network calls to the GitHub Contents API via the hard-coded common.GitHubReleaseContentsURL, which makes the test suite flaky (rate limits/403s, network outages) and can fail in isolated CI; prefer an httptest.Server (or mock RoundTripper) with deterministic 200/404 resp...
null
Azure__azure-storage-fuse__737
Azure/azure-storage-fuse
737
defect
3afd9a2ae36868eb7c82634758022678bc2b3b0f
a28731b826ebc06502bd315a2d83a132fc3f916e
File-cache open-file complexity with respect to file locks removed
- file-cache needed ex-locks on files before download or deletion - these ex-locks works only when file has write permission - to handle ex-lock and permission combination there was a lot of locks and complex logic involved in openFile. createFile and cache eviction logic - Moving to a solution where open handle cou...
diff --git a/common/lock_map.go b/common/lock_map.go index 0b1caff8cb..ddb73d221c 100644 --- a/common/lock_map.go +++ b/common/lock_map.go @@ -35,51 +35,73 @@ package common import ( "sync" - - "go.uber.org/atomic" ) +// Lock item for each file type LockMapItem struct { - sync.Mutex - locked atomic.Bool + hand...
4
2
1
[{"id": "G0", "claim": "The error returned by os.Chmod in deleteFile should be grabbed, since the following err != nil check currently tests the stale error from the earlier os.Remove call.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Lock-map ent...
null
Azure__azure-storage-fuse__759
Azure/azure-storage-fuse
759
defect
7a676a38b838888139d8bf879348d882a550ec95
6cd0ae8bc10b19f3d4a3cc186e723843e0294d58
[BUG] Fixed block size max blocks exceeded bug when blocksize not set
If the blocksize is not set - let's set it dynamically based on file size to avoid max blocks exceeded errors. changed default block size to 0.
diff --git a/component/azstorage/block_blob.go b/component/azstorage/block_blob.go index 0e5a7285c2..f65c335756 100644 --- a/component/azstorage/block_blob.go +++ b/component/azstorage/block_blob.go @@ -35,6 +35,7 @@ package azstorage import ( "blobfuse2/common" + "blobfuse2/common/config" "blobfuse2/common/log"...
6
4
0
[{"id": "G0", "claim": "Check the already-populated bb.Config.blockSize field (== 0) instead of calling config.IsSet on every upload, and set the default block size to 0 instead of 16MB.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Consider passin...
null
Azure__azure-storage-fuse__827
Azure/azure-storage-fuse
827
defect
d6533d82e90f7a6b161ace0a37eb082619526dd8
757f72b63817fbe5bf1f6568b254889db41e00ca
Files auth + testing
no access to pipeline (nightlyblobfuse) to add fileshare variables and keys so tests might not work
diff --git a/azure-pipeline-templates/build.yml b/azure-pipeline-templates/build.yml index defb835858..7a5ed22086 100755 --- a/azure-pipeline-templates/build.yml +++ b/azure-pipeline-templates/build.yml @@ -108,12 +108,16 @@ steps: echo "{" > $cnfFile echo "\"block-acct\"": "\"$(AZTEST_BLOCK_ACC_NAME)\"",...
1
1
1
[{"id": "G0", "claim": "The PR should also implement the methods that should call into getAzAuth, including FileShare.SetupPipeline and TestPipeline, since that is how the storage credentials are validated.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Azure__azure-storage-fuse__924
Azure/azure-storage-fuse
924
defect
cdde152a0d3defe06253e89c41f44c1909131851
9e66745238b7ddbd0311718efb4b261fabb43640
Mount using /etc/fstab
Fixes #921
diff --git a/CHANGELOG.md b/CHANGELOG.md index af8f903b73..9bda481aac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ - Auto correct endpoint for public cloud - In case of invalid option or failure CLI to return non-zero return code - ignore-open-flags CLI parameter is now correctly read +- [#921](htt...
4
2
0
[{"id": "G0", "claim": "Convert the package-level FuseIgnoredFlags slice variable into a function so it acts as a constant and cannot be mutated.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Explain why the release pipeline no longer copies to...
null
Azure__azure-webpubsub__736
Azure/azure-webpubsub
736
defect
b25472e025bafc1b816e5ec64ec412e4827a13bb
b10cab148bed138d3fb78bc11f8f80dbcf5c8db2
reformatted the layout of request and response, new looking for json
#### Change: - changed the panel container to be fixed size - made request container and response container scrollable when the content grows - added recognizing logic to application/Json type in raw request process and display as Json format with <ReactJson> #### New Dependency: - react-json-view (https://www...
diff --git a/tools/awps-tunnel/client/package.json b/tools/awps-tunnel/client/package.json index 908d397a5..4c0fb8592 100644 --- a/tools/awps-tunnel/client/package.json +++ b/tools/awps-tunnel/client/package.json @@ -18,6 +18,7 @@ "react": "^18.2.0", "react-dom": "^18.2.0", "react-highlight": "^0.15.0", ...
3
3
2
[{"id": "G0", "claim": "The raw request/response processing should handle '\\r\\n' line endings, which are possible depending on the platform, and should be wrapped into a utils method returning structured header and body (ideally next to the server's dumpRawRequest).", "category": "correctness", "verdict": "supported"...
null