Comparing Local and Server Metadata States popup?

10 views
Skip to first unread message

David Cheng

unread,
Mar 7, 2025, 8:39:41 AMMar 7
to Illuminated Cloud Q&A
I recently got a new Mac laptop and installed Intellij and Illuminated Cloud on it, then imported my settings from my old machine.

I've noticed on one particular project that whenever I deploy Apex to the sandbox, I get this popup window that can last 10-15 seconds:

Comparing Local and Server Metadata States
Retrieving metadata modification information

However, on a different project I don't get this popup window, it just does the usual deployment.

Any suggestions as to what causes this delaying popup?  I'm using Intellij Community 2024.3.4 with the latest Illuminated Cloud.  I'm running OS X 14.7 on an M3 chip.

Scott

unread,
Mar 7, 2025, 8:45:26 AMMar 7
to Illuminated Cloud Q&A, david...@idealistconsulting.com

Hi. That dialog is shown when IC is using the Metadata API to list metadata in the org so that it knows the last modified dates and such for comparison. For this purpose, it can’t use the cached version of that metadata because it’s imperative that the latest last modified timestamps are used for accurate comparisons. If you’re just deploying Apex, it should only have to retrieve the timestamps for that one metadata type which should be very, very quick…definitely not 10-15 seconds.

If you’d like to see where the time is being spent, you can add the following to Help | Diagnostic Tools | Debug Log Settings:

com.illuminatedcloud.intellij.metadata.configCache.FilePropertiesCache com.illuminatedcloud.intellij.builder.ForceComBuilder com.illuminatedcloud.intellij.builder.util.ForceComBuilderUtil com.illuminatedcloud.intellij.util.VariableLengthPollingInterval com.illuminatedcloud.intellij.sfdx.command.SfCommandExecutor com.illuminatedcloud.intellij.sfdx.settings.application.IlluminatedCloudSfdxCache com.illuminatedcloud.intellij.sfdx.util.SfdxUtil com.illuminatedcloud.intellij.util.CommandLineUtil

Then reproduce the behavior and it should show details in the resulting idea.log file. I’m happy to review that file if you’d like. Just send it over via email and I’ll let you know what I see.

Regards,
Scott Wells

Reply all
Reply to author
Forward
0 new messages