orbitalci / orbital

Orbital is a self-hosted CI system for solo/small consulting dev teams. Written in Rust.
GNU General Public License v3.0
29 stars 2 forks source link

Build job status update for every occurance of hash id #224

Closed tjtelan closed 4 years ago

tjtelan commented 5 years ago

Title is a mouthful, so this is the situation.

For whatever reason, if your build is forced to stop running, and you try to re-run the build on the hash id (by forcing validation by deleting the build hash reference in Consul), subsequent builds will update the status for every row in build_summary that has the same hash.

We want to make these updates on single rows. So, by the build hash + the build id.