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

Delay building a PR in case the developer makes several pushes in a row #31

Open
gurneyalex opened this issue Dec 4, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@gurneyalex
Copy link
Collaborator

For the moment if a developer makes a series of commit + push we get 1 build per push. We should delay the build a little bit to save on ressources and only build the last push. Heuristic could be something like wait for more pushes on the branch for X minutes after the last push on that branch before building the head of the branch.

@sbidoul sbidoul added the enhancement New feature or request label Dec 4, 2021
@sbidoul
Copy link
Owner

sbidoul commented Dec 5, 2021

Alternatively, when deploying a new build, we could look at builds of the same PR that are initializing and undeploy them.
This is easier to implement and provides a better UX with faster initialization when the developer thinks before pushing :)
We could also run some analysis of the logs to see how prevalent this issue is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants