fix(health): email.readiness says what is missing and where to set it #29

Merged
KofTwentyTwo merged 1 commits from feature/readiness-says-where into develop 2026-10-16 16:51:33 +00:00
KofTwentyTwo commented 2026-10-16 16:37:03 +00:00 (Migrated from github.com)

Summary

  • `email.readiness` DEGRADED now reads e.g. "Brand postal address is not set (Email > Brand > open the default brand > Postal address). Needed for marketing email footers; transactional email is unaffected." instead of "Email configuration incomplete" plus a bare code.
  • `failedChecks` detail unchanged; new `howToFix` detail carries the same text. Message capped at 500 chars, details at 4096.
  • Transactional readiness and sends are unaffected: only MARKETING checks the postal address (EmailApi readiness, EmailLayout footer).

Test

  • `EmailHealthChecksTest.readinessAcrossCategories` asserts the new message and detail; full `./mvnw verify` passes (28 suites, 0 failures).

🤖 Generated with Claude Code

## Summary - \`email.readiness\` DEGRADED now reads e.g. "Brand postal address is not set (Email > Brand > open the default brand > Postal address). Needed for marketing email footers; transactional email is unaffected." instead of "Email configuration incomplete" plus a bare code. - \`failedChecks\` detail unchanged; new \`howToFix\` detail carries the same text. Message capped at 500 chars, details at 4096. - Transactional readiness and sends are unaffected: only MARKETING checks the postal address (EmailApi readiness, EmailLayout footer). ## Test - \`EmailHealthChecksTest.readinessAcrossCategories\` asserts the new message and detail; full \`./mvnw verify\` passes (28 suites, 0 failures). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.