Skip to content

fix(metrics): keep the anonymous analytics id across resets and app subdomains - #179

Draft
BigTava wants to merge 3 commits into
mainfrom
sentry-uuid-shared
Draft

fix(metrics): keep the anonymous analytics id across resets and app subdomains#179
BigTava wants to merge 3 commits into
mainfrom
sentry-uuid-shared

Conversation

@BigTava

@BigTava BigTava commented Aug 18, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • The anonymous analytics id now survives a full reset. wipeOriginState cleared all of localStorage, so every settings reset minted a fresh id and counted one returning visitor as a brand new person.
  • The id is now reconciled against the cross-subdomain store that mode preferences and recent labels already use, so one person visiting several apps stops counting once per app subdomain. localStorage remains the mirror for boots that cannot reach the shared store.

@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 18, 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/previewnet.smol.json 547.1 KB 92.2 KB 101.2 KB
host/assets/smoldot.js 3.05 MB 2.27 MB (+200 B) 2.28 MB
host/assets/smoldot_worker.js 3.02 MB 2.26 MB 2.27 MB
host/assets/wasm/web/truapi_server_bg.wasm 7.06 MB 5.25 MB 5.52 MB
Total 19.88 MB (+6.6 KB) 12.80 MB (+1.9 KB) (-36%) 13.35 MB (+1.9 KB)
All files
File Raw Brotli Gzip
host/.well-known/apple-app-site-association 1.0 KB 1.0 KB 1.0 KB
host/.well-known/assetlinks.json 2.1 KB 343 B 427 B
host/assets/bridge.js 69.4 KB 19.0 KB (+10 B) 21.8 KB (+4 B)
host/assets/browser.js 22.9 KB 7.5 KB (-13 B) 8.6 KB
host/assets/client.js 100.1 KB 29.5 KB (-58 B) 32.4 KB
host/assets/dist.js 39.0 KB 12.9 KB (+4 B) 14.6 KB (+1 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 (+3 B) 1.2 KB
host/assets/hex.js 154 B 154 B 154 B
host/assets/index.js 202.5 KB (+313 B) 50.9 KB (+116 B) 60.8 KB (+148 B)
host/assets/index.css 48.0 KB 7.6 KB 8.5 KB
host/assets/manifest.js 22.6 KB 7.2 KB (-5 B) 8.0 KB
host/assets/panel.js 76.2 KB 20.5 KB (-15 B) 23.2 KB (+2 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.4 KB 5.4 KB 6.2 KB
host/assets/previewnet.smol.json 547.1 KB 92.2 KB 101.2 KB
host/assets/resolve.js 156 B 156 B 156 B
host/assets/rpc-resolve.js 2.5 KB 1.0 KB (-1 B) 1.2 KB (-1 B)
host/assets/smoldot.js 3.05 MB 2.27 MB (+200 B) 2.28 MB
host/assets/smoldot_worker.js 3.02 MB 2.26 MB 2.27 MB
host/assets/spans.js 2.6 KB 1.1 KB 1.3 KB
host/assets/src.js 1.8 KB 858 B (+4 B) 945 B (-1 B)
host/assets/styles.css 15.3 KB 3.3 KB 3.8 KB
host/assets/wasm/web/README.md 11.9 KB 11.9 KB 11.9 KB
host/assets/wasm/web/package.json 371 B 371 B 371 B
host/assets/wasm/web/truapi_server.d.ts 8.1 KB 8.1 KB 8.1 KB
host/assets/wasm/web/truapi_server.js 38.2 KB 6.6 KB 7.6 KB
host/assets/wasm/web/truapi_server_bg.wasm 7.06 MB 5.25 MB 5.52 MB
host/assets/wasm/web/truapi_server_bg.wasm.d.ts 3.0 KB 3.0 KB 3.0 KB
host/assets/web.js 13.3 KB 3.6 KB (+5 B) 4.0 KB
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 (+6 B) 8.2 KB (+1 B)
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 (+5 B) 1.2 KB (+1 B)
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 24.4 KB 4.7 KB (-2 B) 5.8 KB (-3 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 B) 1.4 KB (-1 B)
sandbox/assets/index.js 120.4 KB 34.4 KB (+117 B) 40.4 KB
sandbox/assets/index.css 48.0 KB 7.6 KB 8.5 KB
sandbox/favicon.svg 1.8 KB 1.8 KB 1.8 KB
sandbox/index.html 1.7 KB 579 B 784 B (-1 B)
Total 19.88 MB (+6.6 KB) 12.80 MB (+1.9 KB) (-36%) 13.35 MB (+1.9 KB)

Commit: 10e719d

@github-actions

github-actions Bot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

E2E Product suite failed on 437a11e6e808c55265dc10ea33b8bf85c529b913 — 38 passed, 7 failed, 17 skipped.

Failed tests:

  • Get Product Account
  • Product Signer
  • Product Account Alias
  • All Allowances
  • As a product user, I can navigate within the current product
  • Query Balance
  • Sign Raw Message

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

@BigTava
BigTava marked this pull request as draft August 21, 2026 20:01
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.

1 participant