Skip to content

Conversation

@domire8
Copy link
Member

@domire8 domire8 commented Jan 22, 2026

Description

Recently found those changes locally, why not add them.

Review guidelines

Estimated Time of Review: 5 minutes

Checklist before merging:

  • Confirm that the relevant changelog(s) are up-to-date in case of any user-facing changes

SprGrf
SprGrf previously approved these changes Jan 22, 2026
yrh012
yrh012 previously approved these changes Jan 22, 2026
@domire8
Copy link
Member Author

domire8 commented Jan 27, 2026

Thanks for the good review, I missed the validation a couple months back

@domire8 domire8 dismissed stale reviews from yrh012 and SprGrf via b55bcc9 January 27, 2026 11:10
default_value: 1.0
validation:
range:
exclusive_minimum: 0
Copy link

@yrh012 yrh012 Jan 28, 2026

Choose a reason for hiding this comment

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

Suggested change
exclusive_minimum: 0
minimum: 0

if (value < 0.0 || value > std::numeric_limits<double>::max()) {

Copy link
Member Author

Choose a reason for hiding this comment

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

I added a FIXME comment, I think this shouldn't be allowed to be set to zero. Same for predicate_publishing_rate

internal: true
validation:
range:
exclusive_minimum: 0
Copy link

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

Added a FIXME comment

yrh012
yrh012 previously approved these changes Jan 28, 2026
Copy link

@yrh012 yrh012 left a comment

Choose a reason for hiding this comment

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

Besides the above comments, should be good for me 👍

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.

5 participants