coursebook icon indicating copy to clipboard operation
coursebook copied to clipboard

Race Condition on Deploying Builds

Open bhuvy2 opened this issue 4 years ago • 0 comments

Describe the bug If two developers merge in their builds at the same time and two travis requests kick off, the resultant PDF/MD builds are entirely dependent on Travis Timing conditions. This means an earlier commit which could take longer to build gets pushed to head. Solution The later commit encapsulates all changes so ideally what happens is the clone happens first with a metadata file. If the time of the latest head commit is older than the time of the deploy commit version, exit the build a success, the changes were pushed out to prod.

bhuvy2 avatar May 23 '20 18:05 bhuvy2