The webhooks project becomes the notifications project, with no change in behaviour #150

Open
opened 2026-10-31 12:42:15 -04:00 by claude · 0 comments
Owner
  • Draft: PN-13
  • Priority: high (every later #149 child edits these files; renaming first keeps their diffs small)
  • Agent: mechanic
  • Depends on: none
  • Decisions: Q-PN-7

Why

Under the unified model the project delivers e-mail too, so Ninlil.Dns.Server.Webhooks would mislead readers. The rename is mechanical and has no schema impact, so it goes first and alone.

What changes

  • Rename src/dotnet/src/Ninlil.Dns.Server.Webhooks to src/dotnet/src/Ninlil.Dns.Server.Notifications (folder, .csproj, package id, root namespace) and src/dotnet/tests/Ninlil.Dns.Server.Webhooks.Tests to src/dotnet/tests/Ninlil.Dns.Server.Notifications.Tests. Update Ninlil.slnx, every ProjectReference, Program.cs:88,584, ManagedServiceRegistry.cs:26 and the comment at Ninlil.Dns.Server.QueryLog.csproj:9.
  • Rename types: WebhookEventCatalog to NotificationEventCatalog, ServiceCollectionWebhooksExtension.AddNinlilDnsServerWebhooks to ServiceCollectionNotificationsExtension.AddNinlilDnsServerNotifications, WebhookDeliverySubscriber<TEvent> to NotificationDeliverySubscriber<TEvent>, WebhookDeliveryRetrySweepService to NotificationDeliveryRetrySweepService. Fix every <see cref> and comment that names them.
  • Not renamed here: storage entities, repositories and permission strings (#151), WebhookDeliveryOptions, its section, the settings route, the managed-service id and the health component (#152), WebhookDeliveryService (#154), and the api/webhooks routes (removed in #156).

Acceptance

  • dotnet build Ninlil.slnx -p:NinlilSkipAngularBuild=true reports 0 warnings; no test changes other than names.
  • grep -r "Ninlil.Dns.Server.Webhooks" src/ .forgejo/ src/script/ finds nothing outside bin/ and obj/.
  • Gate: dotnet test src/dotnet/tests/Ninlil.Dns.Server.Notifications.Tests, dotnet test src/dotnet/tests/Ninlil.Web.Tests.

Source

Owner decision 2026-10-31: Q-PN-7 (unified channels).

- **Draft:** PN-13 - **Priority:** high (every later #149 child edits these files; renaming first keeps their diffs small) - **Agent:** mechanic - **Depends on:** none - **Decisions:** Q-PN-7 ### Why Under the unified model the project delivers e-mail too, so `Ninlil.Dns.Server.Webhooks` would mislead readers. The rename is mechanical and has no schema impact, so it goes first and alone. ### What changes - Rename `src/dotnet/src/Ninlil.Dns.Server.Webhooks` to `src/dotnet/src/Ninlil.Dns.Server.Notifications` (folder, `.csproj`, package id, root namespace) and `src/dotnet/tests/Ninlil.Dns.Server.Webhooks.Tests` to `src/dotnet/tests/Ninlil.Dns.Server.Notifications.Tests`. Update `Ninlil.slnx`, every `ProjectReference`, `Program.cs:88,584`, `ManagedServiceRegistry.cs:26` and the comment at `Ninlil.Dns.Server.QueryLog.csproj:9`. - Rename types: `WebhookEventCatalog` to `NotificationEventCatalog`, `ServiceCollectionWebhooksExtension.AddNinlilDnsServerWebhooks` to `ServiceCollectionNotificationsExtension.AddNinlilDnsServerNotifications`, `WebhookDeliverySubscriber<TEvent>` to `NotificationDeliverySubscriber<TEvent>`, `WebhookDeliveryRetrySweepService` to `NotificationDeliveryRetrySweepService`. Fix every `<see cref>` and comment that names them. - Not renamed here: storage entities, repositories and permission strings (#151), `WebhookDeliveryOptions`, its section, the settings route, the managed-service id and the health component (#152), `WebhookDeliveryService` (#154), and the `api/webhooks` routes (removed in #156). ### Acceptance - [ ] `dotnet build Ninlil.slnx -p:NinlilSkipAngularBuild=true` reports 0 warnings; no test changes other than names. - [ ] `grep -r "Ninlil.Dns.Server.Webhooks" src/ .forgejo/ src/script/` finds nothing outside `bin/` and `obj/`. - [ ] Gate: `dotnet test src/dotnet/tests/Ninlil.Dns.Server.Notifications.Tests`, `dotnet test src/dotnet/tests/Ninlil.Web.Tests`. ### Source Owner decision 2026-10-31: Q-PN-7 (unified channels).
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
lantea-one/ninlil#150
No description provided.