From 7ab657a06b76a1b905a77f75fa45371c31548d8e Mon Sep 17 00:00:00 2001 From: alt-glitch Date: Thu, 1 Oct 2026 18:07:16 +0530 Subject: [PATCH] ci(wine2e): run the long-paths-off PM proof even when an earlier lane fails The PM long-path steps do not use anything the earlier live lanes set up. Gating them on those lanes hid the proof whenever an unrelated lane went red. The test step still requires the long-paths-off step to succeed, so it never runs with the runner image's setting. --- .github/workflows/windows-venv-e2e.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/windows-venv-e2e.yml b/.github/workflows/windows-venv-e2e.yml index 1c5abca933..2afe568129 100644 --- a/.github/workflows/windows-venv-e2e.yml +++ b/.github/workflows/windows-venv-e2e.yml @@ -85,7 +85,9 @@ jobs: # The runner image turns LongPathsEnabled on; 0 is the Windows default # most users have. A process reads the value when it starts, so only # later steps see it. Keep this step after every lane that expects the - # image's setting. + # image's setting. It does not depend on those lanes passing. + id: long_paths_off + if: ${{ !cancelled() }} shell: pwsh run: | reg add 'HKLM\SYSTEM\CurrentControlSet\Control\FileSystem' /v LongPathsEnabled /t REG_DWORD /d 0 /f @@ -96,6 +98,7 @@ jobs: # The test first asserts RtlAreLongPathsEnabled() is false in its own # process, so this step cannot pass if the step above did not take. # ``-m`` replaces pyproject's addopts, which deselect ``integration``. + if: ${{ !cancelled() && steps.long_paths_off.outcome == 'success' }} shell: bash run: | set -uo pipefail