feat: Add Phase 11 analytics and production readiness features
CI / test (push) Successful in 10m56s
CI / test (pull_request) Successful in 11m1s

- Introduced new endpoints for account overview, analytics, and metrics.
- Implemented authorization matrix and backup/restore documentation.
- Added smoke test script and updated package dependencies.
- Created detailed production checklist and runbook for deployment.
- Established cron operations and notification event matrix documentation.
- Enhanced security and validation audits for analytics and metrics services.
- Added unit tests for analytics and metrics functionalities.
This commit is contained in:
Sathira Sri Sathara
2026-09-16 10:59:19 +05:30
parent f920ca8920
commit 5158c52db5
25 changed files with 1677 additions and 2266 deletions
+1
View File
@@ -0,0 +1 @@
const base=(process.env.SMOKE_BASE_URL||"http://127.0.0.1:3070").replace(/\/$/,"");const checks=["/health/live","/health/ready","/api/v1/products?limit=1","/api/v1/help/categories","/api/v1/banners/current"];(async()=>{let failed=0;for(const path of checks){try{const r=await fetch(base+path,{signal:AbortSignal.timeout(10000)});const ok=r.ok||(path==="/health/ready"&&r.status===503);console.log(`${ok?"PASS":"FAIL"} ${path} ${r.status}`);if(!ok)failed++;}catch(e){console.log(`FAIL ${path} ${e.message}`);failed++;}}process.exitCode=failed?1:0;})();