wordfor

works on my ma·chine

/ˈwɝːks ɑːn ˌmaɪ məˈʃiːn/ (WURKS on my muh-SHEEN) phrase jocular

Programmer folklore

  1. The traditional reply to a bug report, indicating that the code behaves correctly in the developer's own environment and nowhere else. 'Works on my machine,' he said, and the team began comparing Node versions.

Origin

Origin uncertain.

In practice

Pin versions, use lockfiles and run the same container locally and in CI. The difference between two machines is a list you can write down.

Say to your AI

This passes locally and fails in CI. List every environmental difference that could explain it, and how to check each one.

In plain words

  • it works locally but not in production
  • fails in CI but passes for me
  • can't reproduce on my laptop
  • different results on different computers

See also heisenbug single point of failure

Find similar words