Skip to content

ci: give the iOS test simulator 10 minutes to boot - #737

Open
turnipdabeets wants to merge 1 commit into
mainfrom
ci/ios-sim-boot-timeout
Open

turnipdabeets wants to merge 1 commit into
mainfrom
ci/ios-sim-boot-timeout

Conversation

@turnipdabeets

Copy link
Copy Markdown
Contributor

💡 Motivation and Context

build-apple (ios, cocoapods) fails on main at "Boot iOS test simulator" (runs 44740363934 and 44275629648). It hits the step's 5-minute timeout.

On the macos-26-arm64 image (20261117.0516.1, iOS 26.5 runtime), a newly created simulator's first boot spends about 4 minutes in data migration, mostly CoreLocationMigrator. Green runs finish close to the limit; the last green 6.0 run took 3m51s. This PR raises the step timeout to 10 minutes.

The same fix is on #637 (5e5e582), where build-apple (ios, spm) failed twice the same way.

💚 How did you test it?

Not run yet: this PR's own CI will boot the simulator under the new limit. The timings come from the job logs of the runs above.

📝 Checklist

  • All commits are signed (see Commit signing)
  • I reviewed the submitted code.
  • I added tests to verify the changes.
  • I updated the docs if needed.
  • No breaking change or entry added to the changelog.

🤖 Agent context

Autonomy: Human-driven (agent-assisted)

  • Claude Code found this while fixing CI on chore!: Flutter Major Release v6 #637. It compared the boot-step logs of the green and failed runs: same runner image and runtime, with migration taking about 4 minutes in each.

🤖 Generated with Claude Code

On macos-26-arm64 (20261117.0516.1, iOS 26.5 runtime) a new simulator's
first boot spends about 4 minutes in CoreLocationMigrator, so the 5-minute
step timeout fails build-apple (ios, cocoapods) intermittently.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@turnipdabeets
turnipdabeets requested a review from a team as a code owner November 20, 2026 21:52
@turnipdabeets turnipdabeets self-assigned this Nov 20, 2026
@veria-ai

veria-ai Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

PR overview

No security issues were found in this pull request.

Reviews

@github-actions

Copy link
Copy Markdown
Contributor

posthog-flutter Compliance Report

Date: 2026-11-20 21:56:57 UTC
Duration: 96616ms

✅ All Tests Passed!

45/45 tests passed


Capture Tests

✅ 29/29 tests passed

View Details
Test Status Duration
Format Validation.Event Has Required Fields ✅ 130ms
Format Validation.Event Has Uuid ✅ 115ms
Format Validation.Event Has Lib Properties ✅ 112ms
Format Validation.Distinct Id Is String ✅ 111ms
Format Validation.Token Is Present ✅ 111ms
Format Validation.Custom Properties Preserved ✅ 112ms
Format Validation.Event Has Timestamp ✅ 112ms
Retry Behavior.Retries On 503 ✅ 5325ms
Retry Behavior.Does Not Retry On 400 ✅ 2114ms
Retry Behavior.Does Not Retry On 401 ✅ 2114ms
Retry Behavior.Respects Retry After Header ✅ 8117ms
Retry Behavior.Implements Backoff ✅ 15429ms
Retry Behavior.Retries On 500 ✅ 5221ms
Retry Behavior.Retries On 502 ✅ 5223ms
Retry Behavior.Retries On 504 ✅ 5219ms
Retry Behavior.Max Retries Respected ✅ 15432ms
Deduplication.Generates Unique Uuids ✅ 119ms
Deduplication.Preserves Uuid On Retry ✅ 5218ms
Deduplication.Preserves Uuid And Timestamp On Retry ✅ 10327ms
Deduplication.Preserves Uuid And Timestamp On Batch Retry ✅ 5224ms
Deduplication.No Duplicate Events In Batch ✅ 118ms
Deduplication.Different Events Have Different Uuids ✅ 112ms
Compression.Sends Gzip When Enabled ✅ 112ms
Batch Format.Uses Proper Batch Structure ✅ 111ms
Batch Format.Flush With No Events Sends Nothing ✅ 106ms
Batch Format.Multiple Events Batched Together ✅ 117ms
Error Handling.Does Not Retry On 403 ✅ 2113ms
Error Handling.Does Not Retry On 413 ✅ 2113ms
Error Handling.Retries On 408 ✅ 5221ms

Feature_Flags Tests

✅ 16/16 tests passed

View Details
Test Status Duration
Request Payload.Request With Person Properties Device Id ✅ 10ms
Request Payload.Flags Request Uses V2 Query Param ✅ 6ms
Request Payload.Flags Request Hits Flags Path Not Decide ✅ 7ms
Request Payload.Flags Request Omits Authorization Header ✅ 6ms
Request Payload.Token In Flags Body Matches Init ✅ 6ms
Request Payload.Groups Round Trip ✅ 7ms
Request Payload.Groups Default To Empty Object ✅ 6ms
Request Payload.Person Properties Distinct Id Auto Populated When Caller Omits It ✅ 7ms
Request Payload.Disable Geoip False Propagates As Geoip Disable False ✅ 6ms
Request Payload.Disable Geoip Omitted Defaults To False ✅ 7ms
Request Payload.Flag Keys To Evaluate Contains Only Requested Key ✅ 7ms
Request Lifecycle.No Flags Request On Init Alone ✅ 2ms
Request Lifecycle.No Flags Request On Normal Capture ✅ 110ms
Request Lifecycle.Two Flag Calls Produce Two Remote Requests ✅ 12ms
Request Lifecycle.Mock Response Value Is Returned To Caller ✅ 6ms
Side Effect Events.Get Feature Flag Captures Feature Flag Called Event ✅ 111ms

@turnipdabeets turnipdabeets mentioned this pull request Nov 20, 2026
12 of 18 tasks

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant