When I validate a change set with RunLocalTests in production (as well as using the CLI with that flag for CI/CD and packaging integration) there was a class that was erroring out as a dependency. I've deleted the class from production since it was no longer needed. Using workbench was easy to delete the class. Now I'm still getting the same error with RunLocalTests
Dependent class is invalid and needs recompilation
I think the solution is to use Compile all classes in production but I'm afraid of causing working classes to fail. Would you please let me know what are potential issues if use this method of recompiling all classes in prod?