Skip to content

Commit 063a1b2

Browse files
author
Shaw
committed
fix(ci): cap plugin-tests step at 35m and disable pytest-xprocess
Run 25234887145 hung the Plugin Tests job at the full 60m job timeout. The python tests in plugin-groq (and other plugins) finished cleanly, but a leftover process kept turbo's stdio pipes open so the job never exited. Several plugins declare `pytest-xprocess` as a dev dep but none of them actually use it; its `pytest_terminal_summary` hook is the most likely source of the leaked child. Disable the plugin globally via PYTEST_ADDOPTS, mirroring the per-plugin removal in b33bd39. Also add a 35m step-level timeout so any future hang fails the step fast instead of burning the full 60m job budget.
1 parent 057b34d commit 063a1b2

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,11 @@ jobs:
107107
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
108108
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
109109
TURBO_REMOTE_ONLY: true
110+
# Disable pytest-xprocess globally. Several plugins declare it as a dev
111+
# dep but never use it; its session-finalizer leaves orphan child
112+
# processes that hold turbo's stdio pipes open after the test passes,
113+
# so the job hangs until the 60m wall-clock timeout fires.
114+
PYTEST_ADDOPTS: "-p no:xprocess"
110115
steps:
111116
- uses: actions/checkout@v6
112117
with:
@@ -127,6 +132,7 @@ jobs:
127132
no-vision-deps: "true"
128133

129134
- name: Run plugin tests
135+
timeout-minutes: 35
130136
run: bun run test:plugins
131137

132138
desktop-contract:

0 commit comments

Comments
 (0)