When one speaks about Right to Repair, one needs to consider also ability to test the software to verify that nothing else was broken.
This means access to the software testing suite used by the software provider.
Unfortunately, the software testing suite is not considered by the various GPL licenses to be part of the source code, even though it would help safely modifying the software in question.
An example: Oracle keeps control over Java by not making its Java certification test suite publicly available.