Repository navigation
fix(deploy): ship the Android-resolvable tee.node CNAME in 1.17.3 (TC-605, cherry-pick #241) - #242
Merged
samgbafa merged 1 commit intoOct 4, 2026
Conversation
…ud.xyz (TC-513)
The dstack-ingress sidecar CNAMEs DOMAIN to GATEWAY_DOMAIN on every fresh
container start. It was _.${DSTACK_GATEWAY_DOMAIN}; Android's resolver
(bionic res_hnok) rejects a CNAME target whose first label is '_', so
tee.node.tinycloud.xyz does not resolve on Android (WebView and native).
Use gateway.${DSTACK_GATEWAY_DOMAIN}: the CNAME target Phala Cloud
advertises for this CVM (gateway.cname) and upstream dstack-ingress
documents since Dstack-TEE/dstack-examples#123. It resolves to the same
gateway IP; the gateway still routes by SNI + the _dstack-app-address TXT
record, so TLS remains terminated inside the CVM.
(cherry picked from commit 091688b)
Contributor
Author
|
Heads-up: the 1.17.3 deploy reverted the Android DNS fix, as this PR predicted.
Please merge this PR into the release branch before the next node deploy, and rebuild the image from the new head (an image built before this change still writes |
samgbafa
merged commit Oct 4, 2026
f365fa9
into
Codex/roman/rollback-meeting-node-20260915
6 checks passed
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
Linear: TC-605 (follow-up to TC-513)
Cherry-picks #241 (
091688b) onto the production line so it ships in 1.17.3. The only change is the dstack-ingress CNAME target indocker-compose.dstack-postgres.yaml:GATEWAY_DOMAIN=_.${DSTACK_GATEWAY_DOMAIN}becomesgateway.${DSTACK_GATEWAY_DOMAIN}, plus a comment explaining why. No Rust, version or workflow changes.On 2026-10-03 production DNS for
tee.node.tinycloud.xyzwas edited in place toCNAME gateway.dstack-pha-prod5.phala.network, because Android's resolver rejects the_.target (TC-513). The ingress sidecar re-runsdnsman.py set_alias --content "$GATEWAY_DOMAIN"whenever its container is created fresh. Deploying with the current compose would write_.back and break Android again. That isn't an outage, since both names reach the same gateway.Why this branch
Codex/roman/rollback-meeting-node-20260915(05c6a93). That branch is the production line, andtinycloud-node-server/Cargo.tomlthere is already 1.17.3./infostill reports 1.17.2. Docker run 37094999547 built the 1.17.3 images at05c6a93, anddeploy-phalawas skipped.mainis 1.16.x and must not be released to production. fix(deploy): publish an Android-resolvable CNAME for tee.node.tinycloud.xyz (TC-513) #241 stays open againstmainso later releases frommaindon't regress.Release note: rebuild, don't promote the existing 1.17.3 digest
After this merges, the release-branch HEAD moves past
05c6a93:deploy-phalarequires the image'sorg.opencontainers.image.revisionto equal the checkout HEAD, so the digest from run 37094999547 can't be promoted from the new HEAD.05c6a93would deploy the old compose, which still has_..Dispatch
docker.ymlfromCodex/roman/rollback-meeting-node-20260915at the new HEAD withimage_version=1.17.3anddeploy_phala=true. This rebuilds the image and moves the1.17.3/1.17.3-dstackGHCR tags to the new digest.version-guardpasses becauseCargo.tomlis unchanged.The repo doesn't use changesets;
CHANGELOG.mdis written by hand in the release PR. I didn't edit it. If you want a line under[1.17.3]:Verification
git grepon the release branch: this compose line is the only place that writes a_.gateway target. No other compose file, script, workflow or doc setsGATEWAY_DOMAINor publishes a_.target for this host.docker compose --env-file <placeholders, DSTACK_GATEWAY_DOMAIN=dstack-pha-prod5.phala.network> -f docker-compose.dstack-postgres.yaml config --quiet, the same check the deploy job runs beforephala deploy. It passes and rendersGATEWAY_DOMAIN: gateway.dstack-pha-prod5.phala.network.ghcr.io/tinycloudlabs/tinycloud-node:dstackin the compose, is unaffected.rust.yml,docker.yml) only runs on PRs tomain, so nothing runs here automatically. The identical diff on fix(deploy): publish an Android-resolvable CNAME for tee.node.tinycloud.xyz (TC-513) #241 had a green Docker PR run (37092032681).After deploy
The record is already
gateway.…, so the ingress should find matching content and leave DNS alone.Rollback: revert this commit. If needed, set the CNAME back to
_.dstack-pha-prod5.phala.network(same gateway IP and routing).