Repository navigation
fix(tests): give Forge worker fixture 15s budget for torch import under CI load - #684
Merged
Merged
Conversation
…er CI load worker_request defaulted to budget=3s, causing test_real_worker_records_logs_receipt_and_releases_claim to hit worker wall-time timeout (exit code 1) when importing torch in a subprocess under 4-worker CPU contention on GitHub Actions.
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.
Fixes the single remaining CI shard-1 failure on PR #631 (
test_real_worker_records_logs_receipt_and_releases_claimexiting with code 1).worker_requestdefaulted tobudget=3seconds while the child subprocess importstorchthroughexperiments/forge/execution_policy.py. Under 4-worker CPU contention on GitHub Actions,import torchoccasionally exceeds 3s soexperiments/forge/worker.pyterminates the child withattempt_status='timeout'(exit code 1). Raising the default budget to15s(still well insidecampaign(budget=100), adding zero runtime to fast-completing tests) and giving the timeout/cancel tests6s/15sroom eliminates the flake.