Uncovered in #15150, we discovered that the local notification that appears after a post is successfully published doesn't launch to the correct section of the app.
ShareNoticeNavigationController.navigateToPostList(with:) is called from InteractiveNotificationsManager, which in turn calls ShareNoticeNavigationController.fetchPost(from:onSuccess:onFailure:). This expects a post ID and a site ID in the user info of the notification, but it appears that we're only including a post ID with the post published notice that we're sending. Because there's no blog ID, the lookup fails.
However, there appears to be another issue – the post ID in the userInfo dictionary is actually the Core Data object ID. So there are two possible fixes:
fetchPost(from:onSuccess:onFailure:) to look up the post using the Core Data object ID that it receivesShareNoticeNavigationController.fetchPost(from:onSuccess:onFailure:)