andylamax
09/25/2024, 11:03 AMFAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':kotlinStorePackageLock'.
> Lock file was changed. Run the `kotlinUpgradePackageLock` task to actualize lock file
How do you solve this?? Am I not checking some files into VCS??. I am calling them flaky because the errors do not show when you rerun the workflowPHondogo
09/25/2024, 11:28 AMEdoardo Luppi
09/25/2024, 1:18 PMEdoardo Luppi
09/25/2024, 1:19 PM// May be dangerous for unexpected transitive dependencies
// TODO: understand what is going in with yarn.lock.
// Why is it complaining on Jenkins even tho we have
// committed the changed yarn.lock?
yarn.yarnLockMismatchReport = YarnLockMismatchReport.WARNING
andylamax
09/25/2024, 2:11 PMpackage.lock
(I am no longer using yarn) to throw an error if there are changes in the downloaded dependencies. So, disabling it will defeat the purpose. No???
Question is, why is it failing and then passes (either on 1st or 2nd retry)?Edoardo Luppi
09/25/2024, 2:16 PMandylamax
09/25/2024, 2:26 PMAdam S
09/27/2024, 9:25 AMnpm ci
is more consistent and reproducible than npm install
. Maybe Kotlin/JS should use npm ci
instead?
(I'm a JS dev noob so I'm just thinking out loud, and wonder what you more knowledgable people think.)