Skip to content

Add a generic AddPlugin option to configure the scheduler #813

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

Open
liu-cong opened this issue May 9, 2025 · 2 comments · May be fixed by #835
Open

Add a generic AddPlugin option to configure the scheduler #813

liu-cong opened this issue May 9, 2025 · 2 comments · May be fixed by #835
Assignees
Labels
needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.

Comments

@liu-cong
Copy link
Contributor

liu-cong commented May 9, 2025

What would you like to be added:

An AddPlugin implemented as a type ConfigOption func(*SchedulerConfig) that uses reflection to check which extension points the plugin implements, and add those extension points to the config.

This should also deprecate any existing helper functions to add plugins, such as AddPrefixPlugin

Why is this needed:

This is a follow up to the discussion in #768 (review)

@liu-cong liu-cong added the needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. label May 9, 2025
@liu-cong
Copy link
Contributor Author

liu-cong commented May 9, 2025

/assign

@nirrozenbaum
Copy link
Contributor

/assign
(coordinated with @liu-cong)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.
Projects
None yet
2 participants