Repository navigation
Replies: 1 comment
|
Update from production, in case it helps anyone landing here: What is still open, and what this discussion was really about, is whether that plugin is the supported answer: does it sign the payload (HMAC), retry, and expose a delivery log an admin can inspect? Those are the parts each team gets wrong independently, and they are not documented on the package page. Two questions for the maintainers:
Happy to send a docs PR once the answer is known. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Coming from WordPress (agency, multiple client sites), where
publish_post+ a few action hooks feed everything downstream: purging an external CDN/edge cache, pinging a search index, triggering a static rebuild, notifying a newsletter service.Looking at EmDash today: the plugin manifest already exposes the right lifecycle hooks (
content:afterPublish,content:afterUnpublish,content:afterSchedule, etc. inpackages/plugin-types/src/manifest-schema.ts), and a plugin with thenetwork:requestcapability can call out from those hooks. So the mechanism exists — but it means every team migrating from WordPress rebuilds the same "outgoing webhooks" plugin, each getting the hard parts wrong independently: HMAC signing of the payload, retries (and thectx.waitUntilpitfall from #710), per-event endpoint configuration, and a delivery log an admin can inspect.I searched issues and discussions and found the inbound webhook side well covered (#2546, #1981 — raw body for signature verification), and the internal cache-invalidation side tracked in #2042/#2435/#2618. What I couldn't find is the outbound story.
Question: is a first-party "outgoing webhooks" feature (configure URL + events + secret in the admin, signed payloads, bounded retries, delivery log) something you'd consider in scope for core or as an official plugin? Or is the intended answer "each site writes its own plugin on the existing hooks"?
Happy to do the work behind whichever door you point at — starting with a concrete proposal here if the shape is worth having.
All reactions