Repository navigation
test(smtp): send a password when moving SMTP to a private host - #14857
Conversation
|
Review complete. No issues found — approved ✅. This small PR updates only the shared e2e test base for the SMTP service, threading a
No production code, config, or collections are touched; reviewers noted no defects in the test-only change. Reviewed commit: 3a4de7f |
🟢 Tier S · Ready to mergeThe private-host SMTP e2e test now includes a password in both update requests. This lets the test exercise the private-host validation and the disabled-configuration behavior under the current password requirement.
📂 Walkthrough · 1
Reviewed |
Security rulesNo new WARNING or ERROR findings from security rules. 6 existing findings tracked in
|
✨ Benchmark resultsComparing
Per-scenario breakdown & investigation detailsMetrics below reflect the current branch (after). Δ P95 compares against the base.
Top API waits (after)
|
…-test test(smtp): send a password when moving SMTP to a private host (cherry picked from commit d63021b)
mainis red on the Project e2e lane:SMTPConsoleClientTestandSMTPCustomServerTestfailtestUpdateSMTPPrivateHost, expectingproject_smtp_config_invalidbut gettinggeneral_argument_invalid.Two fixes merged today interact. #14795 requires the write-only SMTP password again when the host, port or security changes. #14811 added a test that moves SMTP to a private host. An earlier test in the same class stores a password, and the new test changes the host without sending one, so #14795's check rejects the request before #14811's public-host check runs.
Both behaviours are intended, so this only fixes the test: it now sends a password on both private-host updates, so the request reaches the host check it means to cover.
Related: appwrite-labs/cloud#6674