Skip to content

ci: log iOS simulator state when a smoke test times out - #411

Merged
tbhb-agent merged 2 commits into
mainfrom
agent/r74-bootstatus
Nov 25, 2026
Merged

tbhb-agent merged 2 commits into
mainfrom
agent/r74-bootstatus

Conversation

@tbhb-agent

Copy link
Copy Markdown
Contributor

Why

After #410, //:ios_app_test on main still timed out twice in apple-smoke, now on a fresh simulator each time. The log stops at Waiting on Data Migration about 30 seconds after boot. The cause is unknown.

Behavior change

When the iOS smoke test ends in TIMEOUT, the script prints the simulator list, the boot status of each BAZEL_TEST_ device, and the last 50 CoreSimulator log lines. The retry and the job result stay the same.

Decisions

The diagnostics run before the reset, so they show the state the first attempt left behind. Each diagnostic command ends with || true, so a failing one can't change the outcome. The script falls back to the Homebrew timeout alias when timeout is missing.

Risk

ci.yml is a class 3 row, and this change edits only the script beside it. The reviewers decide the tier. A failed diagnostic can add up to 120 seconds per device to a failing job.

Verification

  • The pre-push gate passed. The size check reported pr_size: code=20/400 raw=24/1500.
  • Linux stub cases passed for first-attempt success, failures that skip diagnostics, both retry outcomes, and failing diagnostic commands. The author couldn't run macOS simulators.
  • After merge, read the iOS simulator diagnostics after TIMEOUT group in the Test step of the next failing apple-smoke or swift-smoke job.
  • To undo, revert this pull request.

Opened-by: LLM effort=medium;harness=claude-code:2.1.331;model=anthropic:claude-sonnet-5-5;session=sha-256-64:debb814921f029ad;surface=cli
Generated-by: LLM effort=medium;harness=codex:0.171.0;model=openai:gpt-6.2-sol;session=sha-256-64:8773e842f49c485e;surface=exec
Assisted-by: LLM effort=medium;harness=claude-code:2.1.331;model=anthropic:claude-sonnet-5-5;session=sha-256-64:debb814921f029ad;surface=cli

Generated-by: LLM effort=medium;harness=codex:0.171.0;model=openai:gpt-6.2-sol;session=sha-256-64:8773e842f49c485e;surface=exec
Generated-by: LLM effort=medium;harness=codex:0.171.0;model=openai:gpt-6.2-sol;session=sha-256-64:8773e842f49c485e;surface=exec
@tbhb-agent
tbhb-agent added this pull request to the merge queue Nov 25, 2026
Merged via the queue into main with commit 3d891be Nov 25, 2026
57 checks passed
@tbhb-agent
tbhb-agent deleted the agent/r74-bootstatus branch November 25, 2026 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant