Skip to content

Build deploy artifacts locally instead of on the remote#11

Merged
leonardocustodio merged 2 commits into
mainfrom
rs/build-artifacts-locally
Jun 14, 2026
Merged

Build deploy artifacts locally instead of on the remote#11
leonardocustodio merged 2 commits into
mainfrom
rs/build-artifacts-locally

Conversation

@justraman

Copy link
Copy Markdown
Contributor

make deploy now runs bun run build on the local machine and rsyncs only the resulting dist/ directories into the nginx web root, instead of syncing the full source tree to /tmp/dotli-build and building the workspace on the remote.

@github-actions

github-actions Bot commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Bundle Size Report

Chunks over 500 KB:

File Raw Brotli Gzip
host/assets/index.js 544.6 KB 148.2 KB (+61 B) 176.2 KB (+8 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/previewnet.smol.json 698.3 KB 49.3 KB 128.7 KB
host/assets/smoldot_worker.js 2.92 MB 2.19 MB 2.20 MB
sandbox/assets/index.js 555.2 KB 152.7 KB (+274 B) 181.4 KB
Total 11.08 MB (+12.5 KB) 5.54 MB (+8.4 KB) (-50%) 5.97 MB (+9.0 KB)
All files
File Raw Brotli Gzip
host/.well-known/apple-app-site-association 738 B 738 B 738 B
host/.well-known/assetlinks.json 986 B 986 B 986 B
host/assets/auth.js 461.3 KB 175.4 KB (-94 B) 221.4 KB (+1 B)
host/assets/blake2.js 10.2 KB 3.2 KB (+1 B) 3.7 KB (-2 B)
host/assets/bridge.js 5.1 KB 1.7 KB (+3 B) 1.9 KB
host/assets/browser.js 22.9 KB 7.6 KB 8.6 KB
host/assets/client.js 93.0 KB 27.4 KB (+25 B) 30.1 KB (+1 B)
host/assets/container.js 48.8 KB 12.3 KB (+24 B) 13.8 KB
host/assets/dist.js 28.8 KB (+8.2 KB) 10.0 KB (+5.2 KB) 11.1 KB (+5.7 KB)
host/assets/dist.js 24.8 KB (+4.3 KB) 7.7 KB (+2.9 KB) 8.6 KB (+3.2 KB)
host/assets/dist.js 20.6 KB 4.8 KB (+13 B) 5.4 KB
host/assets/dotli-debug-bus.js 495 B 495 B 495 B
host/assets/index.js 544.6 KB 148.2 KB (+61 B) 176.2 KB (+8 B)
host/assets/index.css 42.1 KB 6.6 KB 7.4 KB
host/assets/log.js 992 B 992 B 992 B
host/assets/manifest.js 22.6 KB 7.3 KB (+21 B) 8.0 KB (-1 B)
host/assets/nanoevents.js 215 B 215 B 215 B
host/assets/nova-scale.js 6.7 KB 2.6 KB 2.9 KB
host/assets/panel.js 84.9 KB 23.0 KB (+15 B) 26.3 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 129.4 KB 22.9 KB 31.7 KB
host/assets/previewnet.smol.json 698.3 KB 49.3 KB 128.7 KB
host/assets/resolve.js 152 B 152 B 152 B
host/assets/rolldown-runtime.js 694 B 694 B 694 B
host/assets/rpc-resolve.js 2.5 KB 1.0 KB (+18 B) 1.2 KB (-2 B)
host/assets/shared-mode.js 1.8 KB 787 B (+1 B) 880 B
host/assets/smoldot_worker.js 2.92 MB 2.19 MB 2.20 MB
host/assets/spans.js 1.7 KB 808 B 953 B
host/assets/src.js 1.9 KB 891 B (-3 B) 1003 B (+5 B)
host/assets/styles.css 15.1 KB 3.2 KB 3.8 KB
host/assets/substrate-client.js 7.2 KB 2.7 KB (+5 B) 3.0 KB (+3 B)
host/assets/ws.js 25.8 KB 8.4 KB (+1 B) 9.1 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.8 KB 1.1 KB (-4 B) 1.2 KB (+3 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 20.1 KB 4.4 KB (-3 B) 5.4 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 8.7 KB 2.8 KB (-1 B) 3.2 KB (+4 B)
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.css 42.1 KB 6.6 KB 7.4 KB
sandbox/assets/index.js 555.2 KB 152.7 KB (+274 B) 181.4 KB
sandbox/favicon.svg 1.8 KB 1.8 KB 1.8 KB
sandbox/index.html 1.7 KB 582 B (-1 B) 785 B (-1 B)
Total 11.08 MB (+12.5 KB) 5.54 MB (+8.4 KB) (-50%) 5.97 MB (+9.0 KB)

Commit: d14d225

@github-actions

Copy link
Copy Markdown
Contributor

E2E Product suite failed on 7f3833b0ff2d55fa64bbfd21f9ad440b2813f87c — 40 passed, 5 failed, 17 skipped.

Failed tests:

  • Get User Identity
  • Submit
  • In-App
  • Factory
  • Submit

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

@github-actions

Copy link
Copy Markdown
Contributor

⚡ Performance Report

Cold Start

Phase breakdown
Phase Base p50 PR p50 p50 Δ Base p95 PR p95 p95 Δ Verdict
Host total 6.06s 6.35s +296ms (+4.9%) 6.37s 6.71s +346ms (+5.4%) 🔴 regressed
Name resolution 6.01s 6.30s +290ms (+4.8%) 6.33s 6.67s +343ms (+5.4%) 🔴 regressed

Warm Start

Phase breakdown
Phase Base p50 PR p50 p50 Δ Base p95 PR p95 p95 Δ Verdict
Host total 9.07s 9.21s +144ms (+1.6%) 10.42s 11.48s +1.06s (+10.2%) ⚪ unchanged
Name resolution 9.05s 9.20s +145ms (+1.6%) 10.40s 11.46s +1.06s (+10.2%) ⚪ unchanged

Lukewarm Start (different site, same session)

Overall: 🔴 regressed  |  p50: 7.59s → 8.11s (+6.9%)  |  p95: 8.81s → 8.83s (+0.2%)  |  Mann-Whitney: z=2.22 ✅ significant

Phase breakdown
Phase Base p50 PR p50 p50 Δ Base p95 PR p95 p95 Δ Verdict
End-to-end 7.59s 8.11s +522ms (+6.9%) 8.81s 8.83s +16ms (+0.2%) 🔴 regressed
Host total 1.01s 1.09s +77ms (+7.6%) 1.03s 1.11s +75ms (+7.3%) 🔴 regressed
Name resolution 932ms 1.01s +79ms (+8.5%) 963ms 1.04s +77ms (+8.0%) 🔴 regressed
App total 6.53s 6.96s +440ms (+6.7%) 7.76s 7.68s -81ms (-1.0%) 🟠 uncertain

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

@BigTava

BigTava commented Jun 13, 2026

Copy link
Copy Markdown
Collaborator

@leonardocustodio can you check this one?

@leonardocustodio leonardocustodio left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Tested here, seems to work fine, compiled locally, updated the files.

@leonardocustodio leonardocustodio merged commit 1751a40 into main Jun 14, 2026
11 of 12 checks passed
@leonardocustodio leonardocustodio linked an issue Jun 14, 2026 that may be closed by this pull request
@leonardocustodio leonardocustodio deleted the rs/build-artifacts-locally branch June 16, 2026 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Provisioning requirements for dotli

3 participants