From f01505221fc48a968ccd0f8e8c127655909af111 Mon Sep 17 00:00:00 2001 From: rayvader <42436531+rayvader@users.noreply.github.com> Date: Sat, 7 Nov 2026 01:03:48 +0000 Subject: [PATCH] ci: time out the e2e report step after 5 minutes A hung ffmpeg or apt-get in 'Report and demo video' ran the e2e job into its 60-minute cap twice and cancelled a run whose tests had all passed. The step now has its own 5-minute limit and continue-on-error; the feature tests still gate the job. --- .github/workflows/android.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 144705b..6f6e62a 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -192,8 +192,13 @@ jobs: disable-animations: true script: bash .github/e2e/run.sh + # Report and demo video are nice to have: a hung ffmpeg or apt-get must not run the job + # into its 60-minute cap and cancel a passed e2e. The feature tests above still gate the + # job; this step can only time out on its own and be marked as a warning. - name: Report and demo video if: always() + timeout-minutes: 5 + continue-on-error: true run: | command -v ffmpeg >/dev/null || (sudo apt-get update -qq && sudo apt-get install -y -qq ffmpeg fonts-dejavu-core > /dev/null) python3 .github/e2e/report.py e2e-out