Self-upgrade does not enforce SemVer major version constraints and crashes on invalid version strings
Self-upgrade does not enforce SemVer major version constraints and crashes on invalid version strings: a task in LegoFlow-SWE (Harbor dataset). The self-upgrade mechanism currently allows major version upgrades, which can introduce breaking changes. Additionally, providing an empty or unparseable…
The task
The self-upgrade mechanism currently allows major version upgrades, which can introduce breaking changes. Additionally, providing an empty or unparseable version string as the target version causes the application to panic or behave unexpectedly.
Part of Lego-X/LegoFlow-SWE.