Skip to content

Specify a timeout shorter than 6hrs for GitHub Action jobs/workflows #33302

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

Closed
simonbasle opened this issue Aug 2, 2024 · 2 comments
Closed
Assignees
Labels
type: task A general task
Milestone

Comments

@simonbasle
Copy link
Contributor

The default (and maximum) timeout for a single job is 6hrs. The default (and maximum) timeout for a whole workflow is 35 days.
It seems to me that we could set a shorter timeout for our jobs (like "build snapshot").

@simonbasle simonbasle added the type: task A general task label Aug 2, 2024
@simonbasle simonbasle added this to the General Backlog milestone Aug 2, 2024
@simonbasle
Copy link
Contributor Author

For example, this attempt timed out after 6 hours.

@snicoll snicoll self-assigned this Aug 2, 2024
@snicoll snicoll modified the milestones: General Backlog, 6.1.12 Aug 2, 2024
@snicoll snicoll closed this as completed in 84d1122 Aug 2, 2024
@snicoll
Copy link
Member

snicoll commented Aug 5, 2024

I think we also need to do this for PR, There's one that failed after 6h recently https://github.com/spring-projects/spring-framework/actions/runs/10237453260/job/28320768205?pr=33316

snicoll added a commit that referenced this issue Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: task A general task
Projects
None yet
Development

No branches or pull requests

2 participants