Skip to content

Conversation

@itaigilo
Copy link
Contributor

@itaigilo itaigilo commented Dec 16, 2025

Closes #8681.

This PR is used for Enterprise.


Change Description

Making production warning for blockstores part of the Blockstore Adapter metadata.

Testing Details

Tested the warning locally (appears for "mem", doesn't for other types).
Also, unit and integration tests in the blockstore area provide a pretty decent coverage.

@itaigilo itaigilo added exclude-changelog PR description should not be included in next release changelog minor-change Used for PRs that don't require issue attached labels Dec 16, 2025
@github-actions github-actions bot added area/testing Improvements or additions to tests area/block-adapter labels Dec 16, 2025
@itaigilo itaigilo removed the minor-change Used for PRs that don't require issue attached label Dec 16, 2025
@itaigilo itaigilo requested review from a team and N-o-Z December 16, 2025 15:59
Copy link
Member

@N-o-Z N-o-Z left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not very excited about this approach - this could have been resolved with a simple hardcoded list of production ready adapters.
But this works so I'm not blocking.
Please see one comment

func (a *Adapter) BlockstoreMetadata(_ context.Context) (*block.BlockstoreMetadata, error) {
return nil, block.ErrOperationNotSupported
return &block.BlockstoreMetadata{
IsProductionSafe: true,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

false

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here's a bug that this fix has already discovered :)

@github-actions github-actions bot added the area/UI Improvements or additions to UI label Dec 16, 2025
@github-actions github-actions bot added the area/auth IAM, authorization, authentication, audit, AAA, and integrations with all those label Dec 16, 2025
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ itaigilo
❌ Einat Aloni


Einat Aloni seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@itaigilo itaigilo closed this Dec 20, 2025
@itaigilo itaigilo deleted the fix/blockstore-prod-warning branch December 20, 2025 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/auth IAM, authorization, authentication, audit, AAA, and integrations with all those area/block-adapter area/testing Improvements or additions to tests area/UI Improvements or additions to UI exclude-changelog PR description should not be included in next release changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add "production use" warning for mem store for non-single StorageID

4 participants