You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Prod SES + observability: envs/prod has neither — invites and password resets drop silently #939
envs/prod has no ses.tf and no observability.tf. Measured 2026-11-08 with the edge live (#928): the app serves, but every invite and password-reset email to a real user would drop silently — erserver.email.backend is deliberately empty in values-prod.yaml, so POST /v1/email answers 503 and the BFF records emailed: false with the link in the response. That is the designed degradation for a pre-launch environment, not a state to run real users in.
OWNER ACTION, MULTI-DAY LEAD TIME — file this now. SES is in sandbox in us-east-2 and the production-access request has not been filed; nothing else here can start sending until AWS approves it:
aws sesv2 put-account-details --production-access-enabled \
--mail-type TRANSACTIONAL --website-url https://dupezero.com \
--contact-language EN --region us-east-2 --profile er-mgmt \
--use-case-description "Transactional email for a data-quality SaaS: organization invites and password resets to a customer's own users; no marketing mail; bounce/complaint handling via SNS."
The work once that is in flight (mirror envs/dev/ses.tf + envs/dev/observability.tf):
domain identity for dupezero.com with DKIM records via cloudflare_dns_record (same pattern edge.tf established — the zone is DNS-only, so these are plain records)
a send grant on the er-prod-api-pod role — the role deliberately carries no policy today; this is its first
bounce/complaint handling (the dev file's shape) and the configuration set, then erserver.email.backend: "ses" + from + configurationSet in values-prod.yaml
envs/prod/observability.tf: Fluent Bit → /er/prod/containers, the OTel collector — then deploy.yml's prod leg can run scripts/obs_up.sh like dev does (the step exists and is deliberately skipped today, with a comment saying why)
Blocks #938 (the second-IP login probe needs an invited user). Refs #553's remaining probes (the er lake maintain and sslmode=verify-full acceptance).
Claiming. Plan, per the handover and the discussion here: (1) envs/prod/ses.tf — always-on (no opt-in; prod's plan tier is credential-free by edge.tf's design), identity for the apex via var.edge_domain, DKIM x3 + MAIL FROM MX/SPF as cloudflare_dns_record, the first policy on er-prod-api-pod. (2) envs/prod/observability.tf — /er/prod/containers (IA at creation, no destroy trade) + /er/prod/metrics, fluent-bit and otel-collector roles + associations. The span store does NOT ride along: its meta DSN is dev Aurora and prod's VPC has no route there, so the openobserve association/secret and the obs_up.sh prod step split into a follow-up needing a topology decision. The values-prod.yaml backend flip likewise splits out — it waits on the production-access grant (the owner action above), because a sandbox MessageRejected loses the link-in-response fallback the log backend currently preserves.
Activity
athvin commentedon Nov 9, 2026
Claiming. Plan, per the handover and the discussion here: (1)
envs/prod/ses.tf— always-on (no opt-in; prod's plan tier is credential-free by edge.tf's design), identity for the apex viavar.edge_domain, DKIM x3 + MAIL FROM MX/SPF ascloudflare_dns_record, the first policy oner-prod-api-pod. (2)envs/prod/observability.tf—/er/prod/containers(IA at creation, no destroy trade) +/er/prod/metrics, fluent-bit and otel-collector roles + associations. The span store does NOT ride along: its meta DSN is dev Aurora and prod's VPC has no route there, so the openobserve association/secret and theobs_up.shprod step split into a follow-up needing a topology decision. Thevalues-prod.yamlbackend flip likewise splits out — it waits on the production-access grant (the owner action above), because a sandbox MessageRejected loses the link-in-response fallback the log backend currently preserves.