Repository navigation
feat(azure): complete Phase 3 pilot with staged blocks, conditional uploads, and metadata - #192
Merged
Merged
Conversation
…ploads, and metadata - Expand OpenAPI model with PutBlock, PutBlockList, and SetBlobMetadata operations - Fix codegen non-determinism by sorting schemas and properties in openapi_parser - Support conditional requests (If-None-Match, If-Match) in FileStore and Provider - Implement chunked block staging and atomic block list commitment with path traversal guards - Support user-defined blob metadata and preserve lowercase x-ms-meta-* response headers - Expand azure-storage-blob compatibility tests covering new operations - Sync docs/roadmap.md, docs/services/azure.md, and docs/coverage.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Completes the Phase 3 Azure Blob Storage pilot and multi-CSP v2.0 groundwork by adding staged block uploads, conditional requests, and custom metadata handling, accompanied by deterministic codegen and expanded Python SDK compatibility tests.
Related Issue
Fixes #
Changes
api/models/azure-blob-storage.jsonwithPutBlock,PutBlockList, andSetBlobMetadataoperations and associated schemas (BlobAlreadyExists,ConditionNotMet, input/output types).internal/codegen/openapi_parser.goby lexicographically sorting schema and property keys.internal/codegen/openapi_parser_test.go.internal/services/blob/store.goandprovider.go(If-None-Match: *returning 409BlobAlreadyExists,If-Matchreturning 412ConditionNotMet).StageBlock) and atomic assembly (CommitBlockList) with path traversal guards.SetBlobMetadata) and header response preservation ininternal/gateway/router.go(preserving lowercasex-ms-meta-*headers for Azure SDK deserialization).test/compatibility/test_azure_blob.pywith tests for conditional upload, staged block upload, custom metadata, and byte-range downloads (6 of 6 tests passing).docs/roadmap.mdmarking Phase 3 complete with2.x ← currentversioning.docs/services/azure.mdwith new operations and Python SDK usage examples.docs/coverage.md.Test Plan
go test ./...: All unit and integration tests passing.make codegen: Verified 100% deterministic code generation with zero diff churn.pytest test/compatibility/test_azure_blob.py: All 6 Azure Blob Storage SDK tests passing.python3 ./scripts/check-site-links.py: All 1,202 internal documentation links resolve.pre-commit run --all-files: All linters, formatting, and safety checks passing.Checklist
golangci-lint run)changie new, one sentence and two at most, see RELEASE.md) — or N/A (docs/tests/chore only)