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

Log a warning for slow signal updates to subscribers #116

Draft
wants to merge 5 commits into
base: 0.5.X
Choose a base branch
from

Conversation

mikehaller
Copy link

When subscribers are too slow to process vehicle signal updates, databroker will log a warning.

erikbosch and others added 5 commits November 27, 2024 11:06
Performed by scripts/prepare_release.sh 0.6.0-dev.0
This is to make sure that if someone builds from source it should be clearly visible that they
are not using the official 0.5.0 version.
See https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes

Was newly introduced

Also introducing a weekly cron to detect this type of regressions
@@ -1203,7 +1203,7 @@ impl<'a, 'b> DatabaseReadAccess<'a, 'b> {
}
}

impl<'a, 'b> DatabaseWriteAccess<'a, 'b> {
impl DatabaseWriteAccess<'_, '_> {
Copy link
Contributor

Choose a reason for hiding this comment

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

Why did you changed from explicit lifetimes to anonymous lifetimes? did it complain?

Copy link
Contributor

Choose a reason for hiding this comment

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

This is inherited from #114, see also https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes

As we use "latest and greatest" clippy we get these types of regressions now and then

(long term we could discuss if we rather should have a fixed rust/clippy/fmt version and perform updates only when preparing for a (major) release, to reduce the risk of regressions)

@@ -13,7 +13,7 @@

[package]
name = "databroker-cli"
version = "0.5.0"
version = "0.5.0-dev.1"
Copy link
Contributor

Choose a reason for hiding this comment

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

It would be better with "0.5.1-dev.1" (or "0.5.1-dev.0") as it is not a pre-release to 0.5.0 but rather a possible pre-release to an upcoming 0.5.1

https://github.com/eclipse-kuksa/kuksa-databroker/wiki/Release-Process#proposed-versioning-scheme

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.

3 participants