This message was deleted.
# atlantis-community
s
This message was deleted.
p
in which version was this working for you with the same config?
if you just upgraded without touching anything it could be a bug in the new version
a
@PePe Amengual - I actually managed to track down the issue late last night. It seems like it may have just been awkward timing that I ran into this issue. But to answer your question yes nothing changed in the config. It actually turns out that It almost seems like a race condition. I built a custom version of
atlantis
with some extra debugging around the
GetModifiedFiles
function for Gitlab. It seems that it’s actually getting an empty slice of changes from Gitlab when it queries it immediately after the web-hook is triggered, all the other fields are in place but
Changes:[]
is empty. Which makes no sense because when I hit the exact same API call I see a list of changes. Just to prove this out in a brute force method I put a sleep inside the function to ensure Gitlab had fully updated everything before we ask for the changes, it has worked every single time after about 2 dozen tests.
It should also be mentioned that the Gitlab API you are currently calling has been deprecated.
p
do you think you could create an issue with that information?
that way in case someone have time to update the api to solve the issue, they will have the information to do it
slack messages are not permanent (we are on a free version)
a
Yep no problem.
Just talking with Gitlab about this, It seems like a bug - But either way I will create an issue today
p
a bug in gitlab or Atlantis or both?
a
I would say Gitlab, but it could also be corrected/checked on the Atlantis side. Once I get a valid response back from Gitlab I will include it in the Atlantis Gitlab issue.
p
thanks a lot