avoid automatic Synchronize Dependencies when merging a feature branch

0
Hi. The  docs say "When a change is made to a specified dependency, for example, the dependency is removed or the module is updated from the Marketplace, dependency synchronization will automatically run in the background."   It's not true. Dependency synchronization also runs whenever you launch Studio Pro or when you merge changes. This may break things at the day of release! How to prevent this synchronization?
asked
1 answers
0

We created the module VersionLock and in its managed dependencies used explicit versions. This "locked" the versions. I managed to downgrade AWS libs in vendorlib/ from 2.29.5 to 2.29.4. Then I changed it back to 2.29.5.

 

image.png

 

software.amazon.awssdk	s3	2.29.5
software.amazon.awssdk.crt	aws-crt	0.33.0
commons-codec	commons-codec	1.17.1
software.amazon.awssdk	aws-xml-protocol	2.29.5
software.amazon.awssdk	aws-query-protocol	2.29.5
software.amazon.awssdk	aws-json-protocol	2.29.5
software.amazon.awssdk	url-connection-client	2.29.5

_

This module duplicates the dependencies of AWS modules from Marketplace, but
declares them with explicit versions as opposed to dynamic versions in the
Marketplace modules. This is to prevent constant upgrades by the "Synchronize
Dependencies" Studio task that runs too often.

 

answered