From 75954fac6060ec1fc6ed1970a7144315d12fa7c8 Mon Sep 17 00:00:00 2001 From: CatJuly <83827003+CatJuly@users.noreply.github.com> Date: Wed, 5 Aug 2026 18:05:24 +0800 Subject: [PATCH] fix(ci): install dev extras so pytest is available in smoke workflow The external-agent-smoke workflow ran `pip install -e .`, which only installs runtime dependencies. pytest and pytest-timeout live in the `dev` optional-dependency group in pyproject.toml, so the test step failed immediately with `No module named pytest` on all three platforms before running a single test. Fix: `pip install -e ".[dev]"` This bug went undetected because every previous PR triggered the workflow in `action_required` state (fork PRs need maintainer approval to run); the job never actually executed until now. --- .github/workflows/external-agent-smoke.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/external-agent-smoke.yml b/.github/workflows/external-agent-smoke.yml index 87a3426..80b7590 100644 --- a/.github/workflows/external-agent-smoke.yml +++ b/.github/workflows/external-agent-smoke.yml @@ -22,7 +22,7 @@ jobs: with: python-version: "3.11" - name: Install package - run: python -m pip install -e . + run: python -m pip install -e ".[dev]" - name: Run external-agent smoke checks run: > python -m pytest -q