Skip to content

LibeventScheduler: add dynamic evwatch observer support#46101

Open
antoniovleonti wants to merge 1 commit into
envoyproxy:mainfrom
antoniovleonti:event-loop-pr1-scheduler
Open

LibeventScheduler: add dynamic evwatch observer support#46101
antoniovleonti wants to merge 1 commit into
envoyproxy:mainfrom
antoniovleonti:event-loop-pr1-scheduler

Conversation

@antoniovleonti

@antoniovleonti antoniovleonti commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Commit Message: LibeventScheduler: add dynamic evwatch observer support
Additional Description:

Adds dynamic evwatch support to the LibeventScheduler.

This is a step toward allowing arbitrary extensions (esp. resource monitors) to register libevent evwatch callbacks.

This also allows us to clean up the existing ad-hoc evwatch callbacks (in a future PR) since the Observer interface supports the same use cases in a more envoy-native way.

This is zero-cost when unused.

Risk Level: low / none
Testing: tests added
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

I used generative AI to help write this change.

Signed-off-by: antoniovleonti <leonti@google.com>
@repokitteh-read-only

Copy link
Copy Markdown

As a reminder, PRs marked as draft will not be automatically assigned reviewers,
or be handled by maintainer-oncall triage.

Please mark your PR as ready when you want it to be reviewed!

🐱

Caused by: #46101 was opened by antoniovleonti.

see: more, trace.

@antoniovleonti antoniovleonti marked this pull request as ready for review July 13, 2026 15:33
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.

1 participant