Skip to content

ci: give the simulator process checks room for a slow simulator boot - #634

Open
houko wants to merge 1 commit into
mainfrom
ci/simulator-timeout
Open

houko wants to merge 1 commit into
mainfrom
ci/simulator-timeout

Conversation

@houko

@houko houko commented Nov 18, 2026

Copy link
Copy Markdown
Collaborator

Every PR's apple-simulator job has been failing since about 00:00Z today, for example on #631:

✓ TestSimulatorProcessResults/simulator (9m56.14s)
✗ TestSimulatorProcessResults/simulatorplain (0s)
    panic: test timed out after 10m0s

This isn't a code regression. Main's last green run (26451ed) and its first red one (4637dda) differ only by one line of docs/architecture/tool.md. Both runs used the same hosted image, macos-15-arm64 20261104.0514.1. The difference is how long the simulator boots: the first case took 3m32s in the green run and 9m56s in the red one. All three cases run in one go test process, so go test's default ten-minute limit kills the process a few seconds into the second case.

Change

  • TestSimulatorProcessResults gets -- -timeout=25m, the same way the gallery step got its limit in ci: give the Test step's packages twenty minutes #558. The flag is forwarded to go test: on the Linux build host, -- -timeout=1ns makes the run fail at once.
  • The job's timeout-minutes goes from 20 to 40, so the job limit stays above the package limit.

Not changed

Why the simulator boot is sometimes slow on hosted runners. This PR gives that variance enough headroom; it doesn't make the boot faster.

On the hosted macos-15 runner the first TestSimulatorProcessResults case took 3m32s in one run and 9m56s in another on the same image (20261104.0514.1). The three cases share one go test process, so go test's default ten-minute limit ended the run four seconds into simulatorplain, and every PR's apple-simulator job has been failing that way since about 00:00Z on 2026-11-18. The package now gets 25 minutes and the job 40.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant