Remove the CMake nlohmann module, use vcpkg to get that dependency, and remove alternative boolean token usage#1054
Conversation
…ady just like we do with libcurl
|
I see green for Windows legs, so, it looks like this was it. hahaha,, MSVC being MSVC! LoL. |
|
The question remains why did using vcpkg and updating the JSON library uncover this MSVC issue? What is unique about version |
For how it looks, the json library added some CMake code to make the build vulnerable to this. Something like changing a compile flag. I will try to see what changed. |
|
@ahsonkhan , @vhvb1989 I don't think it's due to vcpkg dependency, it is timing coincidence. I had it repro on my machine as well. Some CI/CD VMs picked up the change, some didn't, this is why we saw it occasionally. |
I checked the MSVC version from the failed and passed CI gates and it is the same. |
It reproduces quite consistently in CI as soon as you upgrade the dependency to 3.9.1 which makes me think it doesn't have anything to do with a timing issue.
Yep, that's what it looks like to me. Now, why is the version bump causing CI failures because of the use of |
|
Root cause found to be nlohmann/json#2089 and nlohmann/json@8d29523 Closing this. |
Merging #1042 and #1053 in an effort to isolate the root cause of the recent CI failure.