Will a custom OpenCart extension keep working after an upgrade?
A custom OpenCart extension is far more likely to keep working after an upgrade when it avoids core-file edits, follows a clean structure, has documentation, and is tested on staging before the live store changes.
No upgrade should be treated as automatically safe. Compatibility checks are needed for the theme, events, OCMOD/VQMOD, payments, courier integrations, and custom code.