diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index ae63190..d54e279 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -209,9 +209,9 @@ jobs: PVE_API_TOKEN: ${{ secrets.PVE_API_TOKEN }} PVE_TARGET_NODE: ${{ vars.PVE_TARGET_NODE }} PVE_PASSWORD: ${{ secrets.PVE_TEST_PASSWORD }} - # Terraform state is stored on the shared mount (/opt/pve-integration/work/) - # so it persists between CI jobs. - run: bash ${SCRIPTS_DIR}/run-integration.sh cleanup + # Always use force-cleanup in CI — handles corrupted state from + # cancelled runs, timeouts, or partial provisioning failures. + run: bash ${SCRIPTS_DIR}/run-integration.sh force-cleanup # ── Clean up old container images from GHCR ────────────────────────── cleanup-images: