Skip to content

feat(tra-1040): route preview org-lifecycle notices to a single address - #160

Merged
mikestankavich merged 1 commit into
mainfrom
feat/tra-1040-preview-org-notify-addr
Jul 22, 2026
Merged

feat(tra-1040): route preview org-lifecycle notices to a single address#160
mikestankavich merged 1 commit into
mainfrom
feat/tra-1040-preview-org-notify-addr

Conversation

@mikestankavich

Copy link
Copy Markdown
Contributor

What

  • helm/trakrf-backend: new config.orgCreateNotifyAddrORG_CREATE_NOTIFY_ADDR in the ConfigMap, emitted only when set (same omit-when-empty pattern as runtimeLogLevel).
  • argocd/root: per-env plumbing + preview.orgCreateNotifyAddr: mike@kwyk.net. Prod omits the key.

Why

TRA-1040 — org-lifecycle notifications (self-service signup, internal create, delete) fan out to every active superadmin in every env. Preview's e2e org-creation firehose was paging all of them. Backend support merged in trakrf/platform#524: when the var is set, all three notices route to that one address and the fan-out is skipped. Prod keeps the default fan-out.

Verification

helm template of the root chart emits the key for preview only:

356:          runtimeLogLevel: "info"
357:          orgCreateNotifyAddr: "mike@kwyk.net"

Backend ConfigMap renders ORG_CREATE_NOTIFY_ADDR: "mike@kwyk.net" when set and no key at all when unset; the Deployment consumes it via envFrom.configMapRef.

Post-merge

Root-chart template/values edits do not auto-sync — requires scripts/apply-root-app.sh gke (cluster-wide re-render) then a backend pod rollout to pick up the new env.

🤖 Generated with Claude Code

Adds config.orgCreateNotifyAddr → ORG_CREATE_NOTIFY_ADDR (platform PR #524)
to the backend chart, emitted only when set, and pins it to mike@kwyk.net
for preview via the root chart. Preview's e2e org-creation churn was paging
every active superadmin; with the var set all three org-lifecycle notices
(signup, create, delete) go to that single address instead.

Prod deliberately omits the key and keeps the default superadmin fan-out.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@mikestankavich
mikestankavich merged commit 0adbafc into main Jul 22, 2026
19 checks passed
@mikestankavich
mikestankavich deleted the feat/tra-1040-preview-org-notify-addr branch July 22, 2026 02:09
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