@@ -35,7 +35,7 @@ export interface EmailSenderSurface {
3535 html ?: string ;
3636 text ?: string ;
3737 /**
38- * Structural mirror of `SendEmailInput.organizationId` (#11741 ) —
38+ * Structural mirror of `SendEmailInput.organizationId` (commit b706af987 ) —
3939 * the tenant stamp for `sys_email.organization_id`, threaded from
4040 * `delivery.notification.organizationId` when the delivery holds
4141 * one. Optional: an org-less delivery sends without it.
@@ -56,7 +56,7 @@ export interface EmailSenderSurface {
5656 to : string | string [ ] ;
5757 data ?: Record < string , unknown > ;
5858 locale ?: string ;
59- /** Same tenant stamp as on `send` (#11741 ) — forwarded by the email service into the send it performs. */
59+ /** Same tenant stamp as on `send` (commit b706af987 ) — forwarded by the email service into the send it performs. */
6060 organizationId ?: string ;
6161 } ) : Promise < { id ?: string ; status ?: string ; error ?: string } | unknown > ;
6262 /**
@@ -81,7 +81,7 @@ export interface EmailChannelOptions {
8181 * Resolve the email service; `undefined` ⇒ there is no transport, which
8282 * {@link MessagingChannel.isAvailable} reports as
8383 * `transport_not_configured` and {@link MessagingChannel.send} REFUSES with
84- * the same reason (#18424 ). ⛔ Not a no-op success: a delivery nothing was
84+ * the same reason (commit 879b51270 ). ⛔ Not a no-op success: a delivery nothing was
8585 * sent for is never reported as delivered.
8686 */
8787 getEmail ( ) : EmailSenderSurface | undefined ;
@@ -112,7 +112,7 @@ export interface EmailChannelOptions {
112112
113113/**
114114 * The ONE token both members of this channel use for "there is no transport"
115- * (#18424 ) — the reason `isAvailable()` already returns, reused verbatim so the
115+ * (commit 879b51270 ) — the reason `isAvailable()` already returns, reused verbatim so the
116116 * refusal `send()` writes onto the delivery row and the suppression fan-out
117117 * records on `sys_notification.suppressed_channels` name the same condition.
118118 *
@@ -160,7 +160,7 @@ const EMAIL_SHAPE = (s: string): boolean => {
160160 * path) use that one resolution. A producer-set `payload.locale` — the
161161 * pre-ruling single value for the whole notification — is no longer consulted.
162162 *
163- * Failure is always REPORTED, never absorbed (#18424 ): no email service ⇒ a
163+ * Failure is always REPORTED, never absorbed (commit 879b51270 ): no email service ⇒ a
164164 * refusal carrying the declared `transport_not_configured` reason, graded
165165 * `permanent` so the row dead-letters on attempt one; a recipient with no
166166 * resolvable address ⇒ a reported failure. Either way the delivery row shows
@@ -273,7 +273,7 @@ export function createEmailChannel(opts: EmailChannelOptions): MessagingChannel
273273 async send ( ctx : MessagingChannelContext , delivery : Delivery ) : Promise < SendResult > {
274274 const email = opts . getEmail ( ) ;
275275 if ( ! email ) {
276- // [#18424 ] The SAME condition `isAvailable()` answers above, so
276+ // [commit 879b51270 ] The SAME condition `isAvailable()` answers above, so
277277 // it gets the same answer — a refusal naming
278278 // `transport_not_configured`, ⛔ never `{ ok: true }`.
279279 //
@@ -340,7 +340,7 @@ export function createEmailChannel(opts: EmailChannelOptions): MessagingChannel
340340 to : address ,
341341 ...( data !== undefined ? { data } : { } ) ,
342342 ...( templateLocale ? { locale : templateLocale } : { } ) ,
343- // #11741 — this channel HOLDS the organization (the
343+ // Commit b706af987 — this channel HOLDS the organization (the
344344 // tenant stamp the outbox snapshots per delivery), so
345345 // it threads it for the sys_email.organization_id
346346 // stamp. Absent stays absent — never fabricated.
@@ -380,7 +380,7 @@ export function createEmailChannel(opts: EmailChannelOptions): MessagingChannel
380380 subject : rendered . subject ,
381381 ...( rendered . html !== undefined ? { html : rendered . html } : { } ) ,
382382 ...( rendered . text !== undefined ? { text : rendered . text } : { } ) ,
383- // #11741 — same threading as the template arm above.
383+ // Commit b706af987 — same threading as the template arm above.
384384 ...( n . organizationId ? { organizationId : n . organizationId } : { } ) ,
385385 } ) ;
386386 const id = result ?. id ;
@@ -399,7 +399,7 @@ export function createEmailChannel(opts: EmailChannelOptions): MessagingChannel
399399 // are `IEmailService.sendTemplate`'s own error codes plus this
400400 // channel's missing-capability refusal above.
401401 //
402- // [#18424 ] `transport_not_configured` joins them, and the grade is
402+ // [commit 879b51270 ] `transport_not_configured` joins them, and the grade is
403403 // driven rather than assumed: in the shipping composition the same
404404 // condition already terminates a claimed row at once — the mount
405405 // gate unmounts the channel and the dispatcher acks
0 commit comments