Skip to content

fix: use a valid mtplx scheduler mode in the example preset - #164

Merged
outofcoffee merged 1 commit into
mainfrom
mtplx-start-fail
Sep 5, 2026
Merged

fix: use a valid mtplx scheduler mode in the example preset#164
outofcoffee merged 1 commit into
mainfrom
mtplx-start-fail

Conversation

@outofcoffee

Copy link
Copy Markdown
Collaborator

Fixes spinloop serve failing when the mtplx example preset referenced a scheduler mode that mtplx has since removed.

Summary

  • mtplx 2.11.1 removed the old serial/parallel/concurrent --scheduler-mode choices, so the shipped example preset (scheduler-mode = parallel) made spinloop serve exit with an invalid choice.
  • Use ar_batch in the example preset and the two serve test fixtures that mirror it.
  • Stop pinning an exact scheduler-mode list in docs/commands/serve.md and the example README; both now note that serve passes the value through unchecked and that mtplx serve --help lists the modes the installed build offers.

Implementation details

ar_batch was chosen because it is the mode behind mtplx's open_code_fair scheduling policy, its configuration for coding-agent (opencode) traffic, which is what this example serves. The docs no longer enumerate the valid modes: that pinned list is what broke when mtplx renamed its modes. The main specs never pinned the values, so they needed no change.

mtplx 2.11.1 removed the old serial/parallel/concurrent scheduler modes, so the example preset's 'scheduler-mode = parallel' made 'spinloop serve' fail with an invalid choice.

Use 'ar_batch' (mtplx's coding-agent scheduling mode) in the example preset and its tests, and stop pinning an exact mode list in the docs so they do not rot again when mtplx renames its modes.
@outofcoffee outofcoffee added bug Something isn't working documentation Improvements or additions to documentation go Pull requests that update go code labels Sep 5, 2026
@outofcoffee
outofcoffee merged commit c516f8c into main Sep 5, 2026
2 checks passed
@outofcoffee
outofcoffee deleted the mtplx-start-fail branch September 5, 2026 23:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working documentation Improvements or additions to documentation go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant