Skip to content

Commit 26d48db

Browse files
committed
ci(qt): cap Qt WebEngine leak gate at timeout-minutes: 20
The leak harness wraps the run in `timeout 180`, but QtWebEngine spawns Chromium zygote/helper child processes that survive when timeout SIGTERMs only the immediate child. The orphans keep the xvfb-run pipe open, so the job hangs to the 360-min runner default instead of finishing. A job-level timeout-minutes makes the runner force-kill the whole process tree, so a hung gate costs ~20 min, not hours. continue-on-error semantics are unchanged (gate stays advisory during Qt bring-up).
1 parent d0a23d5 commit 26d48db

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,11 @@ jobs:
302302
qt-webengine:
303303
name: Qt WebEngine leak gate
304304
runs-on: ubuntu-24.04
305+
# Hard ceiling: orphaned QtWebEngine/Chromium helper children survive
306+
# the inner `timeout 180`, holding the xvfb pipe open and hanging the
307+
# job to the 360-min runner default. Cap it so a hung leak gate is
308+
# force-killed (with its whole process tree) in minutes, not hours.
309+
timeout-minutes: 20
305310
steps:
306311
- uses: actions/checkout@v6
307312

0 commit comments

Comments
 (0)