fix: invalid heroledger 404 smoke tests fail deploy-staging CI #19

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

Problem

The smoke test script checks that /api/heroledger/account/exists and /api/heroledger/spore/balance return 404. But these were never backend API routes — the Dioxus SPA catch-all serves index.html for any unknown path, so they always return 200.

This causes deploy-staging CI (run #51) to fail on the backend smoke tests step even though the deploy itself succeeded.

Fix

Remove the 2 invalid heroledger 404 tests from scripts/smoke-test.sh.

## Problem The smoke test script checks that `/api/heroledger/account/exists` and `/api/heroledger/spore/balance` return 404. But these were never backend API routes — the Dioxus SPA catch-all serves `index.html` for any unknown path, so they always return 200. This causes deploy-staging CI (run #51) to fail on the backend smoke tests step even though the deploy itself succeeded. ## Fix Remove the 2 invalid heroledger 404 tests from `scripts/smoke-test.sh`.
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#19
No description provided.