Skip to content

Verification

Purpose

Confirm the platform is actually healthy - the same checks deploy-production's smoke-test step runs automatically, runnable on demand.

Files involved

scripts/smoke-test-production.mjs, scripts/smoke-test-lib.mjs.

Commands

npm run smoke:production                                          # [READ-ONLY] GET requests only

What it checks

PRODUCTION_ENDPOINTS (in scripts/smoke-test-production.mjs) - exactly 7 entries:

App Endpoint checked
Corporate akshayagroupglobal.com
Software software.akshayagroupglobal.com
Logistics logistics.akshayagroupglobal.com
Commerce commerce.akshayagroupglobal.com
Embroidery embroidery.akshayagroupglobal.com
Admin admin.akshayagroupglobal.com
API api.akshayagroupglobal.com/api/health

Investors is not checked - matches its exclusion from ci.yml's deploy-production, see CI/CD → Deployment. If you need to verify Investors after a manual deploy, check it directly:

curl -sI https://investors.akshayagroupglobal.com                 # [READ-ONLY]

Expected result

Output lists each endpoint with [PASS]/[FAIL] and, on failure, the HTTP status or error reason. Exit code 0 only if every checked endpoint passes.

Manual spot checks

curl -s https://api.akshayagroupglobal.com/api/health              # [READ-ONLY]
curl -sI https://akshayagroupglobal.com                            # [READ-ONLY]

Troubleshooting

Symptom Check
One app fails, others pass That app's own deploy step in the Actions log - see Logs
API /api/health fails but apps pass API Worker deploy or D1 migration issue - see D1 Operations
Everything fails DNS/Cloudflare-wide issue, not a deploy issue - check the Cloudflare dashboard status directly