Skip to content

feat(integriq): build send-at-on-the-messaging-leaf - #3632

Merged
rubenvdlinde merged 4 commits into
developmentfrom
quality/build-send-at-on-the-messaging-leaf
Nov 17, 2026
Merged

rubenvdlinde merged 4 commits into
developmentfrom
quality/build-send-at-on-the-messaging-leaf

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Contributor

Builds the integriq part of OpenRegister's send-at-on-the-messaging-leaf (task 1.1): the seeded smtp-mail source. OpenRegister's POST /api/integrations/email/send sends through this source (MessageDispatchProvider::EMAIL_SOURCE, in ConductionNL/openregister#10534).

Done

  • lib/Settings/register.d/smtp-mail-source.json: an api source smtp-mail ("SMTP mail relay"), built the same way as cmcom-sms / twilio-sms. It is in mock mode (configuration.mock: true, canned accepted response) and enabled, so the e-mail channel works end to end without sending any mail. Its address is a reserved .invalid placeholder until an admin points it at an HTTP mail relay and removes mock. The leaf POSTs {to, subject, text, html?, replyTo?} with its minted Message-ID header.
  • CatalogRegistryService: smtp-mail is listed under the Messaging category, beside the SMS sources.

Left

  • Receiving, threading and the inbox are out of scope (integriq mail intake). The e2e and Newman tasks of the change need a running instance.

Tests

  • New SmtpMailSourceSeedTest (2 tests): the seed payload's shape (mock, placeholder host, JSON headers) and its catalog category. A wrong category makes it fail.
  • CatalogRegistrySeedGoldenTest digests updated. Before updating, I diffed the collected catalog and payloads against development, and they differ only by the new smtp-mail entry.
  • Unit suite before: 8994 tests, 4 failures and 2 errors on development. After: 8996 tests, the same failures. SynchronizationSynchronizeEntryGoldenTest is timing-dependent: it passed and then failed on plain development too.
  • validate-register.js and validate-json-strict.js pass. phpcs and phpstan are clean on the touched PHP.

Generated by Claude Code

Seed the smtp-mail source that OpenRegister's messaging leaf sends e-mail
through (MessageDispatchProvider::EMAIL_SOURCE). Like the SMS sources it is
an HTTP source in mock mode: the leaf POSTs {to, subject, text, html?,
replyTo?} with its Message-ID header, and the mock answers accepted without
sending. Its address is a reserved .invalid placeholder until an admin
points it at a mail relay. Listed in the catalog under Messaging; the
catalog seed digests move by exactly this entry.

Assisted-by: ClaudeCode:claude-opus-5-5
rubenvdlinde added a commit to ConductionNL/openregister that referenced this pull request Nov 14, 2026
Task 1.1 is complete: the smtp-mail source seed is in integriq
(ConductionNL/integriq#3632).

Assisted-by: ClaudeCode:claude-opus-5-5
…kip ci]

Development added seeds of its own, so the catalog seed digests are
recomputed with smtp-mail on top of them; the collected catalog differs
from development's by exactly the smtp-mail entry.

Assisted-by: ClaudeCode:claude-opus-5-5
…kip ci]

Resolve the seed golden-hash conflict: both lines changed the catalog
seeds, so the hashes are recomputed from the merged seeds.

Assisted-by: ClaudeCode:claude-opus-5-5
…kip ci]

Golden hashes of the catalog seed recomputed over development's catalog
plus this branch's SMTP mail source.

Assisted-by: ClaudeCode:claude-opus-5-5
@rubenvdlinde
rubenvdlinde merged commit 4ab65c2 into development Nov 17, 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.

1 participant