fix(runners): pin Prod arm-mac ASG launch template versions to avoid recycling instances - #1122
Merged
shashank-boyapally merged 1 commit intoSep 10, 2026
Conversation
…recycling instances The Prod arm-mac runner ASGs are stored behind their launch template's LatestVersionNumber (stuck at v14/v4/v17/v4 after failed deploys while latest advanced). Any deploy that tracks LatestVersionNumber jumps the ASG's launch template version and triggers a rolling replacement of the running mac2.metal instances onto scarce dedicated-host capacity - which wedged Production-ASG-mac-finch-15-armStack in UPDATE_ROLLBACK_FAILED. Add an optional RunnerType.launchTemplateVersion that pins the ASG to an exact launch template version instead of tracking the latest. Set it for the four Prod arm-mac runners to their currently-running versions (mac2.metal) so a deploy leaves the ASG's LaunchTemplateSpecification unchanged and does not recycle instances. Beta/Release keep the prior track-latest behavior. Dedicated hosts remain retained (auto-release-host=false) and desired stays 1. Signed-off-by: ShashankReddy Boyapally <shasboy@amazon.com>
sondavidb
approved these changes
Sep 10, 2026
smandhada16
approved these changes
Sep 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Prod arm-mac runner ASGs are stored behind their launch template's LatestVersionNumber (stuck at v14/v4/v17/v4 after failed deploys while latest advanced). Any deploy that tracks LatestVersionNumber jumps the ASG's launch template version and triggers a rolling replacement of the running mac2.metal instances onto scarce dedicated-host capacity - which wedged Production-ASG-mac-finch-15-armStack in UPDATE_ROLLBACK_FAILED.
Add an optional RunnerType.launchTemplateVersion that pins the ASG to an exact launch template version instead of tracking the latest. Set it for the four Prod arm-mac runners to their currently-running versions (mac2.metal) so a deploy leaves the ASG's LaunchTemplateSpecification unchanged and does not recycle instances. Beta/Release keep the prior track-latest behavior.
Dedicated hosts remain retained (auto-release-host=false) and desired stays 1.
Issue #, if available:
Description of changes:
Testing done:
License Acceptance
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.