Repository navigation
feat(storage): add Azure Blob Storage driver - #280
Merged
Merged
Conversation
Signed-off-by: Jonas Beck <dev@jonasbeck.dk>
Signed-off-by: Jonas Beck <dev@jonasbeck.dk>
Signed-off-by: Jonas Beck <dev@jonasbeck.dk>
Signed-off-by: Jonas Beck <dev@jonasbeck.dk>
Signed-off-by: Jonas Beck <dev@jonasbeck.dk>
Signed-off-by: Jonas Beck <dev@jonasbeck.dk>
Signed-off-by: Jonas Beck <dev@jonasbeck.dk>
Signed-off-by: Jonas Beck <dev@jonasbeck.dk>
Signed-off-by: Jonas Beck <dev@jonasbeck.dk>
Signed-off-by: Jonas Beck <dev@jonasbeck.dk>
Signed-off-by: Jonas Beck <dev@jonasbeck.dk>
…oint from client Signed-off-by: Jonas Beck <dev@jonasbeck.dk>
Signed-off-by: Jonas Beck <dev@jonasbeck.dk>
Signed-off-by: Jonas Beck <dev@jonasbeck.dk>
Signed-off-by: Jonas Beck <dev@jonasbeck.dk>
Signed-off-by: Jonas Beck <dev@jonasbeck.dk>
Signed-off-by: Jonas Beck <dev@jonasbeck.dk>
- stop logging signed source URLs when staging a block fails - fetch the user delegation key once per compose instead of per part - fail deletions when batch sub-requests fail, count only deleted blobs - require the container to exist instead of creating it, like S3 - derive account and shared-key mode from the client Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
chenrui333
added a commit
to chenrui333/github-actions-cache-server
that referenced
this pull request
Oct 24, 2026
`lib/storage.ts` imported `@azure/storage-blob`, `@azure/identity` and `@google-cloud/storage` at the top level, so every server loaded all three SDKs whatever `STORAGE_DRIVER` said. Since the Azure Blob driver (falcondev-oss#280) that adds about 40 MB of live heap to an idle S3 or filesystem server, and every GC cycle has to walk it. Import each SDK inside its adapter's `fromEnv`; only types stay as static imports. Signed-off-by: Rui Chen <rui@chenrui.dev> (cherry picked from commit 00a7d6c)
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.
Adds an
azblobstorage driver. Takes over #257 by @Jonas-Beck: his commits are kept as-is, withdevmerged in and one commit of review fixes on top.Auth is either
STORAGE_AZBLOB_CONNECTION_STRING(shared key) orSTORAGE_AZBLOB_ACCOUNT(+ optionalSTORAGE_AZBLOB_ENDPOINT) withDefaultAzureCredential.STORAGE_AZBLOB_CONTAINERis required and must exist. Supports direct downloads (SAS) and eager merge (Put Block From URL). The Helm chart exposesconfig.storage.azblob; the connection string goes throughexistingSecret.Review fixes on top of #257:
Tested against Azurite with the full suite (sqlite + azblob). The
DefaultAzureCredentialpath is not covered by CI since Azurite only does shared keys; @Jonas-Beck, a check with workload identity would be appreciated.Closes #256
🤖 Generated with Claude Code