Skip to content

Add a durable flow for signed GitHub issue deliveries - #37

Open
R4ph-t wants to merge 1 commit into
mainfrom
rt/workflow-how-to/webhook-processing
Open

R4ph-t wants to merge 1 commit into
mainfrom
rt/workflow-how-to/webhook-processing

Conversation

@R4ph-t

@R4ph-t R4ph-t commented Dec 1, 2026

Copy link
Copy Markdown
Member

Add a Postgres-free alternative to the existing GitHub webhook example. The FastAPI receiver verifies the signature and starts an issue-summary flow with the GitHub delivery ID as its idempotency key. The flow checkpoints the processing timestamp so a replay preserves it.

The replay test stops a worker after saving its checkpoint and verifies that a fresh SDK context returns the original timestamp. A local HTTP fixture also confirmed that duplicate submissions send the same key and issue fields, a bad signature returns 401, and a failed submission returns 503. Hosted behavior still needs validation.

cd webhook-processing
python -m unittest tests.test_issue_flow

@R4ph-t
R4ph-t marked this pull request as ready for review December 1, 2026 14:26
@R4ph-t
R4ph-t requested a review from a team December 1, 2026 14:26

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant