What changed my mind about GitHub Actions after one very expensive afternoon.
I'm not going to explain what GitHub Actions is. You probably already know the basics: a YAML file, a few jobs, and hopefully a green checkmark at the end.
What I want to talk about is something that took me a good amount of time to properly understand. Once it clicked, a lot of the strange CI failures I'd been dealing with started making sense. They weren't really scripting problems. They were distributed systems problems.
And that distinction matters more than I expected.
Your CI pipeline is not a script. It's a distributed system.
I mean that literally, not as a comparison.
The mental model that caused most of my problems
When I write a shell script, I usually think about it like this:
input β transform β output
Enter fullscreen mode
Exit fullscreen mode
It's sequential and predictable.β¦