News for hackers. Stuff that matters.
Re:GitHub Actions Are a Problem by stylepoints on Sunday November 12, 2023 @10:54AM (#38241232)
I searched for "github actions random exit codes" and didn't find anything.
Re:GitHub Actions Are a Problem by edgyquant on Sunday November 12, 2023 @11:28AM (#38241597)
Cool story. He was speaking about the source code and literally provided a link to the issue in question
Re:GitHub Actions Are a Problem by cma on Sunday November 12, 2023 @11:36AM (#38241676)
I think he means his link, searching the text doesn't show "exit code," though maybe it is worded differently.
Re:GitHub Actions Are a Problem by asmor on Sunday November 12, 2023 @03:21PM (#38243748)
she did not, the exit code story is a different thing, though one I told on HN before. basically i spent half a year or so with writing infra and autoscaling for action runners on GCP, and there's absolutely nothing there i'm proud of. the pieces just didn't fit together. and weirdly enough, the majority of the blame isn't even with GCP and their broken image snappotting, slow provisioning times and asinine API design.
Re:GitHub Actions Are a Problem by trevwilson on Sunday November 12, 2023 @12:08PM (#38242021)
The linked issue is not about random exit codes though? And also doesn't really seem to support his assertion that the maintainers don't know how it works, but I'll admit I'm not very familiar with GitHub Actions.
Re:GitHub Actions Are a Problem by asmor on Sunday November 12, 2023 @03:16PM (#38243706)
Personal experience building infrastructure and an autoscaler for these things (which performed horribly due to API lag) while having weekly meetings with our GitHub rep to get the --ephemeral flag in (took about a year longer than promised). Sometimes the exit code would be 0 when using `--once`, and sometimes it would not be. Sometimes it'd also be 0 if the token somehow didn't work and the worker couldn't even register no matter how often you restarted it (of course with a cryptic Azure IAM error code). Either way, we eventually just decided that throwing away the machine if the runner exists for any reason was safest.