Skip to content

chore(deploy): Seity layer + JamPeerTransport (#287 + #290) - #291

Draft
replghost wants to merge 210 commits into
feat/chat-seity-profilefrom
feat/jam-peer-transport-on-seity
Draft

replghost wants to merge 210 commits into
feat/chat-seity-profilefrom
feat/jam-peer-transport-on-seity

Conversation

@replghost

@replghost replghost commented Sep 26, 2026 •

Copy link
Copy Markdown
Collaborator

Current repair qualification — 2026-10-02

  • Frontend head: 0efd81fdf91163b240a4e34a41d9b2349d3c9ffd. Prior main baseline: f4012c50c3400d1186c332ad2ae50298cefd153d.
  • Native source and canonical artifact-generation pin: host-rust-core #1011 at 95d0c3242f173b22578d34f1fea03abfd3754789 (jam). Complete matching SDK/host packages remain 0.23.0; no mixed or hand-patched Wasm bundle. Generated client bytes are unchanged. Production: wasm-signing-host; separate testing bundle: wasm-signing-host,test-host.
Canonical artifact SHA-256
Client npm archive 1103910932941a1d57deb4b7278b40c22c1489bbd11c609e398dd4418922d850
Client dist/generated/client.js 79d8b4a1ec6c94af558cd7ad59e52aa4c8fb3c3634bb8dd3c0cb46126b4fab78
Host npm archive c9e03bf25117f8ed6783bca1c52b624dd8c0e3306006ce82758b7874381e3a6c
Browser signing Wasm 1d632066a6f170216925472c920c002efb9150413facd5b65b7fd57c51b7e044
Local QA CLI 581737d50b36a0b86fc12406686ad007d1ea5ebce02c2d07e82d5be8469ed97b

Native correction and causal limits

Bulletin mortal signatures now anchor to a finalized checkpoint, while nonce/runtime state comes from the freshest available signing snapshot. A checkpoint at least 64 blocks behind is rejected before broadcast. Regression coverage verifies the actual signature with a newer nonce and older finalized checkpoint, and the expiry boundary. Existing transaction retries/deadlines are unchanged; no chain error is suppressed. The affected test fixture uses parking_lot::Mutex.

The former Seity Extrinsic marked as invalid run used noncanonical best-block anchors, but retained evidence lacks the signed bytes and typed pool reason. Fork-sensitive mortality was a real correctness hazard; it is not claimed as the conclusively proved cause of that historical failure. Prior hosted Factory/Genesis timeout causes also remain unproved. No broker/readiness workaround, prewarming, extra retry, or timeout increase was added.

Final exact-head hosted checks

Workflow Result
Secret Scan success
Dependency Audit success
Bundle Size success
Static Analysis success
Performance Tests success
Tests failure
  • Functional: 86 passed, 5 failed, 3 skipped.
  • E2E: 41 passed, 1 flaky, 20 skipped.
  • Performance: 3 passed in the cold-start suite. This hosted suite measures cold start, not the Doom backend matrix.
  • Hosted flaky-test log: E2E Run E2E 2026-10-02T06:13:56.4814756Z 1 flaky
  • Corresponding native CI: success. Each of five native variants passed 21 Bulletin regressions and all-target Clippy; base full library passed 1,246 tests.

Real-runtime local verification

All six consumers passed configured build, typecheck and lint. The later README-only formatting correction passed targeted Prettier checks and did not change runtime source or canonical native package bytes. Original full Wallet→Chat→Seity test sequences, without test retries, added waits, or prewarming:

Local original sequence Tested frontend head Result, retries=0 Genesis after navigation Factory Submit
#238 0a24db4aa189adad7b93f9ff508c7949e39196ee 42 passed, 20 skipped; no failed/flaky cases 1107ms 9625ms 6057ms
#255 301a235ba13248ef4281e9e3d859919fb6cfbe06 42 passed, 20 skipped; no failed/flaky cases 1045ms 11023ms 13548ms
#287 d3dc8a41807c36b8bcdf001c47eccb9735305499 42 passed, 20 skipped; no failed/flaky cases 1029ms 6496ms 5530ms

Wallet's tested head is final. Chat and Seity tested heads precede documentation-only formatting merges; native/Wasm pins and runtime code are unchanged. Factory, Genesis-after-navigation and Submit passed on all three. These bounded passes do not establish the cause or elimination of the older hosted timeouts. Prior SharedWorker lifecycle, Chat/profile, Peer and JAM runtime proofs remain historical at their recorded heads; they were not all rerun on these artifacts.

Final hosted retest: failures remain

Frontend PR Tests workflow Functional E2E
#238 success 79 passed 42 passed, 20 skipped
#185 success 89 passed, 3 skipped 41 passed, 1 flaky, 20 skipped
#255 success 89 passed, 3 skipped 42 passed, 20 skipped
#287 failure 85 passed, 4 failed, 3 skipped 42 passed, 20 skipped
#290 success 87 passed, 2 failed, 3 skipped 42 passed, 20 skipped
#291 failure 86 passed, 5 failed, 3 skipped 41 passed, 1 flaky, 20 skipped
  • PVM and JAM Genesis Hash still flaked after navigation: the product stayed pending for the helper's existing 20 seconds; the existing CI retry passed. The helper reports this timeout as error; it is not evidence of a chain rejection. Retained traces include People-chain/local development sockets but do not expose the Asset Hub gateway WebSocket exchange, so these new failures do not establish an upstream or broker cause.
  • Peer: two navigation product-render timeouts at 45 seconds. The existing threshold tolerates these, so its green workflow is not a clean functional suite.
  • Seity: cache-off RPC-gateway resolution timed out; two navigation renders timed out; another navigation case reported failure to connect to trusted provider paseo-bulletin-next-ipfs.polkadot.io. The zero-failure host-settings gate correctly failed.
  • JAM: cache-on reload and two navigation cases reported that same provider connection error; two more navigation cases timed out. The zero-failure host-settings gate correctly failed. These logs do not establish whether the underlying cause was provider availability, runner networking, CORS, or another transport failure.
  • All six final Static Analysis and hosted cold-start Performance workflows passed; all five native CI workflows passed. That does not clear the red functional gates, Genesis flakes, or Doom matrix. No additional CI rerun, timeout/retry increase, threshold relaxation, or speculative transport patch was made.

Doom: criterion corrected, backend matrix still unqualified

The user explicitly approved 35 FPS sustained over 30 seconds, with one frame of sampling-boundary tolerance: frames + 1 >= elapsedMs * 35 / 1000. This replaces the instantaneous FPS >= 35 sample; it is an acceptance-criterion change, not a runtime speedup. Runtime and displayed FPS are unchanged; raw samples are not rounded to force a pass. Update p95 <28.6ms, cold/warm first-frame limits <3,000/<1,000ms, audio and translation-cache checks remain. The revised official RPC benchmark passed once before the vendor replacement.

The later isolated matrix used the rebuilt base pair at frontend 238ab5fa739788b2eb948ba1f807a1876edbacad, with fresh owned Chrome profiles and no concurrent builds/E2E:

Backend Observed result Qualification
smoldot-direct 1,050 frames / 30,001.1ms; p95 17.7ms; cold/warm 202.9/152.8ms; audio/cache passed PASS under the approved criterion
smoldot-shared-worker 1,038 frames / 30,001.4ms = 34.5983854 FPS; p95 17ms; cold/warm 186.4/158.4ms; other checks passed FAIL: cadence deficit retained
rpc-gateway Warm-readiness helper timed out. Its null snapshot conflated missing frame, missing canvas and evaluation errors, and earlier cold/cadence values were not retained by that helper NOT QUALIFIED; iframe disappearance is not established

Distinct diagnostics found no presentation loss in a later instrumented 24-second shared-worker sample and observed a successful hidden RPC new-document reload. Neither diagnostic supersedes the failures or qualifies performance. No evidence-proved runtime fix, guest rebuild, speculative tuning, or further unchanged gate rerun was made. The original strict RPC failure and every new failure remain retained. Next causal capture must instrument the original early 30-second window and distinguish warm lifecycle states before proposing a runtime fix.

Retention and rollout boundary

Local verification used paseo-next-v2, the pinned host-playground fixture f56294cea4430163bf16ec068844b1327441073c, and existing private QA identities. All three corrected sequences paired on their first existing setup attempt. A prior local launch failure and a misconfigured Previewnet-product run (34 passed, 20 skipped, 8 Chain/Contract failures) are retained separately, not presented as reproductions of the hosted Genesis timeout. Private traces/auth/signers were not published.

The first repair heads also exposed a README formatting failure (corrected by documentation-only commits) and a PVM cache-unit-test 5,000ms timeout. No cache runtime/test change, limit increase, or causal claim was made for that isolated timeout. Older in-flight runs superseded by the formatting correction remain recorded as cancelled, not passed.

No PR merge, force push, deployment, environment approval, SDK/npm/product/guest publication, or rollback was performed by this repair. JAM remains JAM-TEST-INSTANCE, never JAM-PUBLIC-DEVNET. The user-owned deploy: paseo.fyi label is retained; repair-triggered deployment runs 36970790399 and 36971286469 were cancelled before deployment. The earlier rollout audit is retained below: an older workflow deployed 56cea5d37577bf82684fb5c6b6e4ba81d2142938; this record does not claim live remained unchanged historically.

Historical integration qualification (superseded; retained verbatim)

Current merged-main refresh and qualification — 2026-10-01

Canonical artifact SHA-256
Client npm archive 1103910932941a1d57deb4b7278b40c22c1489bbd11c609e398dd4418922d850
Client dist/generated/client.js (not dist/index.js) 79d8b4a1ec6c94af558cd7ad59e52aa4c8fb3c3634bb8dd3c0cb46126b4fab78
Host npm archive 06f4b0798c02bb4ba17f346ca897b02a5943b30773c92c1f42eeec0f2460de30
Browser signing Wasm 28e16236f7396fd188e7a2b8df98fe7d150957c3f5b3b21f2ba8b71d373e9439

Stack and hosted qualification

Wallet → PVM → Chat → Seity; PVM → Peer; JAM contains both Seity and Peer. All updates used fresh-fetch ancestry checks and ordinary pushes. User worktrees, metadata and canonical repositories were preserved.

  • #238: 70845db96bdd21409310daeff5e471b74ab5a1c9.
  • #185: 351e5d73fab803a0fd2a4007ce2d2557aebaff05.
  • #255: bb9ad3d8921c63cf62c98b9029289f458b1a67a2.
  • #287: b03e83616857f4e4745d479776dde43cdfa6267a.
  • #290: 44ed4f830a2c8f86990e02fb061c802aa389b0bc.
  • #291: dcdef40499119183aed82a39f784ef740d494341.

Exact-head hosted results: functional 91 passed, 3 skipped; E2E 42 passed, 20 skipped; 3 passed in the cold-start suite. Tests run.

Performance Tests runs the cold-start suite, not the strict Doom matrix below. Existing thresholds, retries, deadlines and skips were not relaxed. Native current-head Core CI has 22 passed jobs and 2 path-filter skips; full iOS application CI is not claimed for the latest native heads.

Local and actual-runtime evidence

  • Typecheck, lint, format, full unit suites and builds passed across all six frontend variants. The final runtime-code cutover is unchanged; later test/docs-only fixes removed the obsolete whole-resolver mock at PVM and moved fresh bitswap module loading into per-case setup before provider fixtures are installed. The timed-out cold-import continuation can no longer issue requests through the following case’s provider. All 17 targeted bitswap cases and the root full gates passed without changing a test timeout, retry/discovery bound, assertion value or skip. The actual stopped-follow browser regression passed on every corrected descendant with the unchanged 10s deadline.
  • Wallet functional suite: 79/79 passed. Corrected PVM full functional suite: 89 passed, 3 existing artifact-dependent skips. Combined JAM functional suite: 91 passed, 3 existing artifact-dependent skips, including both strict cached-host upgrade scenarios; final JAM changes after that full run are ancestry/docs-only. Combined local E2E: 42 passed, 20 existing skips. These are separately scoped runs, not fabricated per-branch full-suite counts.
  • Real RPC fault injection stops a configured node’s active chainHead storage read; the application loads with exactly one fresh follow and no domain error. The canonical resolver owns the one retry and the remaining original sync budget. An earlier hosted Peer run failed before collection because the obsolete mock duplicated this regression title; that integration error was fixed at PVM and propagated through all descendants, without changing a gate.
  • Browser/native terminal recovery: the original CoreWorker/client/transport and native connection remained open after a real uncaught SharedWorker error. The old follow stopped; a later real chain query recovered through a new URL generation in 8,147ms, and a new follow on the same client delivered 76 live NewBlock events. Same-partition cross-tab sharing was verified before and after replacement. This does not claim continuity of the stopped follow. Evidence: main-refresh-terminal-verified-pvm.json / screenshot.
  • Real transient RPC closure/replay was also observed with one consumer receiving post-reconnect statement data and remaining alive for 130s. Evidence: main-refresh-pvm-transport.json / screenshot.
  • Feature-specific proof: Both feature boundaries remain intact. The combined branch passed real certificate-verified JAM-TEST-INSTANCE WebTransport/UP0 through the installed PVM host-frame-request path, full-genesis trusted consent, grant isolation, close/reset, pagehide disposal/stale-frame rejection, and replacement-execution re-consent. Genesis: 0x10c123f02eb6df4c01397d797a112055be691883baa2e82f83b618ed6ce45e46. No TLS bypass or new published guest. Evidence: main-refresh-jam-pvm-live.json and screenshots; Seity encrypted-content evidence is separately scoped above the Chat layer.
  • Live probes used the canonical feature bundles before final test/docs-only changes; temporary drivers/profiles were removed and public JSON/screenshots retained beside the refresh worktrees. Testnet-only identities, statements, preimages and allowances were permitted; no mainnet write was performed.

Strict Doom matrix — retained failure

Fresh isolated visible headless Chromium profiles; cold cache miss, real compiler, nonzero audio, and 360 frame updates for each backend. Warm reload uses a new document in the owned iframe: cache hit and zero translation. Gates remain FPS ≥35, p95 <28.6ms, cold first frame <3000ms, warm first frame <1000ms.

Backend FPS p95 ms Cold first ms Warm first ms Result
rpc-gateway 34.54231433545555 13.1 163.8 128.6 FAIL: FPS
smoldot-direct 35.06721215581914 13.2 173.7 110.1 PASS
smoldot-shared-worker 35.48895899032775 11.8 164.3 100.3 PASS

Evidence: main-refresh-isolated-doom-{rpc-gateway,smoldot-direct,smoldot-shared-worker}.json and screenshots. Earlier hidden-tab and concurrent-QA failures remain recorded; no clock/rounding/threshold change or failure-only rerun was used to erase them.

Other retained limits

  • Latest local Seity E2E attempt: 41 passed, 20 existing skips, 1 Submit failure (Extrinsic marked as invalid). One UI call caused the existing two native broadcast attempts; both validated then invalidated. No matching included Submit was found in the inspected canonical block range. [INFERENCE] Noncanonical mortality anchors may explain invalidation, but the exact cause is unproved without the unretained signed extrinsic bytes. Evidence: main-refresh-seity-submit-diagnosis.json. Passing hosted E2E does not erase this local failure.
  • Earlier Seity Factory hit its unchanged 30s product deadline; its original payload was later included after 47,516ms. A separate unchanged manual Factory attempt passed in 10.918s, and Factory passed in the later full local suite. Evidence: main-refresh-seity-factory-diagnosis.json. No added retries, deadline changes, or unsupported cause claim.
  • Seity’s positive encrypted-content proof is not a full registered-user profile/contact-sharing round trip. Peer/JAM proof used the installed PVM host-frame-request path with a throwaway canonical SDK driver, not a newly published guest. Some validators refused connections; successful connections used actual certificate-verified WebTransport.

Rollout boundary

Not an all-green rollout qualification. The refreshed heads were not deployed, and this qualification granted no environment approval. No PR merge, SDK/npm publication, or guest/product publication was performed. JAM remains JAM-TEST-INSTANCE. All three refresh-triggered JAM Deploy runs were cancelled before rollout; latest final-head cancellation. Other branches have no deployment labels.

The live environment changed during qualification: older Deploy run 36945647296, attempt 3 was approved under GitHub account replghost, explicitly checked out baseline 56cea5d37577bf82684fb5c6b6e4ba81d2142938, and recorded deployment success at 2026-10-02 01:19:01 UTC. Its later published-product smoke failed. The operator/client/session behind that account is unproven; this qualification granted no approval and performed no rollback. The observed live content hash changed from 4a7caf047fb7f350c1833039b93ba634698a47c56f051b8c7fc0525d4c59a5c8 to 5882695ee20df5d24a6ed2feb9e997f176fe27ecf4eafe742fabb39eba92885f; these are content hashes, not Git SHAs, and their exact byte-level mapping to a source commit is unproven.

Earlier deployment authorizations/results below are historical evidence, not approval to deploy this refreshed stack.

Historical integration qualification (superseded; retained verbatim)

Current-main integration qualification (2026-10-01)

  • Published head: 117ef1eb2928a470e65e48c05b5bf22e8ab29c02. Includes main 74bb603e518ace149a846124f6e7353aca198c57, propagated through feat(wallet): add an opt-in debug-only browser test wallet #238 → feat(polkavm): run App Manifest v2 runtimes in Dotli #185 → feat(chat): restore separate Chat authority integration above PolkaVM #255 → feat(profile): show product-referenced Seity profiles in a host drawer #287 and feat(polkavm): run App Manifest v2 runtimes in Dotli #185 → feat(polkavm): JamPeerTransport over WebTransport for JAM apps (layer atop #185) #290, then combined in chore(deploy): Seity layer + JamPeerTransport (#287 + #290) #291. All six heads are published by normal ancestry-guarded pushes; no history rewrite.
  • Preserves main’s Astro/Solid architecture, explicit package APIs, strict NodeNext, one shared native page core, execution-local callbacks/consent, and host-owned block/archive cache. Retiring an execution does not retire core-owned authentication. Concurrent quiet-RPC/transport-loss fixes for Trusted Providers silently loses Statement Store subscriptions after 120 seconds of inactivity #308 are preserved throughout the stack, including Chat/Seity/JAM HOP support.
  • Canonical client/host SDK 0.23.0 source: af087f734be4d65d9363e68e43bf134145ae0085; complete feature-specific artifacts, signing-only browser Wasm, and separate testing Wasm. Native base #540 CI and Peer #1010 CI are green. No npm or guest publication.
  • Native integration proof (before the stylesheet-only follow-up): All 44 workspace tasks passed uncached after the concurrent RPC fix; final UI/root checks, formatting, runtime attestation, and fresh production build passed. Native Wallet, Chat, Profile consent/retirement, and JAM consent/shared-core retention passed on RPC and SharedWorker without browser exceptions. The combined production functional suite passed 90 tests with three existing artifact-dependent skips, including both strict cached-host upgrade paths.
  • Final-head CI gates pass, including Unit, Functional, and E2E. Functional: 91 passed, 0 failed, 3 skipped. E2E: 42 passed, 20 skipped. Both strict cached-host upgrade scenarios passed without failures or skips. The three functional skips are existing artifact-dependent cases. No failure threshold or retry policy was relaxed.
  • Limits: Positive Profile content remains fixture-backed; no registered-user Profile round trip or real JAM validator stream is claimed. Per-call SDK AbortSignal consent dismissal and the published PVM playground codec mismatch remain pre-existing limitations.
  • Fixture-only CI follow-up: persisted settings can precede address-bar canonicalization. The two browser assertions now await the actual URL condition; no timeout increase, production change, or threshold relaxation. Ten Wallet and ten combined production browser iterations passed, followed by host type/lint and repository formatting checks. The corrected settings cases passed final-head hosted qualification.
  • Debug stylesheet follow-up: actual deployed inspection reproduced a 156 px unused gap caused by measuring the lazy debug panel before its CSS arrived. The Wallet-root fix imports CSS with the lazy module before mounting; obsolete manual-link injection and test workarounds are removed. The delayed-CSS behavioral regression failed before the fix and passes locally and on every final hosted head. All 1248 combined UI tests and three production browser cases (delayed CSS and both upgrade paths) passed. Type/lint/format checks passed. Actual local RPC and SharedWorker Doom now meet the 360 px panel without a gap. Native artifacts are unchanged by this follow-up.
  • Rollout: Deployed only to paseo.fyi at combined chore(deploy): Seity layer + JamPeerTransport (#287 + #290) #291 117ef1eb2928a470e65e48c05b5bf22e8ab29c02 (successful deployment and smoke, deployment ID 6778272827). Hosted smoke passed 8/8 published products and 19/19 wallet-free capabilities. Independent fresh HTTPS Chromium sessions confirmed Build 0.6.0 (117ef1e) and playable Doom with advancing frames/input/audio on smoldot-direct, RPC gateway, and an actual SharedWorker, with zero browser exceptions. All three screenshots and geometry checks show the 384 px frame meeting the 360 px debug panel without a gap. An actual retained production c4a08e9 session waited for consent, navigated exactly once after Reload, retained the URL plus localStorage/IndexedDB/product-cache markers, and resumed playable Doom on 117ef1e with an activated controlling worker, no waiting worker, and zero exceptions. This is an actual release upgrade, not a substituted worker-script test. Local JSON/screenshots are retained under dotli-community-worktrees/paseo-fixed-doom-* and paseo-debug-fix-retained-*. No other environment was approved; no PR merge, force push, npm release, or on-chain guest publication.

Earlier sections are historical implementation and qualification records.

Latest dependency refresh qualification (2026-09-30)

  • Published head: 4c9e1a33f72a4fb179caeb8f2aba31d282790a38; normal merges and ancestry-guarded pushes only, no history rewrite.
  • SDK: TrUAPI client + host 0.23.0, source af087f734be4d65d9363e68e43bf134145ae0085. Feature-specific 0.23.0 client/host/WASM artifacts remain unchanged; this source pin is intentionally not relabeled as the refreshed upstream branch head.
  • Provider: 0.3.1, including buffered-RPC lifecycle handling. Previewnet's four genesis hashes now match the provider catalogue and upstream reset #995; DotNS addresses/slots, suffix, and endpoints are unchanged.
  • Real-browser Previewnet check: relay, Asset Hub, Bulletin, and People each returned its configured genesis and synchronized health with a peer. This is provider-level proof, not Previewnet product-publication or identity-registration qualification.
  • Local migration format/lint/typecheck/unit/build checks passed. The final network change additionally passed all 54 configuration tests, config lint/typecheck, and the four-chain browser smoke.
  • Real built Doom passed in direct and HTTPS SharedWorker modes. The first rollout retained localStorage/IndexedDB and URL, waited for consent, and navigated exactly once after Reload.
  • Final hosted checks passed for this head, including E2E: https://github.com/paritytech/dotli-community/actions/runs/36750639441. Functional results: 49 passed, 0 failed, 3 skipped; both strict host-upgrade regressions passed without skips. The E2E workflow installs rustfmt for the checked-out signing-host source's declared nightly-toolchain (older feature sources retain their existing nightly behavior).
  • First paseo.fyi rollout at c781983 passed 8/8 published products and 19/19 wallet-free capabilities: https://github.com/paritytech/dotli-community/actions/runs/36746832626. Its functional run reported 48 passed, 1 navigation/render timeout, 3 skipped; the existing threshold passed, including both strict host-upgrade regressions.
  • Final head 4c9e1a33f72a4fb179caeb8f2aba31d282790a38 deployed only to paseo.fyi and passed 8/8 published products + 19/19 wallet-free TrUAPI capabilities: https://github.com/paritytech/dotli-community/actions/runs/36750639257. A real retained session waited for consent, reloaded exactly once, preserved URL/localStorage/IndexedDB, and rendered Doom on the final release. Fresh HTTPS SharedWorker Doom also compiled/rendered and accepted input with no page errors. No other environment was approved.

Earlier implementation and qualification history follows; the versions and heads above describe this refresh.

Summary

Deployment integration for paseo.fyi: Seity (#287) plus JamPeerTransport (#290), with the combined host from paritytech/trinity-user-agents#1011. Feature implementations are reviewed in the parent PRs; this layer integrates their source and authoritative SDK artifacts.

Stack

main → #238 → #185 → #255 → #287 → this PR, with #290 merged in. The deploy: paseo.fyi label belongs here while the two feature branches remain separate. This layer is not intended to merge into #287; once #290 flows through the base, it can be closed and the deployment label returned.

Artifacts

  • @parity/truapi and @parity/truapi-host: 0.23.0.
  • SDK and wallet WASM source: af087f734be4d65d9363e68e43bf134145ae0085 in host-rust-core#1011.
  • vendor/truapi-host.lock.json records exact archive, generated-client, and WASM digests. The wallet bundle enables wasm-signing-host, not test-host; the package also contains a separately built testing bundle.
  • Profile uses wire trait 69; JamPeerTransport uses wire trait 111. Peer permissions remain genesis-scoped and default-denied.

Startup and deployed smoke behavior

URL-selected protocol settings settle before wallet/debug initialization. Shared-mode writes drain before startup replaces the protocol iframe or reloads the page, so wallet initialization cannot remain attached to the discarded iframe.

PolkaVM execution defaults on for test environments (paseo.fyi, paseo.li, previews, and localhost) and off for production dot.li. Settings → Experimental → PolkaVM apps explicitly overrides either default; existing saved opt-outs and opt-ins remain authoritative. This is an execution gate, not build-time exclusion of runtime assets or Firebase-controlled eligibility. Product permissions remain separate from the execution setting.

Testnet product smoke exercises fresh visits without opting in. On production dot.li, the suite explicitly enables the runtime through Settings and Save & Apply first. Existing rendering, input, audio, and GPU assertions remain unchanged.

The signed-out egui-chat smoke checks the demand-driven UI by cancelling its initial sign-in prompt, using Retry to request a fresh prompt, cancelling again, and checking redraw and resize. Game rendering, input, audio, and GPU assertions remain unchanged. Failed deployment scenarios retain traces and screenshots for three days.

Qualification

Current cached-host upgrade recovery

Deployed to paseo.fyi only at 1514e45dd0a4c9316525e4c313e2962dfcb4a519. The deployment and Quality Gate passed. Hosted smoke passed 8/8 published PolkaVM products and 19/19 wallet-free TrUAPI capabilities. Native/SDK artifacts and source pins are unchanged.

The generated host worker probes each open host's sandbox-contract version. Legacy, incompatible, or nonresponsive hosts navigate to the same URL after the new shell is installed; matching hosts retain the normal update prompt. Strict sandbox validation remains intact. Persistent host storage is not cleared; ordinary reload semantics still restart in-memory app state and credentialless iframe storage.

Independent retained-session verification started with an actual service-worker-cached live Doom host at 76eb846e, then observed exactly one automatic navigation to 1514e45d, retained localStorage and IndexedDB markers, an activated controlling worker with no waiting update, and Doom rendering afterward. The isolated browser was closed and its temporary profile removed. A separate local production-built v4-to-v5 migration also rendered the real Doom guest and retained host storage.

Both new upgrade regressions passed in CI: legacy automatic recovery with persistent-data preservation, and compatible-version updates waiting for user confirmation. Their gate permits neither failures nor skips. Unit, E2E, static analysis, dependency audit, bundle size, performance, and secret scanning checks passed.

Qualification limit: the broader functional run recorded 47 passed, 2 failed, 3 skipped; its existing threshold still passed. The failures were the warm-cache URL-hygiene readiness timeout and RPC-gateway resolution timeout, not the new upgrade regressions. A focused local replay of the unchanged warm-cache test against a metrics-enabled build passed in 1.8 minutes; this does not erase the CI failures or establish their root cause.

Previous testnet-default-on release

Previously qualified and deployed head: 76eb846e06713679891c6e0cc17a65919909eced. Previous test run, including unit, functional, and live E2E, static analysis, dependency audit, bundle size, performance, and secret scanning. The paseo.fyi deployment passes its Quality Gate, production build, identity-proxy smoke, and hosted product/capability smoke.

Hosted smoke output records 8/8 published PolkaVM products without a Settings opt-in and 19/19 wallet-free TrUAPI capabilities passing. Independent isolated Chromium observed the exact deployed release, a fresh PolkaVM switch ON, sandbox gate 1, and the published Doom guest running with the compiler backend (32 rendered frames). A separate context with an existing saved 0 remained disabled before and after reload. Browser contexts were closed afterward.

Production-built hostname checks also verified fresh dot.li defaults OFF, an explicit saved production opt-in remains ON after reload, and a saved testnet opt-out remains OFF. Those checks used locally served production assets under real hostnames with Paseo network configuration; they do not claim a production-chain deployment.

The default-policy change preserves the Node-safe config boundary by passing SITE_ID at browser call sites. New CI advisories were resolved by updating existing fast-uri and brace-expansion overrides to 3.1.8 and ^5.0.11; the SDK artifacts and source pins are unchanged.

Previous refresh qualification

Previously qualified and deployed head: 032e97128983570eac9c32d6cd9dd8a41d181bca.

Previous refresh checks pass, including unit, functional, and live E2E, static analysis, bundle-size, dependency-audit, performance, and full-history secret scanning. The paseo.fyi deployment also passes its Quality Gate, production build, identity-proxy smoke, and hosted product/capability smoke.

The real hosted output records 8/8 published PolkaVM product scenarios and all 19 wallet-free TrUAPI capability checks passing at this head. Independent fresh, isolated Chromium verification observed release 032e97128983570eac9c32d6cd9dd8a41d181bca and passed feature discovery, JSON storage round-trip, and live chain-genesis lookup against the published Host Playground. The returned genesis was 0x4349b00e54897e21196fd331015fc5be0f14e118beb0375ed2bb1793737bb57a. The browser/context was closed afterward.

Artifact and release boundary

The user explicitly selected Deploy new sharing APIs to experimental paseo.fyi. The final artifacts pin af087f734be4d65d9363e68e43bf134145ae0085, incorporating the qualified Chat/Profile parent sources rather than retaining the older refresh source 08a08fbd921b56fd3ce36f6db3aad6f993bba784. Client/host archives were packed from canonical generated and compiled outputs, with matching wallet and testing WASM; exact archive/client/WASM digests are recorded in the lock. The generated client remains byte-identical to the intermediate sharing build, while the wallet runtime was refreshed.

Both packages still say 0.23.0, but the generated client declares TrUAPI version 3, Profile disclose/presentContact V2 and placeContactAvatars V3, including ChatApps, App, and Contacts audiences and opaque-handle selection. Browser integration includes audience-wide consent and encrypted wallet/chain-scoped ProfilePersonalReferencesReceived storage. These are explicitly selected runtime-contract changes, not a browser-only refresh.

The intermediate deployment run at f46219daf8d1957c4f3cb2c5857a4202d33d735a deployed successfully and passed 19/19 capabilities, but all eight product scenarios failed at the default-off PolkaVM gate. The smoke setup now performs the real Settings opt-in; no production gate or existing product assertion was weakened. The passing final run above supersedes that failed qualification.

Historical evidence and limits

The earlier successful deployment at 57aaf948a7b9d9fb6f35b9a731ad9cad9856a859, using host source 08a08fbd921b56fd3ce36f6db3aad6f993bba784, also passed 8/8 products and 19/19 wallet-free capabilities. Its previously recorded independent fresh-context Chromium verification observed that exact release and passed feature discovery, JSON storage round-trip, and live chain-genesis lookup. That evidence remains historical and is not reassigned to a newer head.

Earlier local production-origin browser execution passed all 19 capabilities, shared-backend persistence, and a URL-triggered backend reload. The historical macOS product run passed 4/8 because pointer-capture/WebGPU checks were unavailable there; the final hosted Ubuntu run passes all eight.

These smoke results do not qualify a live Profile/Contacts/avatar-sharing scenario, a live own-profile/avatar fetch, or a new JAM-validator transport trial. No wallet creation, funding, payment, or on-device Chat message was performed for this deployment qualification. The earlier malformed-reference Profile smoke remains limited to that rejection path.

After pulling local-file SDK dependencies, use bun install --force --frozen-lockfile to replace Bun's cached packages. SDK provenance is the exact source and digests in the lock, not the unchanged package version.

The public resolver fixture exemption still matches only its exact value and path; changed values and the same value elsewhere remain detectable. Only the explicitly selected environment deployments were approved; no PR approval or merge was performed.

Implements the TrUAPI PeerTransport service in the browser over
WebTransport, directly to JAM validators, for PolkaVM apps whose App
manifest v2 declares capabilities.network.jam = { genesis }.

The grant is derived only from the resolved, verified manifest, covers
exactly that genesis, is execution-local and is closed when the app
stops, fails or relaunches. Trait-21 frames are answered by the local
session; every other frame, including the handshake reply the guest
sees, still comes from the authenticated host port. Without the
capability nothing changes. The in-app menu lists the grant and its
limits.

Vendors @parity/truapi and @parity/truapi-host 0.20.0 from
host-rust-core feat/pvm-peer-transport fc2df9d3 (#1010), the host layer
on top of #540; the web wasm keeps wasm-signing-host as before.
Picks up PeerTransport's move to wire trait 23 (clear of Contacts, Game
and Profile).
# Conflicts:
#	vendor/truapi-host.lock.json
#	vendor/truapi-host/dist/wasm/web/truapi_server.d.ts
#	vendor/truapi-host/dist/wasm/web/truapi_server.js
#	vendor/truapi-host/dist/wasm/web/truapi_server_bg.wasm
#	vendor/truapi-host/dist/wasm/web/truapi_server_bg.wasm.br
#	vendor/truapi-host/dist/wasm/web/truapi_server_bg.wasm.d.ts
#	vendor/truapi-host/dist/wasm/web/truapi_server_bg.wasm.gz
#	vendor/truapi/dist/generated/client.d.ts
#	vendor/truapi/dist/generated/client.js
#	vendor/truapi/dist/generated/internal-client.d.ts
#	vendor/truapi/dist/generated/internal-client.js
#	vendor/truapi/dist/generated/wire-decode.js
#	vendor/truapi/dist/generated/wire-table.d.ts
#	vendor/truapi/dist/generated/wire-table.js
#	vendor/truapi/dist/playground/codegen/truapi-dts.d.ts
#	vendor/truapi/dist/playground/codegen/truapi-dts.js
@replghost replghost added the deploy: paseo.fyi Deploy this pull request to paseo.fyi label Sep 26, 2026
@github-actions

github-actions Bot commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

Bundle Size Report

Warning

Bundle budget exceeded — not a blocker, but please confirm the regression is intentional.

  • host-eager-path exceeded budget: 172554 B gzip > 168000 B
  • sandbox-eager-path exceeded budget: 122315 B gzip > 87000 B

Eager path (module entry + modulepreloaded chunks):

Path Raw Brotli Gzip
host/(eager path) 440.5 KB (+43.6 KB) 147.5 KB (+15.7 KB) 168.5 KB (+18.0 KB)
sandbox/(eager path) 370.4 KB (+135.5 KB) 102.9 KB (+35.9 KB) 119.4 KB (+41.9 KB)

Chunks over 500 KB:

File Raw Brotli Gzip
host/assets/bridge.js 819.5 KB (+722.5 KB) 179.3 KB (+157.8 KB) 229.9 KB (+203.9 KB)
host/assets/truapi_provider_bg.wasm 4.01 MB 955.7 KB 1.27 MB
host/assets/truapi_server_bg.wasm 4.48 MB (+1.79 MB) 1.23 MB (+534.7 KB) 1.67 MB (+747.1 KB)
host/assets/truapi_verifiable_bg.wasm 4.89 MB (+703 B) 4.61 MB (-9 B) 4.64 MB (+128 B)
sandbox/polkavm-runtime/polkavm-browser-runtime.wasm 1.07 MB 186.3 KB 250.6 KB
Total 17.23 MB (+4.03 MB) 7.77 MB (+1010.1 KB) (compression rate: 55%) 8.75 MB (+1.32 MB)
All files
File Raw Brotli Gzip
host/.well-known/apple-app-site-association 505 B 505 B 505 B
host/.well-known/assetlinks.json 2.1 KB 343 B 427 B
host/assets/AccountContent.js 2.0 KB (+551 B) 903 B (+165 B) 1.0 KB (+186 B)
host/assets/AuthModal.js 5.1 KB 2.0 KB (-7 B) 2.3 KB
host/assets/Chain.js 29.3 KB (+6.0 KB) 7.8 KB (+1.6 KB) 8.6 KB (+1.8 KB)
host/assets/ChainsContent.js 6.0 KB 2.2 KB 2.5 KB
host/assets/ChatDock.js 2.3 KB (+148 B) 1.1 KB (+63 B) 1.2 KB (+75 B)
host/assets/ChatPanel.js 21.8 KB (+2.5 KB) 6.7 KB (+726 B) 7.6 KB (+804 B)
host/assets/Dialog.js 1.1 KB 599 B 706 B
host/assets/Landing.js 7.1 KB 2.8 KB (+1 B) 3.3 KB (-3 B)
host/assets/LandingPage.js 2.0 KB (+189 B) 931 B (+91 B) 1023 B (+86 B)
host/assets/LoadingScreen.js 3.8 KB 1.5 KB (-3 B) 1.8 KB (-1 B)
host/assets/PermissionsContent.js 9.5 KB (+606 B) 2.7 KB (+75 B) 3.0 KB (+86 B)
host/assets/Popover.js 4.9 KB 1.9 KB 2.2 KB (-1 B)
host/assets/ProfileDrawer.js 3.6 KB 1.4 KB 1.7 KB
host/assets/SessionStore.js 54.7 KB 15.7 KB 19.4 KB
host/assets/SettingsContent.js 8.3 KB (+439 B) 2.9 KB (+111 B) 3.4 KB (+133 B)
host/assets/ThemeToggle.js 9.5 KB (+894 B) 2.9 KB (+297 B) 3.3 KB (+336 B)
host/assets/Topbar.astro_astro_type_script_index_0_lang.js 591 B 591 B 591 B
host/assets/TopbarActions.js 9.9 KB (+77 B) 3.3 KB (+22 B) 3.7 KB (+33 B)
host/assets/TopbarReveal.js 831 B 831 B 831 B
host/assets/UrlPill.astro_astro_type_script_index_0_lang.js 526 B 526 B 526 B
host/assets/UrlPillShield.js 2.2 KB 959 B (+10 B) 1.0 KB (+1 B)
host/assets/VerificationContent.js 1.6 KB 533 B (-1 B) 634 B (+1 B)
host/assets/_md.js 1.6 KB (-2 B) 799 B (+1 B) 867 B (-1 B)
host/assets/_u64.js 768 B 768 B 768 B
host/assets/account.js 990 B (+194 B) 990 B (+194 B) 990 B (+194 B)
host/assets/active.CPsmhfHv.js 238 B 238 B 238 B
host/assets/app-roots.js 314 B 314 B 314 B
host/assets/auth-controller.js 5.1 KB (+317 B) 1.9 KB (+77 B) 2.2 KB (+99 B)
host/assets/auth.js 372 B 372 B 372 B
host/assets/base.js 4.6 KB 1.9 KB 2.0 KB
host/assets/blake2.js (×2) 12.7 KB (-480 B) 4.9 KB (-182 B) 5.6 KB (-180 B)
host/assets/block-watch.js 1.1 KB (-5 B) 566 B (-5 B) 642 B (-5 B)
host/assets/bridge.js 819.5 KB (+722.5 KB) 179.3 KB (+157.8 KB) 229.9 KB (+203.9 KB)
host/assets/browser.js 22.6 KB 7.4 KB (-1 B) 8.4 KB (-1 B)
host/assets/chain-sync.js 3.1 KB (+238 B) 1.2 KB (+87 B) 1.4 KB (+110 B)
host/assets/chat-panel.js 2.7 KB (-5 B) 1.0 KB (+4 B) 1.1 KB
host/assets/cid-cache.js 3.1 KB (+1015 B) 1.0 KB (+255 B) 1.2 KB (+294 B)
host/assets/client.js (×2) 13.2 KB (+1.8 KB) 4.5 KB (+483 B) 5.1 KB (+555 B)
host/assets/create-popover.js 4.6 KB 1.6 KB (-1 B) 1.8 KB (-2 B)
host/assets/create-store.js 106.1 KB 31.7 KB (-17 B) 35.5 KB (+2 B)
host/assets/db.js 1.9 KB (-18 B) 684 B (+7 B) 796 B (-2 B)
host/assets/device.js 235 B 235 B 235 B
host/assets/dist.js 65 B 65 B 65 B
host/assets/dotli-debug-bus.js (×2) 1.1 KB (+367 B) 1.1 KB (+367 B) 1.1 KB (+367 B)
host/assets/drag.js 430 B 430 B 430 B
host/assets/errors.js (×2) 3.1 KB 1.6 KB 1.7 KB
host/assets/fetch.js 64.6 KB (+203 B) 16.7 KB (+62 B) 19.2 KB (+50 B)
host/assets/focus.js 1.0 KB 435 B 534 B
host/assets/hex.js 160 B 160 B 160 B
host/assets/host-update-4f2b6f1f8941571f30d85a803b15b2f6a692fa64.js 1.1 KB 484 B 597 B
host/assets/html.js 574 B 574 B 574 B
host/assets/idle.js 323 B 323 B 323 B
host/assets/index.css 71.0 KB (+6.7 KB) 11.4 KB (+1.0 KB) 13.1 KB (+1.3 KB)
host/assets/index.astro_astro_type_script_index_0_lang.js 42.5 KB (+2.7 KB) 13.6 KB (+902 B) 15.1 KB (+986 B)
host/assets/ipfs.js 789 B 789 B 789 B
host/assets/lazy.js (×2) 1.4 KB (-9.0 KB) 1.4 KB (-2.4 KB) 1.4 KB (-2.8 KB)
host/assets/loading.js 242 B 242 B 242 B
host/assets/log.js 3.8 KB (+227 B) 1.5 KB (+101 B) 1.7 KB (+104 B)
host/assets/manifest-types.js 7.1 KB (+3.4 KB) 2.2 KB (+1.0 KB) 2.4 KB (+1.1 KB)
host/assets/mode.js 2.0 KB (+193 B) 713 B (+71 B) 787 B (+85 B)
host/assets/mount.js (×2) 146.3 KB (+38.0 KB) 41.3 KB (+9.8 KB) 47.5 KB (+11.4 KB)
host/assets/mount.css 22.8 KB 4.7 KB 5.3 KB
host/assets/network.js (×2) 6.5 KB (+299 B) 2.6 KB (+133 B) 2.9 KB (+129 B)
host/assets/overlay-root.js 179 B 179 B 179 B
host/assets/perf.js 148 B 148 B 148 B
host/assets/permission-changes.js 342 B 342 B 342 B
host/assets/permissions.js (×2) 2.5 KB (+261 B) 1.0 KB (+59 B) 1.2 KB (+81 B)
host/assets/preload-helper.js 1.3 KB 606 B 731 B
host/assets/product-frame-layout.js 1.2 KB 536 B (-10 B) 603 B (-2 B)
host/assets/product.js 412 B 412 B 412 B
host/assets/profile-record.js 8.4 KB 3.6 KB 3.9 KB
host/assets/proofs.js 26.0 KB 7.5 KB (-8 B) 8.3 KB (+1 B)
host/assets/provider.js 22.2 KB 5.9 KB (+4 B) 6.7 KB (+1 B)
host/assets/recent-labels.js 4.9 KB 2.1 KB (-3 B) 2.4 KB
host/assets/resolve.js 4.1 KB (-326 B) 1.6 KB (-142 B) 1.7 KB (-168 B)
host/assets/rolldown-runtime.js 898 B (+182 B) 898 B (+182 B) 898 B (+182 B)
host/assets/root.js 441 B 441 B 441 B
host/assets/rpc-chain.js 28.9 KB 9.3 KB (+3 B) 10.2 KB (+3 B)
host/assets/rpc-resolve.js 2.8 KB (+365 B) 1.1 KB (+146 B) 1.3 KB (+141 B)
host/assets/runtime-config.js 13.0 KB (+8.3 KB) 4.5 KB (+3.0 KB) 5.0 KB (+3.3 KB)
host/assets/scale-ts.js 4.8 KB 1.9 KB 2.1 KB
host/assets/scale.js 1.6 KB (-559 B) 740 B (-259 B) 849 B (-277 B)
host/assets/scheduled-notifications.js 8.8 KB 3.0 KB 3.3 KB
host/assets/seity.DvANEjoc.js 22.7 KB 7.4 KB 8.2 KB
host/assets/settings-actions.js 10.4 KB 3.8 KB 4.2 KB
host/assets/settings.js 399 B (+59 B) 399 B (+59 B) 399 B (+59 B)
host/assets/sha2.js 1.9 KB 968 B 1.1 KB
host/assets/shared-mode.js (×2) 2.0 KB (+36 B) 968 B (+92 B) 1.0 KB (+98 B)
host/assets/solid.js 48.0 KB 16.5 KB 18.0 KB
host/assets/spans.js 741 B (-24 B) 741 B (-24 B) 741 B (-24 B)
host/assets/src.js 79.9 KB (+32 B) 25.1 KB (+59 B) 27.8 KB (+17 B)
host/assets/theme-controller.js 801 B 801 B 801 B
host/assets/toasts.js 4.4 KB (+36 B) 1.6 KB (+14 B) 1.8 KB (+15 B)
host/assets/topbar.-OaTyej4.js 2.3 KB 943 B 1.1 KB
host/assets/topbar.Bq-n4Klp.js 196 B 196 B 196 B
host/assets/topbar.js 620 B 620 B 620 B
host/assets/truapi_provider_bg.wasm 4.01 MB 955.7 KB 1.27 MB
host/assets/truapi_server_bg.wasm 4.48 MB (+1.79 MB) 1.23 MB (+534.7 KB) 1.67 MB (+747.1 KB)
host/assets/truapi_verifiable.js 14.3 KB 2.8 KB 3.2 KB
host/assets/truapi_verifiable_bg.wasm 4.89 MB (+703 B) 4.61 MB (-9 B) 4.64 MB (+128 B)
host/assets/twoX.js 8.5 KB 3.0 KB (+1 B) 3.3 KB
host/assets/ui.js 4.1 KB 1.4 KB (+3 B) 1.6 KB
host/assets/url-pill.js 371 B 371 B 371 B
host/assets/use-store.js 368 B 368 B 368 B
host/assets/utils.js 3.5 KB 1.4 KB 1.5 KB
host/assets/verification-glyphs.js 259 B 259 B 259 B
host/assets/verify.js (×2) 12.7 KB (-1.9 KB) 4.3 KB (-884 B) 4.7 KB (-1.2 KB)
host/assets/web.js 24.9 KB (-24.6 KB) 8.1 KB (-6.5 KB) 8.9 KB (-7.3 KB)
host/assets/worker-runtime.js 53.3 KB (+17.4 KB) 12.0 KB (+3.3 KB) 13.7 KB (+3.9 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 7.4 KB (+463 B) 2.2 KB (+172 B) 2.5 KB (+177 B)
host/host_version.json 109 B 109 B 109 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 33.4 KB (+611 B) 9.0 KB (+112 B) 10.8 KB (+163 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 6.0 KB (+1.2 KB) 2.2 KB (+397 B) 2.5 KB (+446 B)
sandbox/assets/bitswap-bridge.js 1.0 KB 561 B (-2 B) 620 B (-1 B)
sandbox/assets/fetch.js 3.7 KB 1.3 KB (+2 B) 1.5 KB
sandbox/assets/index.css 71.0 KB (+6.7 KB) 11.4 KB (+1.0 KB) 13.1 KB (+1.3 KB)
sandbox/assets/index.js 366.7 KB (+135.5 KB) 101.6 KB (+35.9 KB) 118.3 KB (+42.0 KB)
sandbox/assets/mount.js 55.6 KB (+2.3 KB) 18.7 KB (+612 B) 20.6 KB (+689 B)
sandbox/favicon.svg 1.8 KB 1.8 KB 1.8 KB
sandbox/host_version.json 108 B 108 B 108 B
sandbox/index.html 2.6 KB (+72 B) 767 B (+17 B) 1.0 KB (+35 B)
sandbox/polkavm-runtime/LICENSE-MPL-2.0 16.3 KB 16.3 KB 16.3 KB
sandbox/polkavm-runtime/PolkaVM-LICENSE-APACHE 10.6 KB 10.6 KB 10.6 KB
sandbox/polkavm-runtime/PolkaVM-LICENSE-MIT 1023 B 1023 B 1023 B
sandbox/polkavm-runtime/SHA256SUMS 631 B 631 B 631 B
sandbox/polkavm-runtime/SOURCE.json 515 B 515 B 515 B
sandbox/polkavm-runtime/polkavm-browser-runtime.wasm 1.07 MB 186.3 KB 250.6 KB
sandbox/polkavm-runtime/polkavm-gpu-worker.js 67.5 KB 11.5 KB 13.4 KB
sandbox/polkavm-runtime/polkavm-worker.js 116.9 KB 18.6 KB 22.6 KB
Total 17.23 MB (+4.03 MB) 7.77 MB (+1010.1 KB) (compression rate: 55%) 8.75 MB (+1.32 MB)

Commit: 4f2b6f1

@github-actions

github-actions Bot commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

⚡ Performance Report

Cold Start

Overall: ⚪ unchanged  |  p50: 11.30s → 10.92s (-3.3%)  |  p95: 14.48s → 12.12s (-16.3%)  |  Mann-Whitney: z=0.29 not significant

Phase breakdown
Phase Base p50 PR p50 p50 Δ Base p95 PR p95 p95 Δ Verdict
End-to-end 11.30s 10.92s -378ms (-3.3%) 14.48s 12.12s -2361ms (-16.3%) ⚪ unchanged
Host total 6.26s 7.75s +1.49s (+23.8%) 6.58s 8.21s +1.63s (+24.8%) 🔴 regressed
Name resolution 6.02s 7.30s +1.28s (+21.3%) 6.33s 7.74s +1.41s (+22.3%) 🔴 regressed
App total 3.09s 3.08s -10ms (-0.3%) 4.05s 3.51s -538ms (-13.3%) ⚪ unchanged

Warm Start

Overall: 🔴 regressed  |  p50: 477ms → 7.65s (+1502.9%)  |  p95: 518ms → 7.92s (+1429.0%)  |  Mann-Whitney: z=4.40 ✅ significant

Phase breakdown
Phase Base p50 PR p50 p50 Δ Base p95 PR p95 p95 Δ Verdict
End-to-end 477ms 7.65s +7.17s (+1502.9%) 518ms 7.92s +7.40s (+1429.0%) 🔴 regressed
Host total 149ms 7.29s +7.14s (+4794.0%) 176ms 7.57s +7.39s (+4200.0%) 🔴 regressed
Name resolution — 7.11s new — — — —
App total 299ms 316ms +17ms (+5.7%) 334ms 324ms -10ms (-3.0%) 🔴 regressed

Lukewarm Start (different site, same session)

Overall: 🔴 regressed  |  p50: 11.87s → 14.11s (+18.8%)  |  p95: 19.36s → 20.06s (+3.6%)  |  Mann-Whitney: z=2.51 ✅ significant

Phase breakdown
Phase Base p50 PR p50 p50 Δ Base p95 PR p95 p95 Δ Verdict
End-to-end 11.87s 14.11s +2.23s (+18.8%) 19.36s 20.06s +705ms (+3.6%) 🔴 regressed
Host total 7.11s 8.48s +1.37s (+19.3%) 7.42s 9.18s +1.76s (+23.7%) 🔴 regressed
Name resolution 5.79s 6.76s +972ms (+16.8%) 6.09s 7.37s +1.28s (+21.1%) 🔴 regressed
App total 4.25s 4.17s -71ms (-1.7%) 5.88s 6.78s +899ms (+15.3%) ⚪ unchanged

Commit: 4f2b6f1  |  Outliers (>2x best) discarded before stats

PeerTransport access is now RemotePermission::JamPeers { genesis }, a
runtime permission like ChainSubmit, instead of an App-manifest
capability. capabilities.network is no longer parsed and no grant is
derived from the manifest.

Every PolkaVM application gets an execution-local PeerTransport
session. Its first dial of a JAM network sends
permissions.request_remote_permission(JamPeers { genesis }) over the
authenticated host port with a random request id of the sandbox's own,
and the sandbox consumes the reply; the guest never sees it. The core
checks the product's stored decision, prompts while it is undetermined
and persists the answer per product and genesis. The session asks once
per genesis; a refusal answers NotGranted and opens no WebTransport. An
app that never dials is never asked. Frame routing reads the wire
header only.

The host prompt asks "Allow <product> to connect to JAM network
0x…… (read-only peer access, no accounts or signing)?" with Deny,
Always allow and Allow once. The in-app "Network access" menu lists the
networks granted to the running session.

Vendors @parity/truapi and @parity/truapi-host 0.20.0 from
host-rust-core feat/pvm-peer-transport 4f5a7504 (#1010).
Brings the JamPeers runtime permission (#290 67015c5) and re-vendors the
host from #1011 at e7dbb0aa.
Picks up the bounded 10 s dial (prompt included) and CANCEL handling in
the browser PeerTransport session. The web wasm is byte-identical.
Brings #290 889d53b and re-vendors the host from #1011 at 379c4136.
Follows paritytech/trinity-user-agents#1010 at 50284f97, which renames the
TrUAPI service to JamPeerTransport because it is JAM-specific (JamPeers
permission, jamnp-s ALPN, JAMNP-S identity and framing). Wire-identical:
trait 23, methods 0..6, same SCALE layout, same JamPeers permission.

The sandbox now imports @parity/truapi/jam-peer-transport
(createJamPeerTransportSession, JamPeerTransportSession,
JAM_PEER_TRANSPORT_*), and the vendored @parity/truapi and
@parity/truapi-host are rebuilt from that commit.
Brings in the JamPeerTransport rename (#290 at 8980057). Only vendor/
conflicted; it is rebuilt from paritytech/trinity-user-agents#1011
(feat/jam-peer-transport-on-seity) at c85c26b6, the --no-ff merge of the
renamed #1010. Wire-identical: trait 23, methods 0..6, JamPeers.
@replghost replghost changed the title chore(deploy): Seity layer + PeerTransport (#287 + #290) chore(deploy): Seity layer + JamPeerTransport (#287 + #290) Sep 27, 2026
@replghost replghost removed the deploy: paseo.fyi Deploy this pull request to paseo.fyi label Oct 2, 2026
@replghost replghost added the deploy: paseo.fyi Deploy this pull request to paseo.fyi label Oct 2, 2026
@replghost replghost removed the deploy: paseo.fyi Deploy this pull request to paseo.fyi label Oct 3, 2026
# Conflicts:
#	vendor/truapi-host.lock.json
# Conflicts:
#	vendor/truapi-host.lock.json
#	vendor/truapi-host/dist/wasm/testing/truapi_server.d.ts
#	vendor/truapi-host/dist/wasm/testing/truapi_server.js
#	vendor/truapi-host/dist/wasm/testing/truapi_server_bg.wasm
#	vendor/truapi-host/dist/wasm/testing/truapi_server_bg.wasm.d.ts
#	vendor/truapi-host/dist/wasm/web/truapi_server.d.ts
#	vendor/truapi-host/dist/wasm/web/truapi_server.js
#	vendor/truapi-host/dist/wasm/web/truapi_server_bg.wasm
#	vendor/truapi-host/dist/wasm/web/truapi_server_bg.wasm.d.ts
#	vendor/truapi/dist/generated/client.d.ts
#	vendor/truapi/dist/generated/client.js
#	vendor/truapi/dist/generated/internal-client.d.ts
#	vendor/truapi/dist/generated/internal-client.js
#	vendor/truapi/dist/playground/codegen/truapi-dts.d.ts
#	vendor/truapi/dist/playground/codegen/truapi-dts.js

This branch was successfully deployed

1 active deployment
paseo.fyi — 0afd9f17 Deployed Oct 3, 2026 by replghost via Deploy paseo.fyi #1753
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