Skip to content

Conversation

MegaRedHand
Copy link
Contributor

@MegaRedHand MegaRedHand commented Aug 25, 2025

Added a warning log for blocking genservers. It's behind a feature flag "warn-on-block" and includes an example. To run the example, run cargo run -F warn-on-block --bin busy_genserver_warning

@ElFantasma
Copy link
Collaborator

ElFantasma commented Aug 26, 2025

I'm OK with this feature, and also agree that we should put it behind a feature flag.

The only reason I find it difficult to approve is that I don't entirely understand it 😬, and would like to avoid unsafe declaration as far as we can.

And in any case, I'd like to see a test for this behavior... not sure how that can be staged 🤔.

@MegaRedHand MegaRedHand marked this pull request as ready for review August 28, 2025 14:26
Copy link
Collaborator

@ElFantasma ElFantasma left a comment

Choose a reason for hiding this comment

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

I think it is mergeable (as it is an opt-in feature)

@MegaRedHand MegaRedHand merged commit 41ad124 into main Sep 3, 2025
3 checks passed
@MegaRedHand MegaRedHand deleted the add-block-warning branch September 3, 2025 21:28
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.

2 participants