chore: fix watchdog upgradability test in CI #256
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Download the latest watchdog canister wasm by traversing releases in reversed order.
In the past, the latest release included files for all related canisters, including the watchdog canister. However, there has been a recent change where releases for the Bitcoin canister are separated from others. As a result, the latest release may not always contain the watchdog canister's wasm file. This change caused the watchdog upgradability test to fail since it only checked the latest release page.
Now, the watchdog upgradability test goes through all releases in reverse order until it finds the watchdog canister wasm, ensuring the test's success.