rdev/internal/adapter/notify
jordan c54664b751
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
feat: add POST /projects/{id}/notify/provision to repair Resend domain
Repairs projects where notify account was created but Resend domain
provisioning (steps 7-9) failed — e.g., RESEND_API_KEY not yet
configured at project creation time.

- ProvisionNotifyDomain in port.NotifyProvisioner interface
- Provisioner.ProvisionNotifyDomain: creates Resend domain for existing
  notify host, upserts DKIM/SPF DNS records in Cloudflare, kicks off
  async verification via verifyWithRetry
- POST /projects/{id}/notify/provision handler:
  - reads NOTIFY_HOST from credential store (fails if not set)
  - rejects if NOTIFY_RESEND_DOMAIN_ID already present (use /verify)
  - stores returned domain ID as NOTIFY_RESEND_DOMAIN_ID credential

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-23 17:52:03 -07:00
..
admin_client.go feat: implement project access enforcement and management API 2026-02-21 15:38:37 -07:00
provisioner_test.go feat: improve notify domain verification reliability and add status endpoints 2026-02-23 16:25:55 -07:00
provisioner.go feat: add POST /projects/{id}/notify/provision to repair Resend domain 2026-02-23 17:52:03 -07:00
resend_client.go feat: improve notify domain verification reliability and add status endpoints 2026-02-23 16:25:55 -07:00