feat(integrations): push Resend domain and email events by webhook
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 22/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- nextjs, react, typescript
- Área
- api, backend, documentation
Línea de trabajo
Start with the existing provider adapter in src/lib/adapters/resend/ and the webhook-ingest contract from #28, since the create/verify/dedupe steps must fit the pattern already established there; the setup panel from #426 supplies the by-hand path. Read docs/providers/resend.md for the documented event names and Svix header scheme, and confirm the open question about whether POST /webhooks returns the signing secret before writing the automatic path. Done looks like the acceptance criteria met: unit tests over recorded sanitized payloads, both setup paths covered in a Playwright spec against the simulated provider, and the doc section renamed to "Webhooks".
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Context
Decision on #424 (2026-11-14): Resend offers both automatic setup and setup by hand. Automatic setup needs no new access: DevMacro already holds full_access (Resend has no read-only scope), which allows POST /webhooks. It does add a webhook the user can see in their Resend team, which the panel copy in #426 says.
From docs/providers/resend.md, "Webhooks (Post-MVP)":
| Item | Value |
|---|---|
| Create | POST /webhooks with full_access |
| Signing | Svix: svix-id, svix-timestamp, svix-signature (v1,<base64>), verified against the raw body with the per-webhook signing secret. Reject stale timestamps |
| Events for the timeline | domain.updated (the adapter's resend.domain.verified and resend.domain.failed), plus email.bounced, email.complained, and email.failed if they become timeline events |
| Not pushed | Quota and usage. Polling stays |
Plan
- Declare Resend's webhook in the #28 contract: automatic setup with no extra scope, provider-generated signing secret, steps for setup by hand.
- Automatic: create the webhook with DevMacro's URL and the chosen events, store the returned signing secret encrypted, delete the webhook on disconnect.
- By hand: the user adds the URL in Resend's dashboard and pastes Resend's signing secret into the panel.
- Verify with the Svix scheme, deduplicate on
svix-id, map deliveries to the connection by the per-connection URL. - Domain deliveries become the existing event types, so polling and webhooks show one entry.
- Docs:
docs/providers/resend.md(rename the section to "Webhooks", both setup paths).
Acceptance criteria
- Automatic setup creates the webhook and a domain change reaches the timeline within a minute.
- Setup by hand works with a pasted signing secret.
- Disconnect deletes an automatic webhook.
- Unsigned, wrongly signed, stale, or repeated deliveries are rejected or ignored, and logged without their body.
- An event seen by webhook and by polling shows once.
- Unit tests on recorded, sanitized payloads from Resend's documented samples. No live calls in CI.
- Playwright e2e: both setup paths for the simulated Resend provider.
Unverified
- Whether
POST /webhooksreturns the signing secret in its response.
Files and areas
src/lib/adapters/resend/,docs/providers/resend.md.- Non-goals: new scopes, pushing quota (no webhook exists for it).
Verification
npm run lint,npm run typecheck,npm test- Playwright spec for both setup paths.
Depends on
- #28 Ingest provider webhooks
- #426 Webhook setup panel
Branch: <issue-number>-resend-webhooks
Closes with a Closes #<issue-number> footer on the commit or pull request.
Model: anthropic/claude-opus-5-5 | Reasoning effort: unknown
- Lenguaje dominante
- TypeScript
- Estrellas
- 1
- Forks
- 1
- Merge medio
- 6 h 56 min
- PR fusionados (30 d)
- 136
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de eddiejaoude/StackDash
-
area: docs documentation priority: P3 size: S
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
eddiejaoude/StackDash#462 ·
Los mantenedores suelen responder en 1 día
-
area: web bug priority: P3 size: XS
Dificultad 1/5 1-3 horas Aptitud para principiantes 85/100
eddiejaoude/StackDash#432 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
area: database bug priority: P3 size: S
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
eddiejaoude/StackDash#419 ·
Los mantenedores suelen responder en 1 día
-
area: docs bug priority: P2 size: XS
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
eddiejaoude/StackDash#418 ·
Los mantenedores suelen responder en 1 día
-
accessibility area: timeline bug priority: P3 size: XS
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
eddiejaoude/StackDash#389 ·
Los mantenedores suelen responder en 1 día
Todos los issues de eddiejaoude/StackDash
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
open-webui/tether#52 ·
Los mantenedores suelen responder en 1 día
-
`void platform install --app-access public` fails when Cloudflare reports Access is disabledAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
voidzero-dev/void#835 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
AykutSarac/jsoncrack.com#616 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
melgarafael/DeskcommCRM#4679 ·
Los mantenedores suelen responder en 1 día