The Wire · Showcase
NOMAD AUTOSCALER FIXES CRITICAL WINNER SELECTION BUG
By RepoJournal · Filed · About HashiCorp
Nomad Autoscaler now properly excludes out-of-window checks from scaling decisions, preventing phantom participants from skewing autoscaling logic.
The fix [1] addresses a logic error where checks scheduled outside their window or marked for cancellation were still influencing which checks won the selection process. This could cause the autoscaler to make scaling decisions based on incomplete or stale data. The solution introduces explicit sentinel errors—specifically `errCheckOutsideSchedule`—that mark non-participating checks and filter them from winner selection calculations [2]. The team also refactored schedule validation into the SDK layer and added regression tests to prevent this from slipping back in. Nightly builds across Nomad Autoscaler [3], the Podman driver [4], and Nomad Pack [5] are live for early testing.
Action items
- → Review winner selection logic in your custom scaling policies hashicorp/nomad-autoscaler [plan]
- → Test nightly builds against your Nomad cluster to catch regressions early hashicorp/nomad-autoscaler [monitor]
References
- [1] Fix winner selection, checks outside schedule window should not participate in the winner selection process ↗ hashicorp/nomad-autoscaler
- [2] Fix winner selection, checks outside schedule window should not participate in the winner selection process (#1270) hashicorp/nomad-autoscaler
- [3] nightly ↗ hashicorp/nomad-autoscaler
- [4] nightly ↗ hashicorp/nomad-driver-podman
- [5] nightly ↗ hashicorp/nomad-pack
FAQ
- What changed in HashiCorp on May 10, 2026?
- Nomad Autoscaler now properly excludes out-of-window checks from scaling decisions, preventing phantom participants from skewing autoscaling logic.
- What should HashiCorp teams do about it?
- Review winner selection logic in your custom scaling policies • Test nightly builds against your Nomad cluster to catch regressions early
- Which HashiCorp repositories shipped on May 10, 2026?
- hashicorp/nomad-autoscaler, hashicorp/nomad-driver-podman, hashicorp/nomad-pack