fix(runners): fix registration token API, shuffle rebalance, consolidate dirs#1333
Conversation
…ate dirs - Add -X POST to gh_registration_token() (required by GitHub API) - Shuffle runner placement order in rebalance to spread sequential numbers across nodes, avoiding overloading one node when jobs arrive - Remove scratch dir from Phoenix RUNNER_PARENT_DIRS (all runners consolidated to project storage) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Claude Code Review Head SHA: c417fc8 Files changed:
Findings:
|
|
Claude Code Review Head SHA: c417fc8 Files changed:
Findings:
|
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughThree shell script files were modified. A randomization algorithm was added to rebalance-runners.sh to shuffle the ordering of entries before move assignment. The runner-lib.sh file was updated to explicitly specify the POST HTTP method when requesting a registration token. In phoenix/config.sh, one shared storage directory path was removed from the RUNNER_PARENT_DIRS array, which affects runner installation directory selection and runner discovery. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
-X POSTtogh_registration_token()— required by GitHub API, was causing 404 on runner creationRUNNER_PARENT_DIRS(all runners consolidated to project storage)Test plan
create-runnerworks with the-X POSTfix (created phoenix 1-4)rebalance-runnersdry run produces randomized ordercheck-runners)🤖 Generated with Claude Code