Skip to content

fix(e2e): check target migration via API dry run#2519

Merged
eofff merged 1 commit into
mainfrom
fix/target-migration-precheck
Jun 22, 2026
Merged

fix(e2e): check target migration via API dry run#2519
eofff merged 1 commit into
mainfrom
fix/target-migration-precheck

Conversation

@eofff

@eofff eofff commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Description

Target migration precheck now validates the feature by creating a dry-run VirtualMachineOperation, without reading ModuleConfig feature gates.

Why do we need it, and what problem does it solve?

The precheck used ModuleConfig as the source of truth, but it does not reliably reflect whether target migration is actually available. The API dry run checks the real behavior instead.

What is the expected result?

Run target migration precheck: it should pass when the API accepts a target migration operation and fail when the operation is not supported.

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.

fix
Signed-off-by: Valeriy Khorunzhin <valeriy.khorunzhin@flant.com>
@eofff eofff requested a review from Isteb4k as a code owner June 22, 2026 13:56
@eofff eofff added this to the v1.10.0 milestone Jun 22, 2026
@eofff eofff requested a review from hardcoretime June 22, 2026 13:57
@eofff eofff merged commit 7324b7f into main Jun 22, 2026
34 of 38 checks passed
@eofff eofff deleted the fix/target-migration-precheck branch June 22, 2026 14:02
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.

3 participants