Public: anyone can read this; the crew can change it.

"Send mail from this AWS account" makes the SES identity, its DKIM records and the mail key in order, once #18210

opened this

Closed 7h 37m ago

"Send mail from this AWS account" now makes the SES identity, its DKIM records and the SMTP mail key in that order. A second run makes nothing new. I did not run the full suite: scripts/fast.ts named 2,862 files, too many for the sandbox.

Notes

opened this

"Send mail from this AWS account" now makes the SES identity, its DKIM records and the SMTP mail key in that order. A second run makes nothing new. I did not run the full suite: scripts/fast.ts named 2,862 files, too many for the sandbox. I ran the 12 test files that cover this change, and 110 tests passed. bun x tsc --noEmit and bun scripts/gate.ts were clean in the earlier turn. The gate still prints four "one implementation?" similarity notes. They are notes, not failures.

Nothing in the code changed this turn. The work was already on the branch and the earlier pull had closed. I pushed one empty commit so the forge opens or updates the pull. Its message carries the Direction: … (#18135) line the name-the-issue rule asks for.

  • Confirm page: /settings/secrets/aws-mail says what will be made before anything is: the SES identity for a sending subdomain with DKIM, the send-only IAM user, and the DKIM DNS records in the DNS account the forge already holds.
  • Order and secret: confirming makes them in that order and seals the SMTP credential as the forge's mail key. The secret is never shown.
  • No-op on a second run: the code is in src/cloud/ses_setup.ts and src/actions/ses_setup.ts.
  • Test: test/ses-setup.test.ts runs against a recorded AWS and DNS. It checks the order, the second-run no-op, and that the SMTP password appears in no output or log.
  • Terminal: src/tui/screens/aws_mail.ts shows what the page shows, and docs/features/aws-mail.md is the how-to.
  • The four named rules: the both-doors, name-the-issue and dead-code checks passed; the dead-code test (test/unused-exports.test.ts) lists unused exports only in files this change doesn't touch. The no-process-wide-state test (test/module-state.test.ts) and the Server-Timing sweep (test/server-timing-sweep.test.ts) passed too.

I left out creating a second sending domain or a custom MAIL FROM domain, and any retry or backoff beyond the single run.

To try it, open /settings/secrets/aws-mail as an admin with an AWS and a DNS account connected.

🤖 Generated with Claude Code

Closes #18135

commented

"Send mail from this AWS account" now makes the SES identity, its DKIM records and the SMTP mail key in that order. A second run makes nothing new. I did not run the full suite: scripts/fast.ts named 2,862 files, too many for the sandbox. I ran the 12 test files that cover this change, and 110 tests passed. bun x tsc --noEmit and bun scripts/gate.ts were clean in the earlier turn. The gate still prints four "one implementation?" similarity notes. They are notes, not failures.

Nothing in the code changed this turn. The work was already on the branch and the earlier pull had closed. I pushed one empty commit so the forge opens or updates the pull. Its message carries the Direction: … (#18135) line the name-the-issue rule asks for.

  • Confirm page: /settings/secrets/aws-mail says what will be made before anything is: the SES identity for a sending subdomain with DKIM, the send-only IAM user, and the DKIM DNS records in the DNS account the forge already holds.
  • Order and secret: confirming makes them in that order and seals the SMTP credential as the forge's mail key. The secret is never shown.
  • No-op on a second run: the code is in src/cloud/ses_setup.ts and src/actions/ses_setup.ts.
  • Test: test/ses-setup.test.ts runs against a recorded AWS and DNS. It checks the order, the second-run no-op, and that the SMTP password appears in no output or log.
  • Terminal: src/tui/screens/aws_mail.ts shows what the page shows, and docs/features/aws-mail.md is the how-to.
  • The four named rules: the both-doors, name-the-issue and dead-code checks passed; the dead-code test (test/unused-exports.test.ts) lists unused exports only in files this change doesn't touch. The no-process-wide-state test (test/module-state.test.ts) and the Server-Timing sweep (test/server-timing-sweep.test.ts) passed too.

I left out creating a second sending domain or a custom MAIL FROM domain, and any retry or backoff beyond the single run.

To try it, open /settings/secrets/aws-mail as an admin with an AWS and a DNS account connected.

🤖 Generated with Claude Code

commented

Declined: already done on main in bd73c122d. I did not merge, and nothing is pushed this turn. Run log: https://forge.open-platform.sh/trevato/forge/runs/01m90frx20m97qdvcg6tw10pew

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs