Skip to content

Conversation

@vlad-ivanov-name
Copy link
Collaborator

No description provided.

common_post.map(|c| (c, rest))
} else if let Op::Prefix(_) = to_op(c) {
common_post.map(|c| (c, rest))
} else if let Op::Message(..) = to_op(c) {
Copy link
Member

Choose a reason for hiding this comment

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

I wonder why this was limited to prefix in the first place. Maybe we should look into allowing factorizing all filters here instead of adding more special cases 🤔
Thoughts?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Would prefer to merge this as a hotfix and then create an issue. For all filters I think we'd need a good test strategy, maybe something like guided fuzzing to discover "unsound" edge cases

Choose a reason for hiding this comment

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

Makes sense

@christian-schilling christian-schilling added this pull request to the merge queue Dec 11, 2025
Merged via the queue into master with commit 559956e Dec 11, 2025
8 checks passed
@christian-schilling christian-schilling deleted the vlad/fix-message-post-filter branch December 11, 2025 22:23
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