Skip to content
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

Workflows: set timeouts for workflows steps #6839

Open
bartgol opened this issue Nov 18, 2024 · 1 comment
Open

Workflows: set timeouts for workflows steps #6839

bartgol opened this issue Nov 18, 2024 · 1 comment

Comments

@bartgol
Copy link
Contributor

bartgol commented Nov 18, 2024

I've seen eamxx-sa getting stuck b/c the checkout action got stuck. I killed the workflow after >2h. This was likely due to a loss of network that tripped the container where the action was running, so it shouldn't be too bad. A re-run should have the test going.

However, it's a bit annoying to find out we wasted 2.5h. Luckily, gh actions support both a job-level as well as a step-level timeout via the timeout-minutes entry. We should carefully set this, so that glitches in the container don't cause the job to hang too long. E.g., we could set a 10min timeout for the checkout, a 1h timeout for test-all-scream, and 45min timeout for create_test.

@bartgol bartgol transferred this issue from E3SM-Project/scream Dec 9, 2024
@bartgol bartgol changed the title Set timeouts for workflows steps Workflows: set timeouts for workflows steps Dec 9, 2024
@bartgol
Copy link
Contributor Author

bartgol commented Jan 8, 2025

@E3SM-Project/ci-and-testing I was hoping we could assign an issue to a team (much like one can do for PRs), but apparently it's not possible. 👎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant