tisonkun opened a new pull request, #1592: URL: https://github.com/apache/tooling-trusted-releases/pull/1592
## Pull request summary **Meaningful subject (required):** Allow release announcements to the foundation mailing list **Description:** Release announcements addressed to `[email protected]` pass the announcement form and storage validation, but the queued message task rejects them with `You are not permitted to send emails to [email protected]`. The worker only allows the sender's own address and recipients under `*.apache.org`, which excludes the foundation announcement list on the root domain. Allow that exact address in the worker's recipient validation. Keep the existing sender validation and restrictions on other root-domain accounts and external recipients. Extend the message-task tests to cover permitted and rejected recipients in To, Cc, and Bcc, and verify rejected messages never reach the mail writer. ## Validation - Before the fix, the three announcement regression cases failed with the reported error; the other 23 message tests passed. - After the fix, all 26 message tests pass. - On the rebased branch, `sh tests/run-unit.sh` passes: 2266 passed, 19 skipped. - On the rebased branch, `make check` passes in full. - End-to-end validation is still in progress. `tests/run-e2e.sh` built and started the application successfully; the Playwright runner image download is slow, so the same suite is also being prepared with the repository's locked local Playwright against the isolated test service. ## Required acknowledgements - [x] I have read and followed **CONTRIBUTING.md** - [x] I have read **DEVELOPMENT.md** - [ ] I have run the required tests and checks locally - [ ] All required checks are currently passing - [x] This branch is **rebased on the current `main` branch** ## Draft requirement This PR is intentionally a draft. End-to-end validation is pending. ## Rebase confirmation details Rebased onto `origin/main` at `0ed47e0e` before pushing. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
