How a branch checkout silently deleted a pipeline's notifier for days
A software developer discovered that a long-running daily pipeline had silently stopped sending reports after a branch checkout step removed the notifier script from the working tree. The failure passed initial review because the bug only surfaced the day after deployment, once the target branch already existed. A reader's suggestion to run a deployed canary probe against production — rather than relying on source-control declarations — exposed the issue within minutes of manual testing. The root cause was a git workflow where checking out a single-file branch wiped all other repo files, including the script needed in a subsequent step. The developer recommends moving notifications before any push step, and periodically triggering scheduled jobs by hand to catch failures no static file check can reveal.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in