Skip to content

feat(BA-6600): define dry-run schedule action and input/output types#12434

Draft
fregataa wants to merge 2 commits into
mainfrom
feat/BA-6600-dry-run-schedule-types
Draft

feat(BA-6600): define dry-run schedule action and input/output types#12434
fregataa wants to merge 2 commits into
mainfrom
feat/BA-6600-dry-run-schedule-types

Conversation

@fregataa

@fregataa fregataa commented Jun 26, 2026

Copy link
Copy Markdown
Member

Summary

  • data/session/dry_run.py: KernelDryRunSpec (per-kernel requested_slots + architecture) and KernelDryRunResult (spec + schedulable + required_reduction — the minimum per-slot reduction to fit on the best-fitting node).
  • services/session/actions/dry_run_schedule.py: DryRunScheduleAction (frozen, EntityType.SESSION, GET, carries kernels / cluster_mode / resource_group_id) and DryRunScheduleActionResult.

Test plan

  • pants check / pants test pass in CI.

Resolves BA-6600

Add the Action and input/output value types for the scheduler dry-run,
shaped to drive the real scheduler selector (single-node summation and
per-node accumulation are handled by reusing AgentSelectionCriteria /
AgentStateTracker in later work).

- data/session/dry_run.py: KernelDryRunSpec (per-kernel requested_slots +
  architecture), KernelDryRunResult (spec + schedulable + required_reduction,
  the min slot reduction to fit on the best-fitting node).
- services/session/actions/dry_run_schedule.py: DryRunScheduleAction (frozen,
  EntityType.SESSION, GET) and DryRunScheduleActionResult.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions github-actions Bot added the size:M 30~100 LoC label Jun 26, 2026
@github-actions github-actions Bot added the comp:manager Related to Manager component label Jun 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp:manager Related to Manager component size:M 30~100 LoC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant