We currently use hard-coded names for builder binaries and project binaries we compile. This has some downsides:
- If a user calls our builder multiple times in the same workflow, they will need to make the build sequential or it will likely fail. (I've seen one user do this already)
- If user uses multiple builder calls in the same workflow, the workflow will race to download the binary and it could be corrupt and the run will fail
- If the generated binary is the same as a file in the repo, it could overwrite it. (not sure if this could lead to problems or not)
So I propose randomizing the names of the generated binaries. Anyone OK with that?
I will add an e2e tests as well.
We currently use hard-coded names for builder binaries and project binaries we compile. This has some downsides:
So I propose randomizing the names of the generated binaries. Anyone OK with that?
I will add an e2e tests as well.