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

Faster workflow response / saving resources via timeout/concurrency policy #316

Merged
merged 1 commit into from
Nov 26, 2023

Conversation

dbast
Copy link
Member

@dbast dbast commented Nov 24, 2023

All the workflows normally finish within <5 minutes. If they take longer (there are several runs >30 minutes in the action history) they always fail and the causes are temporary issues with CDN / dependencies not solvable etc. There is no point then continuing those runs as they anyway fail. Thus setting an upper limit of 30 minutes to save some free Action minutes in the incubator org.

Also setting a concurrency policy for all workflows for faster PR responses when doing repeated pushes to PRs, inspired by conda.

…olicy

All the workflows normally finish within <5 minutes. If they take longer
(there are several runs >30 minutes in the action history) they always
fail and the causes are temporary issues with CDN / dependencies not
solvable etc. There is no point then continuing those runs as they anyway
fail. Thus setting an upper limit of 30 minutes to save some free Action
minutes in the incubator org.

Also setting a concurrency policy for all workflows for faster PR responses
when doing repeated pushes to PRs, inspired by [0].

[0](https://github.com/conda/conda/blob/main/.github/workflows/tests.yml#L21)
@dbast dbast requested a review from a team as a code owner November 24, 2023 13:10
Copy link
Member

@goanpeca goanpeca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! Thanks 🚀

@goanpeca goanpeca merged commit 45fd3f9 into conda-incubator:main Nov 26, 2023
50 checks passed
@dbast dbast deleted the timeout branch November 27, 2023 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants