Files
cozystack/packages/apps/vm-disk/tests
Aleksei Sviridkin 26dc077809 fix(vm-disk): refuse cloning a golden whose importer keeps failing
CDI moves an import to Failed only on a fatal error such as a checksum
mismatch. An unreachable URL restarts the importer with back-off while
the DataVolume stays in progress, so the Failed check let such a golden
through and the clone waited forever. Treat an importer that restarted
at least three times as failing too, whether or not it is running now.
CDI reports every importer attempt as running, including one that is
about to fail again, and the chart checks the golden only until the
disk exists, so a disk created during an attempt would otherwise pass
and wait unnoticed. A healthy import with three early restarts is
refused until it succeeds; the release retries the render.

Assisted-by: LLM
Signed-off-by: Aleksei Sviridkin <f@lex.la>
2026-11-17 11:20:16 +03:00
..