Skip to content

feat: resolve and render dotNS names under each network's TLD - #159

Merged
BigTava merged 15 commits into
mainfrom
tiago-per-network-tld
Aug 13, 2026
Merged

feat: resolve and render dotNS names under each network's TLD#159
BigTava merged 15 commits into
mainfrom
tiago-per-network-tld

Conversation

@BigTava

@BigTava BigTava commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Adds TLD to each network's dotns config (paseo for Paseo Next V2, dot for the others) plus getActiveTld, getActiveTldSuffix, withActiveTld, and stripActiveTld helpers, and routes the resolver, URL parser, product-id mapping, and every user-visible label through them.
  • The released Rust core still validates productId against a hardcoded .dot, so it rejects every .paseo product. vendor/truapi-host-wasm/ carries the 0.4.0 core rebuilt with the fix from fix: accept per-network dotNS TLDs in product identifiers host-rust-core#369, and apps/host/vite.config.ts prefers it.

@github-actions

Copy link
Copy Markdown
Contributor

⚡ Performance Report

⚠️ No baseline found on main. This PR's results are recorded but cannot be compared.
Merge to main to establish a baseline.

@github-actions

github-actions Bot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Bundle Size Report

Chunks over 500 KB:

File Raw Brotli Gzip
host/assets/paseo.smol-DboPaEh1.json 1.84 MB 941.7 KB 1019.4 KB
host/assets/paseo-people-next.smol.json 3.36 MB 1.68 MB 1.82 MB
host/assets/smoldot.js 2.98 MB 2.22 MB (+722 B) 2.23 MB (-6 B)
host/assets/smoldot_worker.js 2.95 MB 2.21 MB 2.22 MB
host/assets/wasm/web/truapi_server_bg.wasm 7.06 MB (+5.05 MB) 5.25 MB (+4.64 MB) 5.52 MB (+4.70 MB)
Total 19.37 MB (+5.06 MB) 12.62 MB (+4.65 MB) (-35%) 13.17 MB (+4.71 MB)
All files
File Raw Brotli Gzip
host/.well-known/apple-app-site-association 738 B 738 B 738 B
host/.well-known/assetlinks.json 1.3 KB 317 B 391 B
host/assets/bridge.js 69.5 KB (+489 B) 19.0 KB (+159 B) 21.9 KB (+164 B)
host/assets/browser.js 22.9 KB 7.6 KB (+17 B) 8.6 KB (+1 B)
host/assets/client.js 100.1 KB 29.5 KB (+106 B) 32.4 KB (+24 B)
host/assets/dist.js 39.0 KB (+11 B) 12.8 KB (+4 B) 14.5 KB (-24 B)
host/assets/dotli-debug-bus.js 710 B 710 B 710 B
host/assets/get-sync-provider.js 2.8 KB 1.1 KB (-1 B) 1.2 KB (+1 B)
host/assets/hex.js 154 B 154 B 154 B
host/assets/index.js 197.9 KB (+5.5 KB) 49.4 KB (+1.1 KB) 59.0 KB (+1.3 KB)
host/assets/index.css 46.3 KB 7.3 KB 8.1 KB
host/assets/manifest.js 22.6 KB (+17 B) 7.3 KB (-3 B) 8.0 KB (+14 B)
host/assets/panel.js 76.2 KB (+7 B) 20.6 KB 23.2 KB (-5 B)
host/assets/paseo.smol-DboPaEh1.json 1.84 MB 941.7 KB 1019.4 KB
host/assets/paseo-people-next.smol.json 3.36 MB 1.68 MB 1.82 MB
host/assets/paseo.smol.json 23.2 KB (+952 B) 5.3 KB (+230 B) 6.2 KB (+297 B)
host/assets/previewnet.smol.json 179.0 KB 13.8 KB 34.0 KB
host/assets/resolve.js 156 B 156 B 156 B
host/assets/rpc-resolve.js 2.5 KB (+41 B) 1.0 KB (-2 B) 1.2 KB (+11 B)
host/assets/smoldot.js 2.98 MB 2.22 MB (+722 B) 2.23 MB (-6 B)
host/assets/smoldot_worker.js 2.95 MB 2.21 MB 2.22 MB
host/assets/spans.js 2.6 KB 1.1 KB 1.3 KB
host/assets/src.js 1.8 KB 855 B (+8 B) 944 B (-2 B)
host/assets/styles.css 15.3 KB 3.3 KB 3.8 KB
host/assets/wasm/web/README.md 11.9 KB (+393 B) 11.9 KB (+393 B) 11.9 KB (+393 B)
host/assets/wasm/web/package.json 371 B 371 B 371 B
host/assets/wasm/web/truapi_server.d.ts 8.1 KB (+1.2 KB) 8.1 KB (+1.2 KB) 8.1 KB (+1.2 KB)
host/assets/wasm/web/truapi_server.js 38.2 KB (+2.6 KB) 6.6 KB (+347 B) 7.6 KB (+396 B)
host/assets/wasm/web/truapi_server_bg.wasm 7.06 MB (+5.05 MB) 5.25 MB (+4.64 MB) 5.52 MB (+4.70 MB)
host/assets/wasm/web/truapi_server_bg.wasm.d.ts 3.0 KB (+446 B) 3.0 KB (+446 B) 3.0 KB (+446 B)
host/assets/web.js 13.3 KB (+76 B) 3.6 KB (+37 B) 4.0 KB (+24 B)
host/assets/worker-runtime.js 6.4 KB (+6.3 KB) 1.7 KB (+1.5 KB) 1.8 KB (+1.7 KB)
host/assets/worker-runtime.js 106 B 106 B 106 B
host/assets/ws.js 23.1 KB 7.5 KB (-1 B) 8.2 KB
host/dotli.png 11.5 KB 11.5 KB 11.5 KB
host/favicon.svg 1.8 KB 1.8 KB 1.8 KB
host/host-sw.js 2.7 KB 1.1 KB (+2 B) 1.2 KB
host/icon-192.png 12.5 KB 12.5 KB 12.5 KB
host/icon-512.png 42.8 KB 42.8 KB 42.8 KB
host/index.html 19.9 KB 4.4 KB (+3 B) 5.4 KB (-1 B)
host/manifest.webmanifest 441 B 441 B 441 B
host/workbox.js 14.8 KB 4.6 KB 5.1 KB
sandbox/app-sw.js 9.7 KB 3.2 KB (-4 B) 3.6 KB
sandbox/assets/bitswap-bridge.js 840 B 840 B 840 B
sandbox/assets/fetch.js 3.4 KB 1.2 KB 1.4 KB
sandbox/assets/index.js 120.4 KB (+35 B) 34.3 KB (-67 B) 40.3 KB (-52 B)
sandbox/assets/index.css 46.3 KB 7.3 KB 8.1 KB
sandbox/favicon.svg 1.8 KB 1.8 KB 1.8 KB
sandbox/index.html 1.7 KB 582 B (+4 B) 785 B
Total 19.37 MB (+5.06 MB) 12.62 MB (+4.65 MB) (-35%) 13.17 MB (+4.71 MB)

Commit: 700d8ac

@github-actions

github-actions Bot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

⚠️ E2E Product suite skipped — Nova signing bot is unavailable.

This is a Nova-side outage and not a dot.li test failure. Re-run
from the Actions tab once the bot recovers.

Logs: https://github.com/paritytech/dotli-community/actions/runs/31616965661

@BigTava
BigTava deployed to dotli.dev August 12, 2026 11:07 — with GitHub Actions Active
@BigTava
BigTava deployed to dotli.dev August 12, 2026 14:34 — with GitHub Actions Active
justraman
justraman previously approved these changes Aug 13, 2026

@justraman justraman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@BigTava Looks good to me, do we have an app to test on?

@BigTava

BigTava commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator Author

@socket-security

socket-security Bot commented Aug 13, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​parity/​truapi-host@​0.4.0 ⏵ 0.6.079 +21009597 +1100
Updated@​parity/​truapi@​0.7.0 ⏵ 0.9.088 +7100100 +198 +1100

View full report

@BigTava
BigTava deployed to dotli.dev August 13, 2026 16:50 — with GitHub Actions Active
@BigTava
BigTava deployed to dotli.dev August 13, 2026 16:55 — with GitHub Actions Active
@github-actions

github-actions Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

E2E Product suite failed on 331fafde6cb222bb285090f9ae40804d59905de6 — 28 passed, 33 failed, 1 skipped.

Failed tests:

  • Product is ready
  • Get Product Account
  • Product Signer
  • Account Connection Status
  • Product Account Alias
  • Request Login
  • Get User Identity
  • Subscribe Theme
  • Derive Entropy
  • Well-Known Chains
  • StatementStore Allowance
  • Bulletin Allowance
  • Smart-Contract Allowance
  • All Allowances
  • String Write & Read
  • Bytes Write & Read
  • JSON Write & Read
  • Clear
  • Factory
  • Feature Check
  • Remote: HTTP/WS
  • Remote: WebRTC
  • Remote: Chain Submit
  • Remote: Preimage Submit
  • Remote: Statement Submit
  • As a product user, I can create an authorized statement proof
  • As a product user, I can submit a statement
  • Subscribe Match All
  • Subscribe Match Any
  • HTTP URL
  • Polkadot URL
  • As a product user, I can navigate within the current product
  • Chain Spec: Genesis Hash

Logs: https://github.com/paritytech/dotli-community/actions/runs/31732448160
Artifacts: e2e-product-results (uploaded above) — open the failed test's trace.zip with npx playwright show-trace.

@BigTava
BigTava deployed to dotli.dev August 13, 2026 18:48 — with GitHub Actions Active
@mordamax
mordamax self-requested a review August 13, 2026 20:55
@BigTava
BigTava merged commit dba56ac into main Aug 13, 2026
13 of 15 checks passed
@BigTava
BigTava deleted the tiago-per-network-tld branch August 13, 2026 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants