Skip to content

Commit f810894

Browse files
ci: add short timeout for wsl hang (runfinch#1155)
Signed-off-by: Austin Vazquez <[email protected]>
1 parent c8038db commit f810894

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.github/workflows/build-and-test-msi.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ jobs:
8080
role-session-name: windows-msi
8181
aws-region: ${{ secrets.WINDOWS_REGION }}
8282
- name: Remove Finch VM
83+
timeout-minutes: 2
8384
run: |
8485
$ErrorActionPreference = 'Ignore'
8586
taskkill /f /im wslservice.exe 2> nul || cmd /c "exit /b 0"
@@ -145,6 +146,7 @@ jobs:
145146
aws s3 cp "./msi-builder/build/signed/Finch-$tag.msi" "s3://${{ secrets.INSTALLER_PRIVATE_BUCKET_NAME }}/Finch-$tag.msi" --no-progress
146147
- name: Remove Finch VM and Clean Up Previous Environment
147148
if: ${{ always() }}
149+
timeout-minutes: 2
148150
run: |
149151
# We want these cleanup commands to always run, ignore errors so the step completes.
150152
$ErrorActionPreference = 'Ignore'
@@ -198,6 +200,7 @@ jobs:
198200
role-session-name: msi-test
199201
aws-region: ${{ secrets.REGION }}
200202
- name: Remove Finch VM
203+
timeout-minutes: 2
201204
run: |
202205
# We want these cleanup commands to always run, ignore errors so the step completes.
203206
$ErrorActionPreference = 'Ignore'
@@ -243,6 +246,7 @@ jobs:
243246
$env:INSTALLED="true"
244247
make test-e2e-vm
245248
- name: Remove Finch VM
249+
timeout-minutes: 2
246250
run: |
247251
# We want these cleanup commands to always run, ignore errors so the step completes.
248252
$ErrorActionPreference = 'Ignore'
@@ -278,6 +282,7 @@ jobs:
278282
}
279283
- name: Remove Finch VM and Clean Up Previous Environment
280284
if: ${{ always() }}
285+
timeout-minutes: 2
281286
run: |
282287
# We want these cleanup commands to always run, ignore errors so the step completes.
283288
$ErrorActionPreference = 'Ignore'

.github/workflows/e2e-windows.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ jobs:
5858
role-session-name: credhelper-test
5959
aws-region: ${{ secrets.REGION }}
6060
- name: Remove Finch VM
61+
timeout-minutes: 2
6162
run: |
6263
# We want these cleanup commands to always run, ignore errors so the step completes.
6364
$ErrorActionPreference = 'Ignore'
@@ -90,6 +91,7 @@ jobs:
9091
make ${{ inputs.test-command }}
9192
- name: Remove Finch VM and Clean Up Previous Environment
9293
if: ${{ always() }}
94+
timeout-minutes: 2
9395
run: |
9496
# We want these cleanup commands to always run, ignore errors so the step completes.
9597
$ErrorActionPreference = 'Ignore'

0 commit comments

Comments
 (0)