fix: gateway smoke tests use wrong URL and fail CI when gateway is down #17

Closed
opened 2026-02-27 21:03:26 +00:00 by mik-tf · 0 comments
Member

Problem

The Hero Ledger gateway moved from http://ledger.dev.projectmycelium.com:9090 to https://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

  1. Update gateway URL from http://:9090 to https:// in both workflow files and the smoke test script default
  2. Add reachability guard to gateway-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.
## Problem The Hero Ledger gateway moved from `http://ledger.dev.projectmycelium.com:9090` to `https://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 1. Update gateway URL from `http://:9090` to `https://` in both workflow files and the smoke test script default 2. Add reachability guard to `gateway-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.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
mycelium/www_migrate_mycelium#17
No description provided.