From bc83e4e2762de04d03aa408e3ee7ef7dd2d4ea1e Mon Sep 17 00:00:00 2001 From: ldm0 Date: Fri, 23 Oct 2026 04:27:28 +0800 Subject: [PATCH] ci: move Chromium smoke to self-hosted Playwright runners --- .github/workflows/ci.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7073bae773..0422b76b07 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -455,8 +455,9 @@ jobs: cdp-smoke-chromium: name: CDP smoke (Chromium) needs: [resolve-refs] - runs-on: ubuntu-latest + runs-on: [self-hosted, moli-ci] timeout-minutes: 30 + container: mcr.microsoft.com/playwright/python:v1.58.0-noble steps: - uses: actions/checkout@v4 with: @@ -473,17 +474,12 @@ jobs: node-version: 24.15.0 cache: npm cache-dependency-path: moli-cdp-smoke/package-lock.json - - name: Install dependencies and locked Chromium + - name: Install smoke dependencies run: | uv sync --project moli-cdp-smoke --locked npm ci --prefix moli-cdp-smoke - uv run --project moli-cdp-smoke --no-sync playwright install --with-deps chromium - name: Run full CDP smoke on Chromium run: | - # Piped core handlers ignore ulimit, and can block Page.crash teardown. - # This hosted VM belongs to this job; use file cores so the limit applies. - sudo sysctl -w kernel.core_pattern=core - ulimit -c 0 uv run --project moli-cdp-smoke --no-sync moli-cdp-smoke \ --browser chromium --jobs 4 --output-dir target/smoke/cdp-chromium-ci - name: Upload Chromium diagnostics