Skip to content

Conversation

@lebrice
Copy link
Collaborator

@lebrice lebrice commented Nov 19, 2025

mila_run_demo.mp4

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a new mila run command that executes commands across multiple remote clusters in parallel. The command can either run on all clusters with active SSH connections (default) or on user-specified clusters.

Key changes:

  • New mila run command with parallel execution across multiple clusters
  • Automatic detection of active cluster SSH connections
  • Rich console output showing results per cluster with color-coded success/failure indicators

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
milatools/cli/run.py Core implementation of the run command with async execution, cluster detection, and formatted output
milatools/cli/commands.py Integration of the new run subcommand into the CLI argument parser
tests/cli/test_run.py Unit tests for the run command logic with mocked RemoteV2 instances
tests/integration/test_run.py Integration tests that verify the command works with actual SSH connections

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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