Skip to content

Commit 08a4715

Browse files
committed
Lift probe head cap + add hard timeout
The setUp-aware probe hung past 800 trace lines (truncated by `head -800`) so we couldn't see the failing query. Bump head to 2500 and add a timeout so a hung probe doesn't block the rest of the job.
1 parent 7406405 commit 08a4715

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/phpunit-tests-turso.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2024,7 +2024,10 @@ jobs:
20242024
working-directory: packages/mysql-on-sqlite
20252025
run: |
20262026
set +e
2027-
php <<'PHP' 2>&1 | head -800
2027+
# Add a hard timeout so a hung probe step doesn't block the
2028+
# whole job; head -2500 keeps log size reasonable.
2029+
timeout --kill-after=5 60 \
2030+
php <<'PHP' 2>&1 | head -2500
20282031
<?php
20292032
// Boot the driver, run failing test scenarios. With RUST_LOG
20302033
// including translate=trace, Turso prints each prepared SQL

0 commit comments

Comments
 (0)