If an expect fails with roc dev, we should return exit code 1 right? Currently it's 0
hm, I'm actually not sure - I could see arguments either way :thinking:
on the one hand I could see the exit code being something that's an important part of the semantic of the program we're running, so we shouldn't mess with it
on the other hand, I can see wanting to be able to run a script which involves running the program in a way that returns a nonzero exit code if an expect fails
Valid arguments, the main thing I have in mind is that failures should not go unnoticed
I'd be worried about people accidentally using roc dev in CI and thinking everything succeeded
We should not pick
We should leave it to the platform to pick
We just haven't wired that through yet
Anyway, I am definitely in the boat that it shouldn't be zero
Last updated: Jun 16 2026 at 16:19 UTC