There is a known issue in status update for Magento2 version 2.4.7.x. In this case, Shiptheoryis unable to update the status to the 'order comment'. On our end, we receive an error message from Magento2 store:


Unable to add comment: The status \"%1\" is not part of the order\n status history. 


More information can be found here: https://github.com/magento/magento2/issues/38659


Version 2.4.8 is planned to be released by Adobe on April, 8, 2025, which should contain quality and security fixes. You can find more information about it here: https://experienceleague.adobe.com/en/docs/commerce-operations/release/planning/schedule