-
Notifications
You must be signed in to change notification settings - Fork 326
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
ensoup
launcher upgrade mechanism (#11833)
- Closes #11821 by updating the upgrade logic to the new executable name - Re-enables the long disabled `UpgradeSpec` to make sure this remains tested. - If the tests were enabled we would have caught the regression in #10535 - The tests have been heavily outdated due to being disabled, many small details changed and had to be amended. - The tests are still marked as Flaky - they were known to be problematic on CI so their failures will not stop CI for now. But at least they are run and we can see if they succeed or not. Plus when running tests locally they will fail (as all tests marked as Flaky - the failure is only ignored on CI). - Fixes another issue with an infinite cycle when no upgrade path can be found and adds a test for this case. - If running a development build, the minimum version check can be ignored, as the check does not really make sense for `0.0.0-dev` build. - Thus it closes #11831 also. - Makes sure that `GithubAPI` caches the list of releases as fetching it can take time.
- Loading branch information
Showing
39 changed files
with
429 additions
and
187 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...99.0-marked-broken/launcher-manifest.yaml → ...auncher/enso-1.0.1/launcher-manifest.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
minimum-version-for-upgrade: 0.0.2 | ||
minimum-version-for-upgrade: 1.0.0 | ||
files-to-copy: [] | ||
directories-to-copy: [] |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...auncher/enso-0.0.1/launcher-manifest.yaml → ...auncher/enso-1.0.2/launcher-manifest.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...auncher/enso-0.0.2/launcher-manifest.yaml → ...auncher/enso-1.0.3/launcher-manifest.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
minimum-version-for-upgrade: 0.0.1 | ||
minimum-version-for-upgrade: 1.0.2 | ||
files-to-copy: [] | ||
directories-to-copy: [] |
2 changes: 1 addition & 1 deletion
2
...auncher/enso-0.0.3/launcher-manifest.yaml → ...auncher/enso-1.0.4/launcher-manifest.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
minimum-version-for-upgrade: 0.0.2 | ||
minimum-version-for-upgrade: 1.0.2 | ||
files-to-copy: [] | ||
directories-to-copy: [] |
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...auncher/enso-0.0.4/launcher-manifest.yaml → ...her/enso-99.9999.0/launcher-manifest.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
minimum-version-for-upgrade: 0.0.2 | ||
minimum-version-for-upgrade: 0.0.0 | ||
files-to-copy: [] | ||
directories-to-copy: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.