Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Script author here :-) This was due to two different GitHub Action workflows:

(Workflow 1): Remove the need-triage label under certain conditions.

(Workflow 2): If anyone outside a project maintainer removes a label, re-add it with a friendly message explaining why.

Submitted those at like 10 or 11 pm and went to sleep. Woke up to all issues that got changed overnight with dozens, hundreds, or thousands of these messages.

Cause: Workflow 2 should have checked for project maintainers but also other bots and automation that might also be clearing labels. It got fixed immediately once we realized the issue.





I learned the hard way to always implement a circuit breaker for event-driven triggers like this. We use a simple Redis counter with a short TTL to rate limit execution and fail fast if it detects a loop. It is standard practice in backend queues like Celery but easy to overlook in CI configurations.

   > Submitted those at like 10 or 11 pm and went to sleep.
That's a classic :)

Hopefully this hasn't caused any real harm. At least it sure did give me a good laugh when I first saw it.


In corporate, that's pushed to prod and then got on an international flight on a Friday afternoon.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: