Skip to content

Commit 555a516

Browse files
Print test names as MySQL step enters each test for CI hang diagnosis
Same diagnostic approach 8295e60 applied to the Postgres step. The MySQL suite just hit a Mode-B hang (CI run 24637564241) around tests 882-913 with no loud error — only the progress-dot batch, then silence until the 60m step budget. --testdox alone prints test names on completion, so the hang is invisible in the step log. --debug prints each test name as it enters, so the next red run names the hang point. Drop alongside the Postgres --debug when #427 closes and MySQL has been consistently green for a cycle. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 1839e7e commit 555a516

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/php.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,16 @@ jobs:
7676
touch testbench.sqlite
7777
mysql -e 'CREATE DATABASE testbench' -h127.0.0.1 -uroot -ppassword -P ${{ job.services.mysql.ports[3306] }}
7878
79+
# --debug prints each test name as it starts so when the suite stalls
80+
# the hang point is visible in the step log instead of hidden behind
81+
# the 60m timeout. Currently chasing a stall around tests 882-913 that
82+
# only reproduces in CI (runs 24635883692 and 24637564241). Drop --debug
83+
# when the cluster tracked under #427 / the post-#429 MySQL flake is
84+
# resolved and MySQL has been consistently green.
7985
- name: Run test suite (MySQL)
8086
id: mysql_suite
8187
timeout-minutes: 65
82-
run: timeout --foreground 60m vendor/bin/phpunit --testdox --testsuite feature
88+
run: timeout --foreground 60m vendor/bin/phpunit --testdox --debug --testsuite feature
8389
env:
8490
DB_CONNECTION: mysql
8591
DB_PORT: ${{ job.services.mysql.ports[3306] }}

0 commit comments

Comments
 (0)