fix(ci): cleanup cluster resourses for run nightly e2e#2237
Open
universal-itengineer wants to merge 1 commit intomainfrom
Open
fix(ci): cleanup cluster resourses for run nightly e2e#2237universal-itengineer wants to merge 1 commit intomainfrom
universal-itengineer wants to merge 1 commit intomainfrom
Conversation
549b2f4 to
1c2b1f5
Compare
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
08ec2c0 to
d0dd608
Compare
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.
Description
Improve the nested E2E resource preparation step in e2e-matrix so it makes decisions based on the actual cluster state and produces clearer CI logs.
Why do we need it, and what problem does it solve?
Previously, the workflow could overestimate freed resources during VM shutdown and the waiting logic was slow and not always informative. It was difficult to understand from CI logs which VMs were selected for shutdown, what resources they were expected to free, and why the step finally failed. In some cases the workflow also kept waiting when there were no more useful candidates or when all requested VMs were already stopped.
What is the expected result?
The workflow should select only relevant non-stopped VM candidates, print a clear shutdown plan, request shutdowns first, then check the real cluster resource state with shared polling. As a result, CI logs become easier to read, waiting becomes more predictable, and failure cases more clearly show when manual intervention is required.
Checklist
Changelog entries