Skip to content

feat(store): add bounded Azure Blob backend and contract coverage - #65

Draft
tobi wants to merge 2 commits into
backlog/06-dev-setupfrom
backlog/07-azure
Draft

tobi wants to merge 2 commits into
backlog/06-dev-setupfrom
backlog/07-azure

Conversation

@tobi

@tobi tobi commented Sep 13, 2026

Copy link
Copy Markdown
Owner

Add an opt-in Azure Blob backend with streamed reads, bounded staged uploads, attempt-unique block IDs, conditional final commits and conditional source copies. Support refreshed Azure identity plus delegated read SAS/edge URLs; configured SAS does not gain delegation authority. Plain HTTP SAS endpoints are limited to loopback fixtures.

Consolidates #50 with exact small-body length enforcement and error redaction. Event notifications are a separate next layer. The Azure implementation and its tests are the largest layer in this stack.

Validation: Azure unit tests and strict Clippy pass locally. Isolated Azurite under Podman passed the storage contract and real Git push/clone/pull/cold-restart byte checks. Azure-only feature compilation passes. CI adds the emulator contract and Git smoke job. StagedPublication adds a fixed safety arm, three exact mutations and three reachability witnesses, mapped to Rust regressions. Live Azure/AKS and production-scale behavior remain unqualified.

Stack layer 7/8; base: backlog/06-dev-setup. Review the diff against this base. Combined tree at 4475bb4 passes local just ci (38 e2e tests, 19 serial simulations and standalone smoke) and the real two-instance S3 push/maintenance/clone/fsck rig. All six ignored stress/benchmark tests and all 184 full TLC checks pass locally (15 new checks across two models). The follow-up at 37bc4cc changes only two shell test assertions to Bash builtins; it passes with a minimal PATH. All eight stack heads are green in hosted CI (26 jobs). This layer’s successful run.

Review order: 01-conditional-storage02-s3-credentials03-lfs-batches04-lfs-metrics05-auth-boundaries06-dev-setup07-azure08-azure-events.

Consolidate PR #50 as the opt-in Azure implementation; keep Event Grid in a following layer. Preserve conditional staged publication, source-pinned compose, signed reads and explicit identity modes. Tighten small-body length enforcement and loopback-only HTTP. Add StagedPublication TLC controls and witnesses; SDK unit tests passed. Live Azure/AKS remains unqualified.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant