macOS tar destroys files on Linux: I validated it in my real Railway pipeline and documented the 3 cases nobody mentions

A HN post about tar on macOS made the rounds again this week. The standard answer is "use GNU tar." I went further: I reproduced the 3 scenarios that actually break production in my Railway pipeline and documented the exact fix I use.