Commit Graph

8 Commits

Author SHA1 Message Date
Ruslan Bakiev
ecfc938110 Fix supplier GraphQL query to camelCase 2026-02-04 17:22:45 +07:00
Ruslan Bakiev
e20ec9fa1f Fix supplier sync query and team fallback 2026-02-04 17:09:21 +07:00
Ruslan Bakiev
3d50fdc345 Update sync_offer to also upsert supplier node
When syncing an offer, if supplier_uuid is provided:
- Fetch supplier data from Exchange GraphQL
- Upsert supplier node to ArangoDB with coordinates

This ensures suppliers appear on the map when their offers are synced.
2026-01-23 11:20:34 +07:00
Ruslan Bakiev
799e572e62 Add product_name to offer node in ArangoDB 2026-01-19 10:17:01 +07:00
Ruslan Bakiev
fb9311d0a7 Add supplier_uuid to graph sync pipeline 2026-01-16 10:51:08 +07:00
Ruslan Bakiev
fef863c515 Load Infisical secrets once at worker startup
Move secret loading from per-flow-run (config.py import) to deploy.py.
This prevents Infisical rate limits (429) when many flows run in parallel.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-05 15:15:09 +07:00
Ruslan Bakiev
2795408b5f Replace Prefect polling with signal pattern
- Prefect flows now signal Temporal workflows on completion
- Activity creates flow run and returns immediately
- Workflow waits for prefect_sync_completed signal (max 30 min)
- Added temporalio SDK to Prefect requirements
- Works for both offers and addresses

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-05 13:39:42 +07:00
Ruslan Bakiev
8ccd0c9b66 Add Prefect sync-offer flow 2025-12-30 10:36:29 +07:00