Skip to content

fix(ci): cleanup cluster resourses for run nightly e2e#2237

Open
universal-itengineer wants to merge 1 commit intomainfrom
fix/ci/cleanup-res-e2e-nightly-bootstrap
Open

fix(ci): cleanup cluster resourses for run nightly e2e#2237
universal-itengineer wants to merge 1 commit intomainfrom
fix/ci/cleanup-res-e2e-nightly-bootstrap

Conversation

@universal-itengineer
Copy link
Copy Markdown
Member

@universal-itengineer universal-itengineer commented Apr 20, 2026

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

  • The code is covered by unit tests.
  • e2e tests passed.
  • Documentation updated according to the changes.
  • Changes were tested in the Kubernetes cluster manually.

Changelog entries

section: ci
type: fix
summary: cleanup cluster resourses for run nightly e2e

@universal-itengineer universal-itengineer force-pushed the fix/ci/cleanup-res-e2e-nightly-bootstrap branch 2 times, most recently from 549b2f4 to 1c2b1f5 Compare April 20, 2026 08:56
@universal-itengineer universal-itengineer changed the title chore(ci): disable schedule for nightly e2e nested cluster (#2234) fix(ci): cleanup cluster resourses for run nightly e2e Apr 20, 2026
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
@universal-itengineer universal-itengineer force-pushed the fix/ci/cleanup-res-e2e-nightly-bootstrap branch from 08ec2c0 to d0dd608 Compare April 20, 2026 11:50
@universal-itengineer universal-itengineer marked this pull request as ready for review April 20, 2026 11:51
@universal-itengineer universal-itengineer added this to the v1.8.0 milestone Apr 20, 2026
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.

1 participant