feat: support module-sync condition when loading config if enabled
#18650
+28
−15
module-sync condition when loading config if enabled
#18650