the.bay.news

For Weeks I Logged a CLI as Flaky. The Bug Was `| tail -20`.

DEV Community
For Weeks I Logged a CLI as Flaky. The Bug Was `| tail -20`.
A vendor CLI "worked sometimes." Three sessions of lsof later, the CLI was fine every time — an unrelated npm process spawned in the same second had inherited the write end of my pipe, so head and tail blocked forever waiting for an EOF that could never arrive. The observation pipeline was manufacturing the verdict.

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.