Skip to content

Conversation

@jcscottiii
Copy link
Collaborator

Updates the Subscriber and DeliveryJob types (and their corresponding Spanner adapters and tests) to include ChannelID. This identifier is needed for the Email Worker to report delivery status (success/failure) back to the NotificationChannelState table.

Changes:

  • Worker Types: Added ChannelID to EmailSubscriber and EmailDeliveryJob.
  • Event Types: Added ChannelID to EmailJobEvent.
  • Spanner Adapter: Updated FindSubscribers to populate ChannelID from the query results.
  • Pub/Sub Adapter: Updated PublishEmailJob to pass the ID through.
  • Email Worker: Initial scaffolding for sender package (interfaces/mocks) that will utilize this ID.

@jcscottiii jcscottiii requested a review from jrobbins December 29, 2025 16:15
@jcscottiii jcscottiii force-pushed the jcscottiii/email-worker-pt1 branch from 4a02bc8 to d4f7e59 Compare December 29, 2025 16:43
@jcscottiii jcscottiii force-pushed the jcscottiii/push-delivery-worker-pt6 branch from 8766775 to 33d59c4 Compare January 14, 2026 02:12
@jcscottiii jcscottiii force-pushed the jcscottiii/email-worker-pt1 branch from d4f7e59 to 64c24fa Compare January 14, 2026 02:14
@jcscottiii jcscottiii force-pushed the jcscottiii/push-delivery-worker-pt6 branch from 33d59c4 to 0e3074e Compare January 14, 2026 03:54
Base automatically changed from jcscottiii/push-delivery-worker-pt6 to main January 14, 2026 04:49
Updates the `Subscriber` and `DeliveryJob` types (and their corresponding
Spanner adapters and tests) to include `ChannelID`. This identifier is
needed for the Email Worker to report delivery status (success/failure)
back to the `NotificationChannelState` table.

Changes:
- **Worker Types**: Added `ChannelID` to `EmailSubscriber` and `EmailDeliveryJob`.
- **Event Types**: Added `ChannelID` to `EmailJobEvent`.
- **Spanner Adapter**: Updated `FindSubscribers` to populate `ChannelID` from
  the query results.
- **Pub/Sub Adapter**: Updated `PublishEmailJob` to pass the ID through.
- **Email Worker**: Initial scaffolding for `sender` package (interfaces/mocks)
  that will utilize this ID.
@jcscottiii jcscottiii force-pushed the jcscottiii/email-worker-pt1 branch from 64c24fa to 91cbac5 Compare January 14, 2026 14:05
@jcscottiii jcscottiii enabled auto-merge January 14, 2026 14:05
@jcscottiii jcscottiii added this pull request to the merge queue Jan 14, 2026
Merged via the queue into main with commit c22e5e3 Jan 14, 2026
8 checks passed
@jcscottiii jcscottiii deleted the jcscottiii/email-worker-pt1 branch January 14, 2026 14:59
@jstenback jstenback mentioned this pull request Jan 15, 2026
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.

2 participants