You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
restart-offline-runners.sh is superseded by rebalance-runners.sh, which
handles offline runners as part of its distribution algorithm and also
calls sync_runner_nodes to self-heal stale runner.node files.
Update frontier/README.md: remove restart-offline-runners.sh references,
replace CWD-based discovery language with EXE-based, add rebalance-runners.sh.
Update phoenix/README.md: fix config.sh description (functions now in
runner-lib.sh), fix list-runners.sh description (now parallel sweep),
fix slurm PATH wording (portable grep, not /opt/slurm).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|`config.sh`| Shared configuration, constants, GitHub API helpers, and CWD-based process management functions. Sourced by all other scripts. |
62
-
|`check-runners.sh`| SSH to each login node, show Runner.Listener processes with name, status (idle/BUSY), and RSS memory. |
63
-
|`list-runners.sh`| List all runners with GitHub API status, actual node (from parallel SSH sweep), and RSS memory. Flags stale `runner.node` entries. |
64
+
|`config.sh`| Shared configuration: Frontier constants, `find_runner_dirs()`, and `sync_runner_nodes()`. Sources `../common/runner-lib.sh` for shared functions. |
65
+
|`check-runners.sh`| SSH to each login node, show Runner.Listener processes with name, status (idle/BUSY), slurm PATH, and RSS memory. |
66
+
|`list-runners.sh`| List all runners with GitHub API status, actual node (from parallel SSH sweep), slurm status, and RSS memory. Flags stale `runner.node` entries. |
67
+
|`rebalance-runners.sh`| Sync node locations, compute optimal distribution, and move runners across all 11 login nodes. Handles offline runners. Dry run by default. |
64
68
|`make-runner.sh`| Download runner binary, register with GitHub via API, start on target node. Usage: `make-runner.sh <num> [login-node]`|
65
69
|`move-runner.sh`| Move a runner to a different login node: stop on current node, update `runner.node`, start on target. Usage: `move-runner.sh <runner-name> <target-node>`|
66
70
|`deploy-runners.sh`| Deploy multiple runners across login nodes in parallel. Usage: `deploy-runners.sh <start-num> <node1> [node2 ...]`|
67
-
|`restart-offline-runners.sh`| Query GitHub for offline frontier runners, locate via CWD-based discovery, stop stale processes, then restart in parallel. Self-heals stale `runner.node` files. Prints final status. |
68
-
|`stop-runner.sh`| Locate runner via CWD-based discovery, stop the process, and deregister from GitHub. Usage: `stop-runner.sh <runner-name>`|
71
+
|`stop-runner.sh`| Locate runner via EXE-based discovery, stop the process, and deregister from GitHub. Usage: `stop-runner.sh <runner-name>`|
69
72
|`../common/rerun-failed.sh`| Rerun failed GitHub Actions workflows on open PRs and master. No site-specific code. |
|`config.sh`| Shared config: Phoenix constants (`ORG`, `RUNNER_GROUP`, `RUNNER_LABEL`, `NODES`), GitHub API helpers (`gh_list_runners`, `gh_registration_token`), and process management (`start_runner`, `stop_runner`, `find_node`, `find_pids`, `has_slurm`). |
51
-
|`check-runners.sh`| Quick per-node health check. One SSH per node. Shows runner names, idle/BUSY status, slurm PATH, RSS, and total memory. |
52
-
|`list-runners.sh`|Detailed table combining GitHub API status (online/offline/busy) with login-node process info. Slower (one SSH per runner + API call). |
50
+
|`config.sh`| Shared config: Phoenix constants (`ORG`, `RUNNER_GROUP`, `RUNNER_LABEL`, `NODES`, `CGROUP_LIMIT`, `RUNNER_PARENT_DIRS`) and `find_runner_dirs()`. Sources `../common/runner-lib.sh` for shared functions. |
51
+
|`check-runners.sh`| Quick per-node health check. One SSH per node. Shows runner names, idle/BUSY status, slurm PATH, RSS, and total cgroup memory. |
52
+
|`list-runners.sh`|Table combining GitHub API status with live node info from a parallel SSH sweep. Shows slurm status and flags stale `runner.node` entries. |
53
53
|`restart-runner.sh`| Stop and restart one runner on a given node with proper login shell PATH and SSH detachment. |
54
54
|`restart-all.sh`| Restart all runners in place. Skips BUSY runners unless `FORCE=1`. |
55
55
|`rebalance-runners.sh`| Auto-compute optimal distribution and move runners. Prefers idle runners. Also places OFFLINE runners. |
0 commit comments