Skip to content

flowcontrol/roundrobin: implement DumpState for round-robin-fairness-policy plugin#1828

Closed
MOHITPARMAR007 wants to merge 1 commit into
llm-d:mainfrom
MOHITPARMAR007:implement-dumpstate-roundrobin
Closed

flowcontrol/roundrobin: implement DumpState for round-robin-fairness-policy plugin#1828
MOHITPARMAR007 wants to merge 1 commit into
llm-d:mainfrom
MOHITPARMAR007:implement-dumpstate-roundrobin

Conversation

@MOHITPARMAR007

Copy link
Copy Markdown
Contributor

Fixes #1803

Changes

  • Implements plugin.StateDumper interface on roundRobin plugin
  • Adds roundRobinState struct for JSON serialization
  • Adds unit tests covering default name, custom name, and valid JSON output

Notes

The round-robin cursor is stored per priority band on the band's PolicyState,
not on the plugin itself, so there is no centralized mutable state to snapshot.
DumpState returns plugin identity information (name and type) only.

…policy plugin

Implements plugin.StateDumper on roundRobin to satisfy issue llm-d#1803.

The round-robin cursor is stored per priority band on the band's
PolicyState, not on the plugin itself, so there is no centralized
mutable state to snapshot. DumpState returns plugin identity
information (name and type) only.

Adds unit tests covering default name, custom name, and valid JSON
output.

Fixes llm-d#1803
@MOHITPARMAR007
MOHITPARMAR007 requested review from a team, LukeAVanDrie and shmuelk as code owners June 26, 2026 19:41
@MOHITPARMAR007
MOHITPARMAR007 requested review from ahg-g and liu-cong June 26, 2026 19:41
@github-actions

Copy link
Copy Markdown
Contributor

🚨 Unsigned commits detected! Please sign your commits.

For instructions on how to set up GPG/SSH signing and verify your commits, please see GitHub Documentation.

@github-actions github-actions Bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jun 26, 2026
@MOHITPARMAR007
MOHITPARMAR007 deleted the implement-dumpstate-roundrobin branch June 26, 2026 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Operations] Add pluginName to the default DumpState

1 participant