Skip to content
This repository was archived by the owner on Feb 11, 2026. It is now read-only.

Comments

fix(launch-ec2-runner-with-fallback): Always check if an instance is launched + perform cleanup (backport #18)#20

Merged
mergify[bot] merged 1 commit intorelease-v0.1from
mergify/bp/release-v0.1/pr-18
May 21, 2025
Merged

fix(launch-ec2-runner-with-fallback): Always check if an instance is launched + perform cleanup (backport #18)#20
mergify[bot] merged 1 commit intorelease-v0.1from
mergify/bp/release-v0.1/pr-18

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented May 21, 2025

Checklist:

  • Commit Message Formatting: Commit titles and messages follow guidelines in the conventional commits.
  • Changelog updated with breaking and/or notable changes for the next minor release.
  • Documentation has been added and/or updated, if applicable.
  • Unit tests have been added and/or updated. (If this is not applicable, please provide a justification.)
  • Integration testing has been performed, if applicable

Description of this Change

Sometimes, Git workflows are cancelled when users make pushes to a branch within a pull request. In that situation, it's possible that an EC2 instance is launched during the first workflow run but never cleaned up. Thus, we could have dangling EC2 instances. Therefore, this change forces the GitHub action to always check if an instance was launched before completing. If an instance was launched, then this action will attempt to get that instance information so that information can be used to tear it down.


This is an automatic backport of pull request #18 done by Mergify.

…launched + perform cleanup

Sometimes, Git workflows are cancelled when users make pushes to a branch within a pull request. In that situation, it's possible that an EC2 instance is launched during the first workflow run but never cleaned up. Thus, we could have dangling EC2 instances.

Signed-off-by: Courtney Pacheco <6019922+courtneypacheco@users.noreply.github.com>
(cherry picked from commit d9fac78)
@mergify mergify bot merged commit b56cf49 into release-v0.1 May 21, 2025
8 checks passed
@mergify mergify bot removed the one-approval label May 21, 2025
@ktdreyer ktdreyer deleted the mergify/bp/release-v0.1/pr-18 branch May 21, 2025 20:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants