Repository navigation
ci: ограничить время заданий (timeout-minutes) - #84
Merged
Merged
Conversation
Без лимита зависшее задание держит раннер 6 часов: в CI PR #80 прогон guessverse-progression завис на apt-get update и был снят только по лимиту GitHub (лог обрывался в 00:09 UTC, отмена в 06:09). Лимиты с запасом над наблюдаемыми: тесты 30 минут (до 9 мин), lint 15 (1-2 мин), фронтенд 20 (6 мин), образы 30, служебные задания 5, ночной прогон 90 (39 мин). У e2e-smoke уже стоит 60 (24 мин) - без изменений.
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.
Проблема
У большинства заданий CI нет
timeout-minutes, поэтому зависший шаг держит раннер до лимита GitHub (6 часов). В CI PR #80 прогонТесты guessverse-progressionзавис наapt-get update: лог обрывается в 00:09:50 UTC, отмена в 06:09 UTC, ни один тест не запускался.Что изменено
timeout-minutesдобавлен вci.ymlиnightly.yml. Значения с запасом над реальными длительностями из недавних запусков:changes(Затронутые модули),nginxlinttest(на каждый модуль матрицы)frontendbuild(образы)e2e-smokenightly/all-testsЛогика прогонов не менялась, добавлено 7 строк.
Что учесть
Если задание ляжет в лимит из-за реального роста времени (например, ночной прогон перерастёт 90 минут), его придётся поднять осознанно; лимиты подобраны по текущим данным.