-
Notifications
You must be signed in to change notification settings - Fork 3.1k
feat: Add Backblaze B2 Cloud Storage integration #8683
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
jeronimodeleon
wants to merge
4
commits into
HumanSignal:develop
Choose a base branch
from
jeronimodeleon:integrate/shahzaib149-develop
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
feat: Add Backblaze B2 Cloud Storage integration #8683
jeronimodeleon
wants to merge
4
commits into
HumanSignal:develop
from
jeronimodeleon:integrate/shahzaib149-develop
Conversation
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
Add complete support for Backblaze B2 Cloud Storage as a storage backend, providing S3-compatible import/export functionality for Label Studio. This implementation includes: Backend Changes: - B2 storage models with import/export support (models.py) - S3-compatible boto3 integration with B2-specific endpoints - Serializers with enhanced validation and error messages - Database migrations for B2 storage models - Comprehensive test coverage for B2 operations - Client connection caching for improved performance (~100ms per request) Frontend Changes: - B2 provider configuration UI with field validation - Backblaze cloud provider SVG icon (follows existing icon patterns) - Form fields for B2 Application Keys and endpoint configuration - Presigned URL settings and recursive scan options Implementation Details: - Uses boto3 with custom B2 S3-compatible endpoints - Supports both import and export storage operations - Implements presigned URLs for direct browser access - Follows established patterns from S3 and Azure integrations - Includes proper error handling and connection validation Testing: - Unit tests for B2 models and utilities - Connection validation tests - Import/export functionality verification Breaking Changes: None
👷 Deploy request for label-studio-docs-new-theme pending review.Visit the deploys page to approve it
|
👷 Deploy request for heartex-docs pending review.Visit the deploys page to approve it
|
✅ Deploy Preview for label-studio-playground ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for label-studio-storybook ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
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.
Reason for Change:
Label Studio previously supported S3 and Azure storage backends but lacked native support for Backblaze B2 Cloud Storage.
This PR introduces full B2 integration, enabling import and export via Backblaze’s S3-compatible API.
The change expands Label Studio’s storage interoperability and provides an additional cost-efficient, scalable backend option.
Screenshots:
Backend: N/A (no visible changes)
Frontend:
Rollout Strategy:
Testing:
Risks:
Reviewer Notes:
General Notes: