fix: staging smoke tests fail due to HTTP→HTTPS redirect #16
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 deploy-staging CI workflow uses
http://staging.hub.projectmycelium.comfor the backend health check and smoke tests. However, Caddy on the staging VM redirects HTTP to HTTPS (308 redirect), causingcurlto get an empty response instead of the expected health JSON.This causes the post-deploy smoke tests to fail even though the backend is healthy.
Fix
Change all staging URLs in
deploy-staging.ymlfromhttp://tohttps://.