From 268acf4e20a0626ab85ef4cbf54de4049912334a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Pierzcha=C5=82a?= Date: Wed, 2 Sep 2026 22:15:20 +0200 Subject: [PATCH] ci(ios): give the pan-duration replay a budget that absorbs a runner rebuild All 5 recent failures of the gesture pan-duration smoke replay step were the replay's open --relaunch running a full xcodebuild build-for-testing after a spurious runner cache_metadata_mismatch (48-61s build + ~40s launch), which consumed the 60s per-replay budget before --retries 2 could fire. Pass --timeout 180000 to the test command, which overrides the script's context timeout=60000 per attempt without touching the shared .ad file. --- .github/workflows/ios.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml index 0b7c6f2ec..88593c2bb 100644 --- a/.github/workflows/ios.yml +++ b/.github/workflows/ios.yml @@ -246,11 +246,14 @@ jobs: # ignoring a `gesture pan` duration). Split out of gesture-lab.ad, which stays full-tier # (dispatch-only via replays-manual.yml) because its multi-touch commands are a separate, # heavier concern. This is the only automatic lane this assertion runs in today. + # --timeout raises the per-attempt budget past the script's own 60s: it absorbs an + # in-replay runner rebuild (measured 48-61s build + ~40s launch) on a runner cache miss; + # the normal path finishes in 21-34s. - name: Run gesture pan-duration smoke replay run: | xcrun simctl install "${{ steps.ios-simulator.outputs.simulator-udid }}" "${{ steps.fixture-app.outputs.app-path }}" pnpm clean:daemon - node --experimental-strip-types src/bin.ts test examples/test-app/replays/gesture-pan-duration.ad --udid "${{ steps.ios-simulator.outputs.simulator-udid }}" --retries 2 --artifacts-dir test/artifacts/replays-ios-gesture-pan-duration --report-junit test/artifacts/replays-ios-gesture-pan-duration.junit.xml + node --experimental-strip-types src/bin.ts test examples/test-app/replays/gesture-pan-duration.ad --udid "${{ steps.ios-simulator.outputs.simulator-udid }}" --timeout 180000 --retries 2 --artifacts-dir test/artifacts/replays-ios-gesture-pan-duration --report-junit test/artifacts/replays-ios-gesture-pan-duration.junit.xml pnpm clean:daemon - name: Assert simulator automation preserved host focus