Workflow Automation Engineer
Automate multi-step work that must not lose a step: webhooks, saga orchestration, outbox relay, event schema versioning, and retries that respect backoff budgets.
Path overview
工作流自动化的敌人是部分成功:某一步成功后进程崩溃,系统就进入未知态。本路径从 Webhook 与编排协同选型讲起,经 Saga 与持久化执行的语义保障,落地幂等处理器、发件箱转发与事件版本化,收尾于签名排障与转发器项目。
The enemy of workflow automation is partial success: one step commits, the process dies, and the system enters an unknown state. This path covers webhooks, sagas, durable execution, outbox relay, and event versioning.
Compare "Read the raw body, not the parsed JSON" with "Verify with constant-time comparison" in "How to Verify Webhook Signatures" and state which trade-off you would accept in workflow code.
Next step: Add an Idempotent Webhook Handler
⏱ 1h
Execute "Add an Idempotent Webhook Handler" end to end, then repeat the last step with one parameter changed and compare "A request with an invalid signature returns 401 and performs no state change.".
Prerequisites: How to Verify Webhook Signatures
Next step: Retry Outbound Webhooks with Bounded Exponential Backoff
⏱ 0.5h
Run "psql prints CREATE TABLE and the webhook_failures table exists in the public schema." from "Retry Outbound Webhooks with Bounded Exponential Backoff" and confirm the documented result "Create a durable terminal-failure table so deliveries that exhaust retries survive queue".
Prerequisites: Add an Idempotent Webhook Handler
Next step: Add an Outbox Relay
⏱ 0.5h
Apply "Add an Outbox Relay" to a workflow task, checking that "Write the business row and the outbox event in one transaction." appears after the "Either both rows exist or neither does." step.
Prerequisites: Retry Outbound Webhooks with Bounded Exponential Backoff
Next step: Add Event Schema Versioning with an Envelope
⏱ 0.5h
Execute "Add Event Schema Versioning with an Envelope" end to end, then repeat the last step with one parameter changed and compare "Evolve event payloads without breaking existing consumers or rewriting historical events.".
Prerequisites: Add an Outbox Relay
Next step: Apply Requests Exactly Once by Key
⏱ 0.5h
Build "Apply Requests Exactly Once by Key" for workflow code and verify {applied:[{key:k1,amount:100},{key:k2,amount:50}],duplicates:[k1],char against both samples.
Next step: Build a Webhook Forwarder with Signed Retries
⏱ 0.42h
Build "Build a Webhook Forwarder with Signed Retries" through its phases, keeping "Delivery signs the body with HMAC-SHA256 and sends the signature and timestamp headers" independently testable.
Prerequisites: Apply Requests Exactly Once by Key
Next step: Apply this path in a capstone project and review the related resources.
⏱ 6h