Skip to content

Commit de6df64

Browse files
committed
Revert "TEMP: CI diagnostics for datalad job hang (to be reverted)"
This reverts commit d18843d. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qn5WBSiQgoZoL4fytF6nEr
1 parent d18843d commit de6df64

1 file changed

Lines changed: 1 addition & 11 deletions

File tree

‎.github/workflows/run-tests.yml‎

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -152,17 +152,7 @@ jobs:
152152
# Start coverage before pytest, which loads dandi's pytest plugin (and
153153
# thus imports most of dandi) before pytest-cov would start it
154154
run: |
155-
set +e
156-
python -X faulthandler -m coverage run -m pytest -s -v -m "not obolibrary" dandi 2>&1 | tee "$RUNNER_TEMP/pytest.log"
157-
status=${PIPESTATUS[0]}
158-
if [ "$status" -ne 0 ]; then
159-
# TEMPORARY diagnostics: surface the hang/crash tracebacks as an annotation
160-
grep -n -B3 -A80 -E "Timeout|Fatal Python|Current thread|Thread 0x" "$RUNNER_TEMP/pytest.log" | head -400 > "$RUNNER_TEMP/diag.txt"
161-
grep -E "^dandi/.*::" "$RUNNER_TEMP/pytest.log" | tail -5 >> "$RUNNER_TEMP/diag.txt"
162-
echo "::error title=pytest diagnostics::$(sed -e 's/%/%25/g' -e 's/\r//g' "$RUNNER_TEMP/diag.txt" | sed ':a;N;$!ba;s/\n/%0A/g')"
163-
exit "$status"
164-
fi
165-
set -e
155+
python -m coverage run -m pytest -s -v -m "not obolibrary" dandi
166156
python -m coverage combine
167157
python -m coverage xml
168158

0 commit comments

Comments
 (0)