🪢 ci: Prevent Playwright Apt Lock Leakage (#14993)

This commit is contained in:
Danny Avila 2026-08-19 10:21:12 -04:00 committed by GitHub
parent 259f1e0c32
commit d175741010
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -251,12 +251,17 @@ jobs:
continue-on-error: true
run: timeout -k 10 90 npx playwright install ffmpeg
# This job deliberately skips the optional font install: its bounded
# Playwright apt process can outlive the wrapper on a slow mirror and
# retain the package-manager lock needed by the required Redis install.
# The MCP suite does not enable visual snapshot assertions.
# Redis is a hard requirement for this job, so this step stays fatal.
- name: Install Redis runtime dependencies
timeout-minutes: 5
run: |
sudo apt-get update
sudo apt-get install -y redis-server redis-tools
sudo apt-get -o DPkg::Lock::Timeout=300 update
sudo apt-get -o DPkg::Lock::Timeout=300 install -y redis-server redis-tools
- name: Start standalone Redis and Redis Cluster
run: |