Skip to content

Tune FreeBSD timeouts on GitHub Actions #10708

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 24, 2025

Conversation

0xEAB
Copy link
Member

@0xEAB 0xEAB commented Mar 24, 2025

Currently, our FreeBSD CI tests…

  • either complete within about 11 minutes
  • or timeout after 60 mins – ~49 of them spent idling erroneously.

I think it wouldn’t hurt to tune this a bit.


The old timeouts seemingly date back to the Cirrus CI to GHA migration and haven’t been adapted since:
https://github.com/dlang/phobos/blame/91af96cddbc6ff23e0453ec31165d7fa85b9100e/.github/workflows/main.yml#L129


The new values are calculated as follows:
$Value\ from\ DMD + 5\ extra\ minutes$

The extra headroom could be remove later on, if practice shows we can tighten thresholds further.

Currently, our FreeBSD CI tests either complete within about 11 minutes
or timeout after 60 mins – ~50 of them spent idling erroneously.

The new values are calculated as follows:
Timeout taken of DMD's "main" workflow + 5 extra minutes

- <https://github.com/dlang/dmd/blob/2036516c1758815739c069a19b0832ef6a0d26e7/.github/workflows/main.yml#L194>
- <https://github.com/dlang/dmd/blob/2036516c1758815739c069a19b0832ef6a0d26e7/.github/workflows/main.yml#L201>
@dlang-bot
Copy link
Contributor

Thanks for your pull request, @0xEAB!

Bugzilla references

Your PR doesn't reference any Bugzilla issue.

If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub run digger -- build "master + phobos#10708"

@thewilsonator thewilsonator merged commit b57f75d into dlang:master Mar 24, 2025
10 checks passed
VPanteleev-S7 pushed a commit to VPanteleev-S7/phobos that referenced this pull request Jun 5, 2025
Currently, our FreeBSD CI tests either complete within about 11 minutes
or timeout after 60 mins – ~50 of them spent idling erroneously.

The new values are calculated as follows:
Timeout taken of DMD's "main" workflow + 5 extra minutes

- <https://github.com/dlang/dmd/blob/2036516c1758815739c069a19b0832ef6a0d26e7/.github/workflows/main.yml#L194>
- <https://github.com/dlang/dmd/blob/2036516c1758815739c069a19b0832ef6a0d26e7/.github/workflows/main.yml#L201>
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.

3 participants