Welcome to the community
STS version generally can be little unstable and might get frequent updates or changes. Try using LTS version and check if the issue persists
also can you specify what compatibility it is and are there any coded workflows or only low code?
also is this happening with all packages or any limited packages only…As specifically performance testing modules show errors so if testing modules are not used try to remove the package and the related files from the folders and then try to publish
cheers