Skip to content
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

Make storage-service a default feature #2750

Merged
merged 3 commits into from
Nov 1, 2024
Merged

Conversation

ma2bd
Copy link
Contributor

@ma2bd ma2bd commented Oct 30, 2024

Motivation

Users should be able to use linera net up after cargo install linera-storage-service linera-service (without passing additional features).

Proposal

Make storage-service a default feature

Caveat: cargo test -p linera-service will not pass anymore. Fixing this is a longer discussion (see e.g. #2699)

Test Plan

CI

Release Plan

  • These changes should be backported to the latest devnet branch, then
    • be released in a new SDK,
  • These changes should be backported to the latest testnet branch, then
    • be released in a new SDK,

@ma2bd ma2bd force-pushed the storage_feature branch 2 times, most recently from 52b9966 to b914454 Compare October 31, 2024 05:13
run: |
cargo test --features unstable-oracles --locked
# TODO(#2764): Actually link this to the default features
cargo test --no-default-features --features fs,macros,wasmer,rocksdb,unstable-oracles --locked
Copy link
Contributor

Choose a reason for hiding this comment

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

Ah, right!
Wasn't the plan to introduce a non-default test-storage-service feature? Then we could use the default features here without running those tests.

@ma2bd ma2bd merged commit f13c60e into linera-io:main Nov 1, 2024
7 checks passed
@ma2bd ma2bd deleted the storage_feature branch November 1, 2024 00:22
ma2bd added a commit that referenced this pull request Nov 1, 2024
* make sure injecting the "test" feature does not always bring back the default features of a crate

* Make storage-service a default feature

* fix CI in a minimal way
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.

2 participants