Fix flaky boot issues by adding a retry parameter #563
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.
As reported in #548 this GitHub Action is sometimes a bit flaky. It doesn't complete the boot process of the simulator. As a workaround I add retries, that can be configured with the following parameters:
boot_timeout_seconds(default:360): Maximum number of seconds to wait for the Simulator to finish booting (0 disables the timeout)boot_retries(default:2): Number of times to retry booting when waiting for the Simulator to finish booting fails. Setting this to 2 will result in 3 attempts: one normal attempt and two retries.Before this PR the action failed 6x out of 20 runs (see logs). With the changes from this PR, the action failed 0 out of 40 runs (see these logs and these logs)
In this log the retry was used: https://github.com/nilsreichardt/integration_test_problem/actions/runs/21669542187/job/62473614621
Closes #548