After deleting metadata from org remove metadata from org metadata list.
When I delete metadata from the org after I go back in I have to refresh the connection details to remove the metadata from the comparison (it shows up as still existing on org).
Is it possible to automatically remove the successfully deleted metadata from the list so we don’t have to refresh?
Comments (4)
-
repo owner -
repo owner While far from the original estimate of “soon”, this has been committed for the next build in the form of a new config option, Update org metadata cache on successful deployment, that, when enabled (disabled by default), automatically refreshes IC2’s local org metadata cache for the specific metadata types included in the most recent successful deployment (including destructive changes):
With this option enabled, the only time you should need to update the org metadata cache explicitly is when there are changes in the org that weren’t initiated by IC2 via a deployment.
While it’ll be disabled by default initially, I’m thinking that I may well make it enabled by default in fairly short order. I’d like to get some burn-in time for a bit first with it as opt-in before doing that, though.
-
repo owner - changed status to resolved
Delivered in 2.3.0.8. Note that the option to keep the org metadata cache current on deployment is disabled by default at present.
-
repo owner - changed component to Metadata Deployment/Retrieval/Removal
- Log in to comment
This is actually part of a larger initiative I'm planning to tackle soon, effectively to update the cached list of org metadata automatically upon successful deployment of any sort including destructive changes deployment. I'll keep this around to track that more general work.