Zalo Personal Durable Delivery Stack, Outbox Deduplication, and Tenant Isolation
Built a crash-safe webhook spool, recoverable inbox, and outbound outbox for Zalo Personal to guarantee zero dropped or duplicate messages across AI and staff sends, paired with tenant isolation, SSRF guards, proxy credential redaction, and live health kill-switches.
Key changes
- Persistent webhook spool with graceful shutdown drain, claim-first inbox recovery, and outbox deduplication for AI and operator replies
- Strict tenant-scoped identity and authorization checks preventing cross-workspace resends or stale reply replays
- Hardened outbound security: blocks SSRF on remote media downloads, disables unsafe proxy fallback, and redacts credentials
- Added safety kill-switches, dead-letter recovery tooling, end-to-end trace correlation, and scheduled connection health alerts