Skip to content

Improve failover worker selection - #1825

Merged
luke-lombardi merged 1 commit into
mainfrom
ll/failover-improvement-3
Aug 3, 2026
Merged

Improve failover worker selection#1825
luke-lombardi merged 1 commit into
mainfrom
ll/failover-improvement-3

Conversation

@luke-lombardi

@luke-lombardi luke-lombardi commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Summary by cubic

Improve worker selection during failover to prefer native GPU pools and choose managed agent capacity for storage-backed jobs. This prevents misrouting to failover GPUs and keeps legacy capacity available for non-storage work.

  • Bug Fixes
    • Native requested GPUs now outrank unrelated failover chains for other GPUs. Added failoverRankForWorker and updated sort order: failover rank → storage preference → pool score/priority.
    • Storage-backed requests prefer managed agent capacity (ControlPlaneManaged or agent-hosted pools), falling back to legacy when no storage. Added storagePreferenceRank. Explicit chain order still beats ordinary pool priority.

Written for commit 3077373. Summary will update on new commits.

Review in cubic

@luke-lombardi
luke-lombardi requested a review from mernit August 3, 2026 13:45
@luke-lombardi
luke-lombardi merged commit fe6e0dd into main Aug 3, 2026
4 checks passed
@luke-lombardi
luke-lombardi deleted the ll/failover-improvement-3 branch August 3, 2026 13:57
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.

2 participants