Skip to content

SRE-24124: cherrypick LISA resource cleanups on failed provisioning - #11

Merged
dmytro-sirenko merged 2 commits into
mainfrom
SRE-24124-cherrypick-resource-leakage-fixes
Nov 13, 2026
Merged

dmytro-sirenko merged 2 commits into
mainfrom
SRE-24124-cherrypick-resource-leakage-fixes

Conversation

@dmytro-sirenko

Copy link
Copy Markdown

Description

This change fixes resource leakage afer a failed provisioning. It cherry-picks upstream commits that fix the cleanup issues:

The cleanup issues cause leaked resources when provisioning fails and is retried.

lubaihua33 and others added 2 commits November 13, 2026 10:33
…t#4414)

* Delete the old environment before setting the status to NEW
This is to fix the issue that the resources are not cleaned when
retrying to deploy a new environment

* Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update selftests/runners/test_lisa_runner.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
(cherry picked from commit 7baca33)
(cherry picked from commit 7509f58)

Conflict resolution: selftests/runners/test_lisa_runner.py diverged from
upstream; kept the fork version and added only the new
test_resource_awaitable_retry_cleans_up_before_reset test plus its imports.
@dmytro-sirenko dmytro-sirenko changed the title SRE-24124: cherrypick resource leakage fixes SRE-24124: cherrypick LISA resource cleanups on failed provisioning Nov 13, 2026
@dmytro-sirenko
dmytro-sirenko marked this pull request as ready for review November 13, 2026 10:28
@dmytro-sirenko
dmytro-sirenko merged commit 24b4a9b into main Nov 13, 2026
2 checks passed
@dmytro-sirenko
dmytro-sirenko deleted the SRE-24124-cherrypick-resource-leakage-fixes branch November 13, 2026 10:30
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.

4 participants