Skip to content

feat: add bypass-removal tag to prevent runner scale-down#4995

Merged
npalm merged 2 commits intomainfrom
chore/add-bypass-removal-flag
Jan 9, 2026
Merged

feat: add bypass-removal tag to prevent runner scale-down#4995
npalm merged 2 commits intomainfrom
chore/add-bypass-removal-flag

Conversation

@Brend-Smits
Copy link
Contributor

Add support for ghr:bypass-removal EC2 tag that allows engineers to manually tag runners to prevent them from being scaled down during debugging or investigation. When this tag is set to 'true', the runner will be skipped during scale-down operations with appropriate logging.

Tested on our staging environment and things are working:
image

This small change makes debugging some issue on the runner significantly easier...

@Brend-Smits Brend-Smits requested a review from a team as a code owner January 9, 2026 12:51
@github-actions
Copy link
Contributor

github-actions bot commented Jan 9, 2026

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@Brend-Smits Brend-Smits force-pushed the chore/add-bypass-removal-flag branch from a07297b to ea1bcf5 Compare January 9, 2026 13:09
Add support for ghr:bypass-removal EC2 tag that allows engineers
to manually tag runners to prevent them from being scaled down during
debugging or investigation. When this tag is set to 'true', the runner
will be skipped during scale-down operations with appropriate logging.
@Brend-Smits Brend-Smits force-pushed the chore/add-bypass-removal-flag branch from ea1bcf5 to f020057 Compare January 9, 2026 15:24
Copy link
Member

@npalm npalm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thx

  • small request about testing
  • would be good the document this option in for example docs/additional_notes.md

@Brend-Smits Brend-Smits requested a review from npalm January 9, 2026 16:09
@npalm npalm merged commit c0a9766 into main Jan 9, 2026
11 checks passed
@npalm npalm deleted the chore/add-bypass-removal-flag branch January 9, 2026 19:34
npalm pushed a commit that referenced this pull request Jan 13, 2026
🤖 I have created a release *beep* *boop*
---


##
[7.3.0](v7.2.0...v7.3.0)
(2026-01-13)


### Features

* add bypass-removal tag to prevent runner scale-down
([#4995](#4995))
([c0a9766](c0a9766))


### Bug Fixes

* cache GitHub App ID to reduce SSM calls
([#4994](#4994))
([0fb6f4a](0fb6f4a))
* change runner_placement host_resource_group_arn type to be a string
instead of a number
([#4979](#4979))
([5405a04](5405a04))
* **lambda:** bump the aws group in /lambdas with 7 updates
([#4985](#4985))
([5eacb0f](5eacb0f))
* **runners:** correct regex pattern for extracting AMI ID from SSM
parameter ARN
([#4981](#4981))
([174293c](174293c)),
closes
[#4959](#4959)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: runners-releaser[bot] <194412594+runners-releaser[bot]@users.noreply.github.com>
Co-authored-by: github-aws-runners-pr|bot <github-aws-runners-pr[bot]@users.noreply.github.com>
Brend-Smits added a commit that referenced this pull request Mar 6, 2026
Add support for ghr:bypass-removal EC2 tag that allows engineers to
manually tag runners to prevent them from being scaled down during
debugging or investigation. When this tag is set to 'true', the runner
will be skipped during scale-down operations with appropriate logging.

Tested on our staging environment and things are working:
<img width="967" height="102" alt="image"
src="https://github.com/user-attachments/assets/2de96e22-4ec7-43ba-aace-6152f4a5fdb8"
/>

This small change makes debugging some issue on the runner significantly
easier...
Brend-Smits pushed a commit that referenced this pull request Mar 6, 2026
🤖 I have created a release *beep* *boop*
---


##
[7.3.0](v7.2.0...v7.3.0)
(2026-01-13)


### Features

* add bypass-removal tag to prevent runner scale-down
([#4995](#4995))
([c0a9766](c0a9766))


### Bug Fixes

* cache GitHub App ID to reduce SSM calls
([#4994](#4994))
([0fb6f4a](0fb6f4a))
* change runner_placement host_resource_group_arn type to be a string
instead of a number
([#4979](#4979))
([5405a04](5405a04))
* **lambda:** bump the aws group in /lambdas with 7 updates
([#4985](#4985))
([5eacb0f](5eacb0f))
* **runners:** correct regex pattern for extracting AMI ID from SSM
parameter ARN
([#4981](#4981))
([174293c](174293c)),
closes
[#4959](#4959)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: runners-releaser[bot] <194412594+runners-releaser[bot]@users.noreply.github.com>
Co-authored-by: github-aws-runners-pr|bot <github-aws-runners-pr[bot]@users.noreply.github.com>
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