fix(detection): crawl websites to find Dutchie menus and retry missing platform IDs

This commit is contained in:
Kelly
2025-12-03 22:16:31 -07:00
parent 33e12de3f2
commit 129d318314
2 changed files with 61 additions and 8 deletions

View File

@@ -136,6 +136,9 @@
20) **Never delete or overwrite historical data**
- Do not delete products/snapshots or overwrite historical records. Always append snapshots for changes (price/stock/qty), and mark missing_from_feed instead of removing records. Historical data must remain intact for analytics.
21) **Deployment via CI/CD only**
- Test locally, commit clean changes, and let CI/CD build and deploy to Kubernetes at code.cannabrands.app. Do NOT manually build/push images or tweak prod pods. Deploy backend first, smoke-test APIs, then frontend; roll back via CI/CD if needed.
18) **Per-location cName and platform_dispensary_id resolution**
- For each dispensary, menu_url and cName must be valid for that exact location; no hardcoded defaults and no sharing platform_dispensary_id across locations.
- Derive cName from menu_url per store: `/embedded-menu/<cName>` or `/dispensary/<cName>`.