-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Build: disable builds after 25 consecutive failed builds on default version #12624
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
Open
Copilot
wants to merge
23
commits into
main
Choose a base branch
from
copilot/disable-webhooks-after-n-failed-builds
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+214
−0
Open
Changes from 3 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
ae1b38b
Initial plan
Copilot 93f3bae
Add automatic project disabling after 50 consecutive failed builds
Copilot a935aae
Address code review feedback: improve code clarity and naming
Copilot 70b50cb
Update code to simplify checking for N consecutive failed builds usin…
humitos 1b8fdcb
Address review feedback: move docs section, use settings, simplify tests
Copilot 31cfff7
Apply suggestion from @humitos
humitos 2379e21
Apply suggestion from @humitos
humitos a93cbf3
Convert consecutive builds check to Celery task for database access
Copilot e4f51d1
Updates to use project slug and cancel the notification
humitos 0e469a4
Apply suggestion from @humitos
humitos d5dc06d
Add comment explaining early return check and simplify consecutive bu…
Copilot cdcdd7c
Revert task logic to use groupby for consecutive build checking
Copilot 021918f
Trigger the task from `on_failure` insteead of a Django signal
humitos 729b337
Give the user the ability to re-eanble builds
humitos eb5fff1
Make the project as non-active if it has N+ consecutive failed builds
humitos 212b7c2
Update notification copy
humitos 26a0469
Reduce N+ failed builds to 25 from 50
humitos 64334ab
Don't disable project builds on Read the Docs for Business
humitos d330cb4
Feedback received
humitos b535aa7
Fix test
humitos 31f0696
Update docs to reflect changes
humitos f78911f
Move the check for private repositories before triggering the task
humitos 1dc405c
Simplify counting of consecutive failed builds
humitos File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.