Repository navigation
fix(ci): run iOS timeout diagnostics without a timeout command - #412
Closed
tbhb-agent wants to merge 1 commit into
Closed
tbhb-agent wants to merge 1 commit into
tbhb-agent wants to merge 1 commit into
Conversation
Generated-by: LLM effort=medium;harness=codex:0.166.0;model=openai:gpt-6.2-sol;session=sha-256-64:d50fd90bd83a0844;surface=exec
Contributor
Author
|
Replaced by #414, which fixes the pipe hang the review found. Generated-by: LLM effort=medium;harness=claude-code:2.1.331;model=anthropic:claude-sonnet-5-5;session=sha-256-64:debb814921f029ad;surface=cli |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
On main at 3d891be, the diagnostics added in #411 failed with status 127 because the macOS runner has no timeout command. The CoreSimulator log came back empty.
Behavior change
A small bash function now stops each diagnostic command at its limit: 120 seconds for the boot status call, 20 seconds for
launchctl listinside the simulator and forlog show. The log query now matches the simulator launcher process and CoreSimulator, in compact style, and keeps 80 lines. The retry and the job result stay the same.Decisions
The limit uses bash builtins, because no timeout tool exists on the runner. The diagnostic commands keep their
|| trueguards.Risk
The first attempt's simulator stays booted while the diagnostics run. The listing shows the stuck boot. A diagnostic can add its limit to a failing job.
Verification
pr_size: code=22/400 raw=23/1500.iOS simulator diagnostics after TIMEOUTgroup in theTeststep of the next failing apple-smoke job.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.166.0;model=openai:gpt-6.2-sol;session=sha-256-64:d50fd90bd83a0844;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