Skip to content

"Vibe-Trading: Your Personal Trading Agent"

ci: run the frontend as its own job instead of twice inside the Python matrix

Haozhe Wube623c1be73e
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index a188cf6f8..2896e0c81 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -109,6 +109,22 @@ jobs:
# the suite never silently switches state on env presence.
run: pytest --ignore=agent/tests/e2e_backtest --ignore=agent/tests/test_e2e_harness_v2.py --cov=agent --cov-report=term-missing --cov-report=xml --tb=short -q
+ frontend:
+ name: frontend
+ runs-on: ubuntu-latest
+ timeout-minutes: 10
+ # Split out of `test` on 2026-09-04. It used to be the tail of BOTH Python
+ # matrix legs, which ran the identical npm ci + tsc + vite + vitest twice
+ # per push for a tree that has no Python in it. That duplication was free
+ # until the Python 3.11 leg grew to 539s of its 600s budget: on 8555a05a an
+ # npm registry slowdown pushed `npm ci` from its usual ~20s to over 130s and
+ # the leg hit `timeout-minutes` mid-install, reporting as `cancelled` with a
+ # green backend. Nothing here is tested less than before — the same three
+ # commands run on the same tree — but the frontend now owns its own budget
+ # and the Python legs get ~65s of headroom back.
+ steps:
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: "22"