Skip to content

Chore: Add 30-minute timeouts to GitHub Actions workflow jobs #3396

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 2 commits into from
May 7, 2025

Conversation

jaegeral
Copy link
Collaborator

@jaegeral jaegeral commented May 7, 2025

Summary

This pull request introduces a consistent 30-minute timeout (timeout-minutes: 30) to various jobs across our GitHub Actions workflows. Previously, these jobs would use the GitHub Actions default timeout of 360 minutes (6 hours).

Changes Made

The timeout-minutes: 30 setting has been applied to the following workflow jobs:

  • End-to-End Tests (e2e-tests.yml):
    • PyPi-plaso-stable-opensearch-v1
    • PyPi-plaso-staging-opensearch-v1
    • PyPi-plaso-stable-opensearch-v2
    • PyPi-plaso-staging-opensearch-v2
  • Unit Tests (unit-tests.yml):
    • Python (backend tests)
    • VueJS (frontend tests)
  • Frontend Builds:
    • build-frontend-ng (in build_frontend-ng.yml)
    • build-frontend-v3 (in build_frontend-v3.yml)

Benefits

  • Improved Resource Management: Prevents runaway jobs from consuming excessive runner time by enforcing a 30-minute limit, a significant reduction from the 6-hour default.
  • Faster Feedback on Stuck Jobs: If a job hangs or takes unexpectedly long, it will now fail faster, allowing for quicker identification and resolution of underlying issues.
  • Consistency: Standardizes job execution time limits across different testing and build workflows.

This change enhances the reliability and efficiency of our CI pipeline.

closes #3352

@jaegeral jaegeral requested a review from jkppr May 7, 2025 11:48
@jaegeral jaegeral self-assigned this May 7, 2025
@jaegeral jaegeral added Deployment Issue related to deployment Code Health Code health improvements github_actions Pull requests that update GitHub Actions code labels May 7, 2025
@jaegeral jaegeral merged commit 5cb2171 into google:master May 7, 2025
13 checks passed
@jaegeral jaegeral deleted the 2025-05-07_3352 branch May 7, 2025 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Health Code health improvements Deployment Issue related to deployment github_actions Pull requests that update GitHub Actions code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Introduce timeout-minutes: 30 in Github Workflows
2 participants