Skip to content

feat: add adapter to switch between old and new scheduler#248

Draft
alecthomas wants to merge 2 commits intoaat/weighted-fair-schedulerfrom
aat/scheduler-adapter
Draft

feat: add adapter to switch between old and new scheduler#248
alecthomas wants to merge 2 commits intoaat/weighted-fair-schedulerfrom
aat/scheduler-adapter

Conversation

@alecthomas
Copy link
Copy Markdown
Collaborator

Add SchedulerAdapter that wraps the new weighted fair queuing scheduler
behind the jobscheduler.Scheduler interface, gated by the
CACHEW_FF_NEWSCHEDULER feature flag.

Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com

alecthomas and others added 2 commits April 3, 2026 15:22
New scheduler implementation in internal/scheduler/ using cost-based
fair queuing with conflict group exclusion. Parallel to the existing
jobscheduler, to be iterated on before wiring in.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add SchedulerAdapter that wraps the new weighted fair queuing scheduler
behind the jobscheduler.Scheduler interface, gated by the
CACHEW_FF_NEWSCHEDULER feature flag.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@alecthomas alecthomas requested a review from a team as a code owner April 3, 2026 04:59
@alecthomas alecthomas requested review from js-murph and removed request for a team April 3, 2026 04:59
@alecthomas alecthomas marked this pull request as draft April 3, 2026 04:59
@alecthomas alecthomas force-pushed the aat/weighted-fair-scheduler branch 2 times, most recently from 7109576 to 98127fc Compare April 3, 2026 10:51
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