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

Add concurrency cancels to build and weekly cron #230

Merged

Conversation

WilliamJamieson
Copy link
Collaborator

I have noticed that pushing commits to branches with open PRs can cause huge delays in the build job completing. This is because there are no concurrency checks, meaning all the previously triggered jobs (by other pushes) all run to completion. I also noticed this for the weekly job, which can by special request be run on a PR too.

Checklist

  • added entry in CHANGES.rst (either in Bug Fixes or Changes to API)
  • updated relevant tests
  • updated relevant documentation
  • updated relevant milestone(s)
  • added relevant label(s)

Copy link

codecov bot commented Nov 10, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

Copy link
Collaborator

@zacharyburnett zacharyburnett left a comment

Choose a reason for hiding this comment

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

good catch!

This way pushing new commits to a PR auto cancels the old jobs.
@WilliamJamieson WilliamJamieson merged commit f629c25 into spacetelescope:main Nov 10, 2023
24 checks passed
@WilliamJamieson WilliamJamieson deleted the bugfix/concurency branch November 10, 2023 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants