Since a few weeks platformio seems to recompile all files when building our ESP32 project, including all libs and even the Arduino Framework files, after only making a small change. Also after running a succesfull build, and immediattely after that running an upload, it again compiles all sourcefiles, whcih takes several minutes.
In these cases there are no changes to platformio.ini