Skip to content

Validate webhook acknowledgments and document reliability semantics - #1

Merged
grantmaye merged 1 commit into
mainfrom
polish/delivery-acknowledgments-and-manuals
Oct 7, 2026
Merged

grantmaye merged 1 commit into
mainfrom
polish/delivery-acknowledgments-and-manuals

Conversation

@grantmaye

Copy link
Copy Markdown
Owner

The Python sender previously declared any 2xx response successful, even if it was an empty proxy response or acknowledged a different event. Require the receiver's event-specific 202/new or 200/duplicate acknowledgment. Retry ambiguous successes with unchanged event bytes within the existing budget, reporting invalid_acknowledgment when exhausted.

Add regressions for malformed/mismatched acknowledgments, duplicate recovery after an unknown outcome, and a real SQLite insertion failure followed by safe retry. Configure SQLite lock waiting before journal initialization. Add substantive technical/product manuals covering the wire contract, exact retry semantics, schemas, failure labs, extension solutions, and a hypothetical product narrative; preserve the README introduction.

Validation: 4 Node receiver tests, 10 Python sender tests (Python 3.11 locally), the real Python→Node→SQLite demo (7 validated attempts, exactly 2 saved events), and 22 local documentation links passed. CI additionally runs Python 3.12. No third-party runtime packages, frontend/build, or deployment configuration exists; no recorded deployments were found.

@grantmaye
grantmaye merged commit 26c98cf into main Oct 7, 2026
2 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.

1 participant