[ci] Bound the runtime of the integration-test jobs#892
Conversation
|
The 2 failing checks are unrelated to this change — this PR only adds
The |
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.
fde22ad to
267e1ef
Compare
|
Rebased onto current One correction to the CI triage above: the That leg should therefore be clean on this run. The |
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