Build: disable builds after 25 consecutive failed builds on default version #12624
Initial plan
ae1b38be
Add automatic project disabling after 50 consecutive failed builds
93f3baee
Address code review feedback: improve code clarity and naming
a935aaea
copilot-swe-agent
changed the title [WIP] Add feature to disable webhooks after N failed builds Build: disable webhooks after 50 consecutive failed builds on default version 15 days ago
Update code to simplify checking for N consecutive failed builds usin…
70b50cbf
Address review feedback: move docs section, use settings, simplify tests
1b8fdcbf
Apply suggestion from @humitos
31cfff72
Apply suggestion from @humitos
2379e218
Convert consecutive builds check to Celery task for database access
a93cbf3a
humitos
changed the title Build: disable webhooks after 50 consecutive failed builds on default version Build: disable builds after 50 consecutive failed builds on default version 14 days ago
Updates to use project slug and cancel the notification
e4f51d10
humitos
marked this pull request as ready for review 14 days ago
humitos
requested a review
14 days ago
humitos
requested a review
14 days ago
humitos
approved these changes
on 2025-12-01
Apply suggestion from @humitos
0e469a4e
Add comment explaining early return check and simplify consecutive bu…
d5dc06d8
stsewd
commented
on 2025-12-01
Revert task logic to use groupby for consecutive build checking
cdcdd7c8
Trigger the task from `on_failure` insteead of a Django signal
021918fa
Give the user the ability to re-eanble builds
729b3379
Make the project as non-active if it has N+ consecutive failed builds
eb5fff1d
Update notification copy
212b7c2a
Reduce N+ failed builds to 25 from 50
26a04691
Don't disable project builds on Read the Docs for Business
64334ab3
Feedback received
d330cb41
Fix test
b535aa7c
humitos
changed the title Build: disable builds after 50 consecutive failed builds on default version Build: disable builds after 25 consecutive failed builds on default version 13 days ago
stsewd
commented
on 2025-12-03
Update docs to reflect changes
31f0696c
Move the check for private repositories before triggering the task
f78911f7
Simplify counting of consecutive failed builds
1dc405c6
humitos
enabled auto-merge (squash) 12 days ago
stsewd
approved these changes
on 2025-12-03
Add a test case to verify the project is not disabled
8aea75c1
humitos
merged
19f8bfea
into main 7 days ago
humitos
deleted the copilot/disable-webhooks-after-n-failed-builds branch 7 days ago
Login to write a write a comment.
Login via GitHub