Repository navigation
chore: absorb dns into packages/dns - #13927
Merged
Merged
Conversation
chore: stop committing package lock files
Update DNS to Domains 4
…-port test(dns): pin zero through the wire format and the zone file
chore(domains,dns,http,queue): require Validators ^1.0
Contributor
|
✨ Benchmark resultsComparing
Per-scenario breakdown & investigation detailsMetrics below reflect the current branch (after). Δ P95 compares against the base.
Top API waits (after)
|
…/absorb-dns # Conflicts: # composer.lock
…/absorb-dns # Conflicts: # composer.lock
…/absorb-dns # Conflicts: # composer.lock
…/absorb-dns # Conflicts: # composer.lock # rfc/monorepo.md
…/absorb-dns # Conflicts: # composer.json # composer.lock
TorstenDittmann
approved these changes
Sep 28, 2026
…/absorb-dns # Conflicts: # composer.lock
This was referenced Sep 28, 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
Moves
utopia-php/dnsintopackages/dnsso Appwrite loads it directly. Wave 3 of #13828, following the playbook inrfc/monorepo.md. The mirror head (c4ea29c) is the3.0.7release Appwrite already locks, so there is no version gap.Stacked on #13922 (
dnsrequiresdomains). Base ischore/absorb-domains; GitHub retargets this tomainonce #13922 merges. Merge after #13922, with a merge commit.Commits
Add 'packages/dns/' from commit 'c4ea29c…'chore(dns): mirror plumbingmirror.ymlpoints here, README banner refreshed,.gitpod.ymlremovedrefactor: load dns from packages/What changed
composer.jsonreplaceentries added;utopia-php/dns: ^3.0.7removed fromrequireext-sockets(already in root) plusdomains,telemetryandvalidators, all inpackages/composer.lockutopia-php/dnsremoved (+1/−58, content hash)src/src/DNS/*moved up tosrc/. Pint only (empty{}bodies,fn (spacing); no other editstests/tests/unit/DNS/*→tests/. Fromtests/e2e/DNS/, the tests that open sockets or query the network (ClientTest,HttpTest,ProxyProtocolTestagainst the compose server;Resolver/CloudflareTest,Resolver/GoogleTest,Validator/DNSTestagainst public resolvers) →tests/E2E/. The pure ones (Resolver/MemoryTest,Validator/CAATest,Validator/NameTest) join the unit tier. NamespacesTests\Unit\Utopia\DNS/Tests\E2E\Utopia\DNS→Utopia\DNS\Tests\….FileTest's fixture path loses the two removed levelsDockerfile,docker-compose.ymlDockerfileviabuild.context: ., whichabsorbdoes not recognise, so it deleted it. Restored, anddockerfile: Dockerfilemade explicit sovalidatekeeps itphpunit.xmlunit=testsminustests/E2Eandtests/bench;e2e=tests/E2Ephpstan.neonsrcandtests(previously included the monorepo root at level 5), withphpstan-baseline.neonholding 8 findings, all insrc:mixedoffsets on Swoole request fields in the DoH adapter, andchr()arguments inRecordandZone\File. Added to the RFC phase 8 listrector.phpClassPropertyAssignToConstructorPromotionRector,ReadOnlyPropertyRectorandIfToNullCoalescingAssignRector(the last would rewriteMessage::query()) sosrcstays as releasedValidation
bin/monorepo validatebin/monorepo check dnsbin/monorepo test dnsvendor/bin/phpunit --testsuite packages --filter 'Utopia\\DNS'inappwrite/appwrite:2.3.0Proxy/Action.php,Network/Validator/DNS.php,tests/unit/Network/Validators/DNSTest.phpUtopia\DNS\Clientresolves topackages/dns/src/Client.phpcomposer validate --no-check-publishutopia-php/platformexact-version warning)bin/monorepo split dns --dry-runadc7d33, fast-forward of the mirror headc4ea29c(+2 commits)git diff --checkMirror state
mainruleset (11469492), split app (4016286) as always-bypass, so absorbed with--skip-rulesetmainAfter merge
Splitrun fordnsis green and the mirror fast-forwards fromc4ea29cutopia-php/monorepopackages/dnsthereClient::fromSystem()reading/etc/resolv.conf, plus an IPv6 UDP socket-family fix): re-open here againstpackages/dnsProxyProtocolalready ships in 3.0.7) and utopia-php/dns#36 (DNS over HTTPS client and resolvers): re-open here or closeZone\ResolverTestcovers apex SOA answers; close after confirming🤖 Generated with Claude Code