You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(temporal): update for three-server architecture (webhook server split out)
Webhook ingress is now a separate server (`sync-service webhook`) rather than
a route on the service API. Update all diagrams and prose to reflect:
- Three servers: Webhook Server (public), Sync Service (internal), Engine API
- Architecture overview shows WHRoute in its own subgraph
- Webhook event flow diagram adds the Webhook Server participant
- Running Locally adds Terminal 4 for `sync-service webhook --port 4030`
- "Why two servers?" → "Why three servers?" table with Exposure row
- Files table includes webhook-app.ts
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Committed-By-Agent: claude
When Temporal is enabled, sync lifecycle is managed by durable workflows instead of running in-process. The workflow orchestrates setup, continuous reconciliation, live event processing, and teardown.
|**Exposure**| Public (Stripe POSTs here) | Internal | Internal |
214
+
215
+
The webhook server requires only a Temporal client and the config store (read-only) to fan out signals. It never touches credentials or runs connectors.
206
216
207
217
### Why activities resolve each time?
208
218
@@ -261,17 +271,20 @@ temporal server start-dev
261
271
# Terminal 2: Sync engine (stateless execution)
262
272
sync-engine serve --port 4010
263
273
264
-
# Terminal 3: Sync service (config CRUD + Temporal)
0 commit comments