#3: add embedded-Postgres E2E test validating F1 inbound SMTP against PLAN acceptance criteria
Boots a real Postgres (no Docker), applies the real migration and seed, starts the real go-smtp server wired as main.go does, and drives a live SMTP session. Asserts: 550 for unknown RCPT, durable EML + row with uid_next allocation, sha256 disk/db match, outbox event, blob dedup with ref_count. Documents the counters gap (PLAN 6.1) as an explicit skip. Phase: F1 validation Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6980a08516
commit
097fa373e1
3 files changed
+224
No files matched your search
@@ -10,9 +10,12 @@ require (
|
||||
|
||||
require (
|
||||
github.com/emersion/go-sasl v0.0.0-20241020182733-b788ff22d5a6 // indirect
|
||||
github.com/fergusstrange/embedded-postgres v1.30.0 // indirect
|
||||
github.com/jackc/pgpassfile v1.0.0 // indirect
|
||||
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect
|
||||
github.com/jackc/puddle/v2 v2.2.2 // indirect
|
||||
github.com/lib/pq v1.10.9 // indirect
|
||||
github.com/xi2/xz v0.0.0-20171230120015-48954b6210f8 // indirect
|
||||
golang.org/x/sync v0.17.0 // indirect
|
||||
golang.org/x/text v0.29.0 // indirect
|
||||
)
|
||||
Reference in new issue
Block a user