Skip to content

Initial code: signed, retried webhook delivery - #1

Merged
unknovs merged 1 commit into
mainfrom
develop
Sep 6, 2026
Merged

unknovs merged 1 commit into
mainfrom
develop

Conversation

@unknovs

@unknovs unknovs commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

— the receiver-facing contract, a Store seam, an in-process Dispatcher and Worker, Verify for receivers

One signed POST per event (t=…,v1=… HMAC-SHA256 over t.body, two v1 values during a secret rotation; event-type and delivery-id headers, names configurable). 2xx delivered; 429, 5xx or no answer retried after 1m, 5m, 30m, 2h, 8h, 24h with jitter, then dead-lettered; any other 4xx dropped. At least once. Store interface with an in-memory implementation, sql/ carries the reference table shape. Tests include a fuzz target on the header parser and an end-to-end worker run on an injected clock.

…contract, a Store seam, an in-process Dispatcher and Worker, Verify for receivers

One signed POST per event (t=…,v1=… HMAC-SHA256 over t.body, two v1 values during a secret rotation; event-type and delivery-id headers, names configurable). 2xx delivered; 429, 5xx or no answer retried after 1m, 5m, 30m, 2h, 8h, 24h with jitter, then dead-lettered; any other 4xx dropped. At least once. Store interface with an in-memory implementation, sql/ carries the reference table shape. Tests include a fuzz target on the header parser and an end-to-end worker run on an injected clock.

Signed-off-by: GatisB <l22exc@gmail.com>
@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@unknovs
unknovs merged commit 9567c10 into main Sep 6, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants