Seeding is bounded by the JAR, not by the database — and rebuild

DocsEmailService
Shipped
September 4, 2026 at 6:02 AM UTC
Author
Kamo
Commit
a2f7d91

The lazy seedForOrg call in sendToUser reads as though a missing template always heals itself. It does not. The catalogue is CanonicalTemplateLoader's and lives in the shared library, so a pod running an older jar has a loader that has never heard of the new key: it seeds without it, the retry throws TemplateNotFoundException, and to the caller that is a swallowed boolean and a letter that never arrives. Which is the reason for the commit as much as the comment. Three new canonical templates landed in the shared library today — **************** hr.careers_alert_confirm and hr.careers_alert_digest, the public careers site's application receipt and talent alerts. They cannot seed until this service runs the library that contains them, and a shared-library-only rebuild reuses the same image tag, so `set image` is a no-op and CI reports success having deployed nothing. This gives the build a new sha.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing