-
Notifications
You must be signed in to change notification settings - Fork 666
feat: Add last chance check before orphan termination #4595
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 41 commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
3fa09d2
feat(runners): add runnerId to RunnerList and implement untag functio…
stuartp44 14df9fe
fix(tests): improve clarity of orphaned runner untagging test descrip…
stuartp44 9d7c89a
fmt
stuartp44 e09337f
fix(scale-down): remove unnecessary logging of runner variable in ter…
stuartp44 9064512
fix(scale-up): remove unused import of run function
stuartp44 716e079
fix(scale-down): remove unused import of metricGitHubAppRateLimit
stuartp44 e826fbe
Merge branch 'main' into stu/add_tag_plus_check
npalm a5fcc88
Update lambdas/functions/control-plane/src/scale-runners/scale-down.ts
stuartp44 bb8ba2b
Update lambdas/functions/control-plane/src/scale-runners/scale-down.ts
stuartp44 97de234
Update lambdas/functions/control-plane/src/scale-runners/scale-up.ts
stuartp44 8b61d39
Update lambdas/functions/control-plane/src/scale-runners/scale-up.ts
stuartp44 9883b0b
Remove warning log for orphan runners without runnerId in scale-down …
stuartp44 43468a7
Remove logging of runner ID marking in addGhRunnerIdToEC2InstanceTag …
stuartp44 bc995ef
readded metricGitHubAppRateLimit
stuartp44 1182c8b
Merge branch 'main' into stu/add_tag_plus_check
stuartp44 6e1c72c
Refactor runner interfaces: remove RunnerState interface and update i…
stuartp44 097c14d
Add headers to runner state return and update logging for busy state
stuartp44 971ec2d
Remove redundant comment describing RunnerState type
stuartp44 5a275e5
Implement last chance check for orphan runners and refactor terminati…
stuartp44 9f59abe
Format return object in getGitHubSelfHostedRunnerState for improved r…
stuartp44 65c0b0e
Refactor runner state types to use Endpoints for improved type safety…
stuartp44 8ead598
Fix formatting of type definitions and adjust indentation in getGitHu…
stuartp44 ab5b6b0
Update lambdas/functions/control-plane/src/aws/runners.ts
stuartp44 0b462bb
Update lambdas/functions/control-plane/src/scale-runners/scale-down.t…
stuartp44 102edf0
Fix typo in key for GitHub runner ID in mock running instances
stuartp44 e6d2d88
Merge branch 'main' into stu/add_tag_plus_check
npalm 83610eb
Merge branch 'main' into stu/add_tag_plus_check
npalm 898226d
fix: add missing ec2:RemoveTags action in lambda-scale-down policy
stuartp44 15af241
Merge branch 'main' into stu/add_tag_plus_check
stuartp44 8ff9901
fix: streamline orphan runner handling and improve logging
stuartp44 e4a4bfa
fix(lambda): replace ec2:RemoveTags with ec2:DeleteTags and tag:Untag…
stuartp44 f5a0388
fix: update logging messages for orphan runner tagging and state checks
stuartp44 a245b2b
fix: improve logging message for orphan runner judgment
stuartp44 6dca64f
fix: change var to let for isOrphan in lastChanceCheckOrphanRunner fu…
stuartp44 c335fc7
fix: refactor orphan termination logic for clarity and consistency
stuartp44 7b711c0
Merge branch 'main' into stu/add_tag_plus_check
stuartp44 1baf4af
fix: rename addGhRunnerIdToEC2InstanceTag to tagRunnerId for clarity
stuartp44 c2b1033
fix: improve logging message format for orphan runner judgment
stuartp44 3617608
fix: enhance orphan runner judgment logic for clarity
stuartp44 b8af3f0
fix: simplify orphan runner judgment logic by removing checks that in…
stuartp44 1ddc98e
Merge branch 'main' into stu/add_tag_plus_check
stuartp44 835ca85
fix(scale-down): rename unmarkOrphan function to unMarkOrphan for con…
stuartp44 3551c77
fix(lambda): remove unused tag:UntagResources action from policy
stuartp44 441c4f4
fix(runner): update orphan tag value to 'true' in untag runner test
stuartp44 1a59d77
Merge branch 'main' into stu/add_tag_plus_check
npalm 9aa3203
fix: Tag non jit instances with runner id and add docs (#4667)
npalm File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.