Skip to content

Commit 4d56b39

Browse files
committed
Update flakiness workflow and fix exit codes in open-close loop script
1 parent c7ad3a2 commit 4d56b39

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflows/flakiness.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
os:
4343
- ubuntu-latest
4444
- macOS-latest
45-
- windows-latest
45+
# - windows-latest
4646

4747
steps:
4848
- uses: actions/checkout@v4

cabal.project

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ packages:
55
./ghcide
66
./hls-plugin-api
77
./hls-test-utils
8-
-- /Volumes/src/lsp/lsp
9-
-- /Volumes/src/lsp/lsp-types
10-
-- /Volumes/src/lsp/lsp-test
8+
-- /Volumes/src/lsp/lsp
9+
-- /Volumes/src/lsp/lsp-types
10+
-- /Volumes/src/lsp/lsp-test
1111

1212

1313
index-state: 2025-08-08T12:31:54Z
@@ -63,5 +63,5 @@ if impl(ghc >= 9.11)
6363
source-repository-package
6464
type: git
6565
location: https://github.com/soulomoon/lsp.git
66-
tag: 6f217e8a1afcb77a926023d0ac9cbc0da7ef4d3c
66+
tag: 839c458771455f5792f0fa4ead706f3eaf785d13
6767
subdir: lsp lsp-types lsp-test

scripts/open-close-loop.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ while true; do
7979
echo "[loop] Broken pipe reproduced in iteration ${iter}. Stopping." | tee -a "${log}" >&2
8080
echo "[loop] --- Tail (last 60 lines) ---" >&2
8181
tail -n 60 "${log}" >&2
82-
exit 0
82+
exit 1
8383
else
8484
if [[ ${DEBUG_DETECT} -eq 1 ]]; then
8585
echo "[loop][debug] No match for '${BROKEN_PIPE_RE}' in iteration ${iter}." | tee -a "${log}" >&2
@@ -88,7 +88,7 @@ while true; do
8888

8989
if [[ -n "${MAX_ITER}" && ${iter} -ge ${MAX_ITER} ]]; then
9090
echo "[loop] Reached MAX_ITER=${MAX_ITER} without reproducing Broken pipe." >&2
91-
exit 1
91+
exit 0
9292
fi
9393

9494
echo "[loop] Iteration ${iter} complete (exit code ${ec}). No Broken pipe yet." | tee -a "${log}" >&2

0 commit comments

Comments
 (0)