Problem: If the node is stopped while importdescriptors is rescanning, the call still returns success for descriptors whose history was not scanned. The wallet's best block is already at the tip, so nothing rescans on the next start, and the transactions stay missing until a manual rescanblockchain.
Fix: Treat a rescan that shutdown cut short like one stopped with abortrescan: the import fails with the existing "Rescan aborted by user." error. In both cases the descriptors stay in the wallet.