ipm icon indicating copy to clipboard operation
ipm copied to clipboard

uninstall -f -all does not seem to do it in an intelligent order

Open SCanzano opened this issue 1 year ago • 1 comments

when performing

uninstall -f -all it does not seem like they are being installed in an intelligent order especially as it pertains to module dependencies.

We have module A which is our bootstrap that all ofther modules depend on. If we uninstall module H it will uninstall module A before doing B,C,D etc.

Some of our classes in B thru H implement ClassProjections and as part of deleting the classes in module B thru H it calls %RemoveProject but %RemoveProject was part of module A.

SCanzano avatar Oct 15 '24 20:10 SCanzano

I have also experienced this issue multiple times. Likely a bug in the way in which all dependency graphs are merged together or processing of it to determine the correct order in which to uninstall

isc-kiyer avatar Oct 16 '24 15:10 isc-kiyer

Discussed with @SCanzano today - this fits with the other uninstall fixes in v0.10.3

isc-tleavitt avatar May 29 '25 20:05 isc-tleavitt

@SCanzano do you have details on the topology or other factors that cause this? I've tried creating a series of test modules that rely in a single module A but uninstall -f -all is able to correctly determine the ordering.

isc-dchui avatar Sep 25 '25 15:09 isc-dchui

uninstall -all has changed its internal workings as of 0.10.4 so this should hopefully be fixed.

isc-dchui avatar Oct 30 '25 17:10 isc-dchui