Skip to content

Commit 268acf4

Browse files
committed
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.
1 parent d04e213 commit 268acf4

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/ios.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,11 +246,14 @@ jobs:
246246
# ignoring a `gesture pan` duration). Split out of gesture-lab.ad, which stays full-tier
247247
# (dispatch-only via replays-manual.yml) because its multi-touch commands are a separate,
248248
# heavier concern. This is the only automatic lane this assertion runs in today.
249+
# --timeout raises the per-attempt budget past the script's own 60s: it absorbs an
250+
# in-replay runner rebuild (measured 48-61s build + ~40s launch) on a runner cache miss;
251+
# the normal path finishes in 21-34s.
249252
- name: Run gesture pan-duration smoke replay
250253
run: |
251254
xcrun simctl install "${{ steps.ios-simulator.outputs.simulator-udid }}" "${{ steps.fixture-app.outputs.app-path }}"
252255
pnpm clean:daemon
253-
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
256+
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
254257
pnpm clean:daemon
255258
256259
- name: Assert simulator automation preserved host focus

0 commit comments

Comments
 (0)