[ci] Bound the runtime of the integration-test jobs#892
Open
weiqingy wants to merge 4 commits into
Open
Conversation
The integration-test jobs set no timeout-minutes, so a hung test runs until GitHub's six-hour job ceiling before it is killed. A recent run consumed six hours on a stalled it-python job whose result was knowable in minutes. Bound the three jobs that install and exercise a local Ollama server. The limits are roughly two to three times each job's slowest observed run over recent green builds on main: it-python 26.2m, cross-language 24.8m, and it-java 14.0m.
Collaborator
Author
|
The 2 failing checks are unrelated to this change — this PR only adds
The |
2 tasks
2 tasks
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.
Linked issue: #889
Purpose of change
None of the jobs in
ci.ymlsettimeout-minutes, so a hung test runs until GitHub's six-hour per-job ceiling before it is killed. A recent run consumed6h0m16son a stalledit-pythonjob — the localllama-serversegfaulted mid-run, pytest hung, and the job burned shared Apache runner capacity for a result that was knowable in minutes.This bounds the three jobs that install and exercise a local Ollama server (
it-python,it-java,cross-language), which are the ones exposed to that hang. Each limit is roughly two to three times the job's slowest observed run over recent green builds onmain:mainruns)timeout-minutesit-pythoncross-languageit-javaThe segfault itself is a separate question tracked in #889; this change only ensures such a hang fails fast instead of running to the six-hour ceiling.
Tests
No test changes. Verified that the workflow YAML still parses and that the three
timeout-minuteskeys attach at job level topython_it_tests,java_it_tests, andcross_language_tests. The behavior — a job aborting once it exceeds its limit — is a GitHub Actions primitive.API
No public API changes.
Documentation
doc-not-needed