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

stabilize liveliness API #1646

Merged
merged 17 commits into from
Dec 11, 2024
Merged

stabilize liveliness API #1646

merged 17 commits into from
Dec 11, 2024

Conversation

milyin
Copy link
Contributor

@milyin milyin commented Dec 10, 2024

Stablilization of liveliness API #1645

Copy link

PR missing one of the required labels: {'enhancement', 'bug', 'documentation', 'breaking-change', 'dependencies', 'internal', 'new feature'}

@milyin milyin added the new feature Something new is needed label Dec 10, 2024
@milyin milyin mentioned this pull request Dec 10, 2024
8 tasks
@milyin milyin changed the title Remove unstable feature flags from liveliness examples and API stabilize liveliness API Dec 10, 2024

- name: Run tests with SHM + unixpipe
if: ${{ matrix.os == 'ubuntu-latest' }}
run: cargo nextest run -F test -F shared-memory -F unstable -F transport_unixpipe -E 'not (test(test_default_features))' --exclude zenoh-examples --exclude zenoh-plugin-example --workspace
run: cargo nextest run -F test -F shared-memory -F unstable -F internal_config -F transport_unixpipe -E 'not (test(test_default_features))' --exclude zenoh-examples --exclude zenoh-plugin-example --workspace
Copy link
Member

Choose a reason for hiding this comment

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

Why there is the need of enabling internal_config?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The liveliness test (and maybe others) uses direct access to config which is under this feature. I wanted to enable zenoh tests in stable mode so I had to detach internal_config from unstable
#1654

@@ -34,7 +34,7 @@ default = []
[dependencies]
tokio = { workspace = true, features = ["rt", "sync", "time", "macros", "io-std"] }
futures = { workspace = true }
zenoh = { workspace = true, features = ["unstable"], default-features = false }
zenoh = { workspace = true, features = ["unstable", "internal_config"], default-features = false }
Copy link
Member

Choose a reason for hiding this comment

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

Why there is the need of enabling internal_config?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

zenoh-ext uses direct access to config fields. Before it was hidden as the "unstable" included "internal_config"
Later I think we need to remove this feature #1655

@Mallets
Copy link
Member

Mallets commented Dec 11, 2024

@milyin is there an umbrella issue keeping track of API stabilization all repositories?

@milyin
Copy link
Contributor Author

milyin commented Dec 11, 2024

@milyin is there an umbrella issue keeping track of API stabilization all repositories?

#1645

@Mallets Mallets merged commit 2f27e18 into main Dec 11, 2024
24 checks passed
@Mallets Mallets deleted the liveliness_stabilize branch December 11, 2024 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature Something new is needed
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants