Note that regular 'pack' formats work around this by not regenerating the text index (as near as I can tell).
It requests an 'ideal_index', and then iterates over the texts already present in the repo. For anything in the currently-present texts that aren't in the ideal index, it just skips them. But it doesn't do any sort of check about whether there are nodes in the ideal_index that are not present in the local one.
Note that we could do that here (just read existing text index directly, and assume it is properly filtered), but that seems less ideal that actually generating the correct set of texts that we want to have present in the reconciled inventory.
Note that regular 'pack' formats work around this by not regenerating the text index (as near as I can tell).
It requests an 'ideal_index', and then iterates over the texts already present in the repo. For anything in the currently-present texts that aren't in the ideal index, it just skips them. But it doesn't do any sort of check about whether there are nodes in the ideal_index that are not present in the local one.
Note that we could do that here (just read existing text index directly, and assume it is properly filtered), but that seems less ideal that actually generating the correct set of texts that we want to have present in the reconciled inventory.