Repository navigation
chore: absorb messaging into packages/messaging - #13863
Merged
Merged
Conversation
feat: add sms from override to constructor
Use default false bool sandbox instead of endpoint param
# Conflicts: # composer.json # composer.lock # src/Utopia/Messaging/Adapter/Push/APNS.php # src/Utopia/Messaging/Messages/Email.php # src/Utopia/Messaging/Messages/Push.php # src/Utopia/Messaging/Messages/SMS.php # tests/Messaging/Adapter/Email/EmailTest.php # tests/Messaging/Adapter/Email/MailgunTest.php # tests/Messaging/Adapter/Email/SendgridTest.php # tests/Messaging/Adapter/Push/APNSTest.php # tests/Messaging/Adapter/Push/FCMTest.php # tests/Messaging/Adapter/SMS/GEOSMS/CallingCodeTest.php # tests/Messaging/Adapter/SMS/GEOSMSTest.php # tests/Messaging/Adapter/SMS/Msg91Test.php # tests/Messaging/Adapter/SMS/SMSTest.php # tests/Messaging/Adapter/SMS/TelesignTest.php # tests/Messaging/Adapter/SMS/TelnyxTest.php # tests/Messaging/Adapter/SMS/TwilioTest.php # tests/Messaging/Adapter/SMS/VonageTest.php
Feat app adapters
This was referenced Sep 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Move
utopia-php/messagingintopackages/messagingso Appwrite loads it directly. This is the last step of the chain in #13828 (smtp→telemetry→pools→client+span→messaging). All four of its Utopia dependencies are already inpackages/.Add 'packages/messaging/' from commit 'c60cc16…': subtree import from the mirror with full history. The mirror head is the2.5.0tag Appwrite already locks, so nothing moves in the dependency graph.chore(messaging): mirror plumbing:mirror.ymlpoints here and the README banner is refreshed. The sameabsorbrun updated the mirror ruleset so the split app can bypass it.refactor: load messaging from packages/:replaceentries, andutopia-php/messagingleavesrequireand the lock. Nothing needs hoisting.src/Utopia/Messagingandtests/Messagingare flattened, and tests live underUtopia\Messaging\Tests.Email,SMTP,SMS,WhatsApp) move totests/E2E/, replacing the per-file includes and excludes inphpunit.xml.^0.5and importsUtopia\Client\Clientdirectly, so it no longer relies on client's alias shim. The RFC's shim-removal note drops it from the list.docs/add-new-adapter.mdpoints at the new source path.History and push protection
GitHub push protection flagged a Twilio Account SID and token in the imported history. They are in
tests/e2e/SMS/TwilioTest.phpatf0c5cbb(2023), and that commit has been public on the mirror since then. The history can't be rewritten without breaking the split's fast-forward onto the mirror, so the push went through with a push-protection bypass recorded asused_in_tests.Validation
bin/monorepo validate: all packages validbin/monorepo check messaging: Pint and PHPStan (the package's level 6 onsrcandtests)bin/monorepo test messaging: unit 105 tests. e2e 31 tests against mailcatcher and requestcatcher, with 7 skipped because they need provider credentials.utopia-php/monorepogives identical counts: 105 unit, 31 e2e, 7 skipped.vendor/bin/phpunit --testsuite packages --filter 'Utopia\\Messaging\\Tests': the same 105 tests pass under the root autoloader.Utopia\Messaging.composer dump-autoloadshows no PSR-4 warnings.bin/monorepo split messaging --dry-rungivesc3f9df1.Merge and follow-up
Merge with a merge commit, not squash, to preserve the subtree annotation the split continues from.
After merge:
utopia-php/messaging.packages/messagingfromutopia-php/monorepo.Part of #13828.