Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Race Condition on Deploying Builds #177

Open
bhuvy2 opened this issue May 23, 2020 · 0 comments
Open

Race Condition on Deploying Builds #177

bhuvy2 opened this issue May 23, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@bhuvy2
Copy link
Collaborator

bhuvy2 commented May 23, 2020

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 bhuvy2 added the bug Something isn't working label May 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant