Repository navigation
Commit c114a6e
authored
fix(email): resolve live staging acceptance failures (#332)
Live staging acceptance exposed failures in first-time native setup,
hosted recipient confirmation, admission timing, and forwarding from
nested plus-tag addresses. This makes those paths work through the
current email design and removes the retired internal verification
transport.
- Preserve an exact owned native routing plan while new subdomain MX
records propagate; stop before build/upload instead of losing the plan
or failing after upload.
- Send recipient confirmations through the native email binding and
serve confirmation links through the public gateway. Align hosted
identities, account-token verification, and installer permissions.
- Batch admission queries, use one bounded direct-send deadline with
finalization time reserved, and place the hosted API beside its
PostgreSQL origins. Preserve idempotency, quota accounting, and
unknown-outcome handling.
- Accept nested plus tags consistently while retaining project ownership
checks. Update the existing design and affected guidance; remove
obsolete handlers, helpers, exports, and tests.
Validation: complete `vp run test:all` passed (551 files; 10,429 tests
passed, 20 skipped), plus focused PostgreSQL admission checks and
repeated GPT-5.6-sol xhigh reviews ending with no actionable findings.
Real staging/native mail covered To/CC/BCC, consent, retries, conflicts,
quotas, policy modes, replies, forwarding, sender isolation, and
sibling-domain preservation. The final forward passed SPF/DKIM/DMARC/ARC
and its ledger recorded provider acceptance. The reproduced hosted send
improved from a 10-second timeout to a confirmed result in 4.9 seconds.
Only staging and disposable fixtures were deployed. The previous staging
credential and recipient policy were restored. Standalone
customer-account relay rotation still needs its separate live acceptance
run; three intentionally interrupted sends remain under the existing
24-hour recovery guard. Production configuration was reviewed but not
deployed.1 parent 09b4887 commit c114a6e
58 files changed
Lines changed: 1963 additions & 1992 deletions
File tree
- docs
- guide
- reference
- packages
- platform
- src
- test/unit
- void
- src/cli
- test/unit
- platform
- meta/design-docs
- packages
- api
- src
- email
- middleware
- provisioning
- routes
- test
- integration
- unit
- dispatch/src
- email-gateway
- src
- test/unit
- proxy
- src
- test/unit
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | | - | |
| 175 | + | |
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| |||
524 | 524 | | |
525 | 525 | | |
526 | 526 | | |
527 | | - | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
528 | 530 | | |
529 | 531 | | |
530 | 532 | | |
| |||
571 | 573 | | |
572 | 574 | | |
573 | 575 | | |
574 | | - | |
| 576 | + | |
575 | 577 | | |
576 | 578 | | |
577 | 579 | | |
| |||
602 | 604 | | |
603 | 605 | | |
604 | 606 | | |
605 | | - | |
| 607 | + | |
606 | 608 | | |
607 | | - | |
| 609 | + | |
608 | 610 | | |
609 | 611 | | |
610 | 612 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
| 137 | + | |
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
912 | 912 | | |
913 | 913 | | |
914 | 914 | | |
915 | | - | |
| 915 | + | |
916 | 916 | | |
917 | 917 | | |
918 | 918 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
111 | 112 | | |
112 | 113 | | |
113 | 114 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| |||
85 | 86 | | |
86 | 87 | | |
87 | 88 | | |
| 89 | + | |
88 | 90 | | |
89 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
90 | 95 | | |
91 | 96 | | |
92 | 97 | | |
| |||
167 | 172 | | |
168 | 173 | | |
169 | 174 | | |
| 175 | + | |
170 | 176 | | |
171 | 177 | | |
172 | 178 | | |
| |||
0 commit comments