From 91f2c235393f30d2cf00d0683ff80554e7f5713c Mon Sep 17 00:00:00 2001 From: Matysh Date: Tue, 18 Aug 2026 19:53:15 +0300 Subject: [PATCH] fix: install Chromium without --with-deps in the review pipeline MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On a Playwright cache miss the flag pulled Chromium's system libraries through apt, spending minutes of the 45-minute review budget on packages the ubuntu-latest image already ships — and the runner's retries against the unreachable azure mirror made the step look hung on a live run. If the image ever drops a required library, Chromium fails to launch with a clear missing-libraries error; that is the moment to bring the flag back. validate.yml keeps the flag deliberately: it is the prerelease gate, where predictability is worth more than minutes. Issue: #175 User-Visible: no --- .github/workflows/process.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/process.yml b/.github/workflows/process.yml index 1589ed4d..9bb8bb30 100644 --- a/.github/workflows/process.yml +++ b/.github/workflows/process.yml @@ -208,7 +208,12 @@ jobs: - name: Установить Chromium if: steps.pw.outputs.cache-hit != 'true' - run: npx playwright install --with-deps chromium + # Без --with-deps: системные библиотеки Chromium предустановлены в + # образе ubuntu-latest, а apt при промахе кэша съедал минуты из бюджета + # ревью и подолгу перебирал недоступное azure-зеркало (#175). Если + # библиотека когда-нибудь пропадёт из образа, Chromium не запустится с + # внятной ошибкой — тогда флаг вернуть. + run: npx playwright install chromium - name: Review id: review