Concurrent deployment builds can trigger OAuth errors leading to repository connection being disconnected #97
Unanswered
jamesmacwhite
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
A workaround is ensuring each Craft Cloud project is pointing to a separate branch. We had two environments using There might still be a way to trigger this, but with enough gap between a deployment between multiple environments it should mitigate it. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This has been a problem for a bit of time now, but there is a race condition with deployments that if you have concurrent builds occur, it is possible to cause invalidation on the OAuth token due to multiple API calls within a certain window triggering one API request to be valid but then causing further API calls to be invalid which then drops the repository connection entirely.
#96 potentially identifies a blindspot regarding this issue, although ideally the general bug should be addressed. Even if disabling concurrent builds is a solution that is better than the current situation.
Beta Was this translation helpful? Give feedback.
All reactions