fix: gateway smoke tests use wrong URL and fail CI when gateway is down #17
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The Hero Ledger gateway moved from
http://ledger.dev.projectmycelium.com:9090tohttps://ledger.dev.projectmycelium.com(port 443). CI runs #48 and #49 both fail because the old port 9090 is no longer open.Additionally, the gateway is an external service — when it goes down temporarily, CI should warn but not fail on unrelated code changes.
Fix
http://:9090tohttps://in both workflow files and the smoke test script defaultgateway-smoke-test.sh: if the gateway is unreachable, print a visible WARNING and exit 0 (skip). If reachable, run all tests and fail hard on any failure.