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

Import the LatestValueCache implementation from the Frequenz SDK #302

Merged
merged 4 commits into from
Jul 1, 2024

Conversation

shsms
Copy link
Contributor

@shsms shsms commented Jun 27, 2024

This PR also adds an integration test for LatestValueCache.

@shsms shsms requested a review from a team as a code owner June 27, 2024 09:54
@shsms shsms requested a review from llucax June 27, 2024 09:54
@github-actions github-actions bot added part:tests Affects the unit, integration and performance (benchmarks) tests part:docs Affects the documentation labels Jun 27, 2024
Signed-off-by: Sahas Subramanian <sahas.subramanian@proton.me>
Signed-off-by: Sahas Subramanian <sahas.subramanian@proton.me>
Signed-off-by: Sahas Subramanian <sahas.subramanian@proton.me>
Copy link
Contributor

@llucax llucax left a comment

Choose a reason for hiding this comment

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

LGTM, but I would try to keep the user guide documentation up to date too, can you maybe add some high-level documentation with some example to the new private module docstring and expose it via docs/user-guide/receiving/caching.md maybe? Similar to this.

@llucax llucax added this to the v1.1.0 milestone Jun 28, 2024
Signed-off-by: Sahas Subramanian <sahas.subramanian@proton.me>
@shsms
Copy link
Contributor Author

shsms commented Jun 28, 2024

can you maybe add some high-level documentation with some example

done

Copy link
Contributor

@llucax llucax left a comment

Choose a reason for hiding this comment

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

Nice, thanks! I think I could make sense to rename get() to value and make it a @property, but this can be discussed separately and done in a separate PR too, so approving anyways.

@llucax
Copy link
Contributor

llucax commented Jul 1, 2024

Nice, thanks! I think I could make sense to rename get() to value and make it a @property, but this can be discussed separately and done in a separate PR too, so approving anyways.

Merged via the queue into frequenz-floss:v1.x.x with commit a90611c Jul 1, 2024
14 checks passed
@shsms shsms deleted the latest-value-cache branch July 1, 2024 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
part:docs Affects the documentation part:tests Affects the unit, integration and performance (benchmarks) tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants