Skip to content

feat(run): allow limits.scheduler roster default for --scheduler - #472

Merged
solomonneas merged 1 commit into
mainfrom
feat/roster-scheduler-default
Jul 24, 2026
Merged

feat(run): allow limits.scheduler roster default for --scheduler#472
solomonneas merged 1 commit into
mainfrom
feat/roster-scheduler-default

Conversation

@solomonneas

Copy link
Copy Markdown
Collaborator

What

--scheduler=dag shipped in #447 but only as a per-invocation CLI flag with a hardcoded waves default, so real runs (runbooks, hooks, operator habit) never actually exercised the DAG scheduler. This adds a roster-level default: scheduler = "waves" | "dag" under [limits].

Precedence: CLI flag > limits.scheduler > waves. Invalid values fail roster validation with the usual limits.* error shape.

Why

Dogfooding the DAG scheduler is the gating step for any future routing work, and a flag nobody passes produces no dogfooding. Config-level defaults are how a mode actually gets turned on across runbooks and daily runs.

Verify

./scripts/verify green through Brigade verify (run 20260724-030655 area, exit 0). New tests: roster accepts/rejects/defaults limits.scheduler; CLI resolves roster default and flag override.

Refs #447

The dag ready-queue scheduler shipped behind a CLI flag with a hardcoded
waves default, so nothing ever ran on it unless every caller remembered
--scheduler=dag. Rosters can now set scheduler = "waves"|"dag" under
[limits]; the CLI flag still wins when passed, and the default remains
waves when neither is set.

Co-authored-by: Claude <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jul 24, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one) (1)
  • coderabbit-review

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository: escoffier-labs/coderabbit/.coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 9950cbbf-d499-4810-b8fc-162cf5193714

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/roster-scheduler-default

Comment @coderabbitai help to get the list of available commands.

@solomonneas solomonneas self-assigned this Jul 24, 2026
@solomonneas
solomonneas merged commit 59547e6 into main Jul 24, 2026
28 checks passed
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