pcbjam/scripts/deploy
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Gergő Törcsvári f8ae378645
perf(deploy): parallelize publish-wasm brotli (q11) across files
brotli q11 over the ~320MB wasm set ran serially on one core (~0.4MB/s),
dominating the release publish job. Compress every to-be-uploaded file
concurrently on the libuv threadpool (compressBytesAsync + UV_THREADPOOL_SIZE
sized to the machine), so wall time drops from sum-of-files to roughly the
largest single file (kicad_editor.wasm): 329s for the full set locally vs
~11.5min of CPU. Upload ordering invariants unchanged: meta.json still last
per tool, registry last overall; moved-tag guard and reuse path untouched.
Also adds BROTLI_PARAM_SIZE_HINT and moves the publish-wasm job to
ubicloud-standard-8 so there is a core per file.

Verified byte-identical CDN layout vs the old script (local driver, pinned
builtAt), blob roundtrip to source sha, reuse + --from-registry modes.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JQ9npuB6uLvkv6gzBV5GPh
2026-07-28 12:56:10 +02:00
..
lib perf(deploy): parallelize publish-wasm brotli (q11) across files 2026-07-28 12:56:10 +02:00
build-demo.mjs feat(deploy/site): serve the apex from the same Pages project, no redirect rule 2026-07-27 14:34:16 +02:00
build-editor.mjs standalone-hardening 0006: redirect non-editor routes to the mgmt app 2026-07-16 17:24:37 +02:00
dev-demo.mjs feat(libs): eeschema symbol-chooser footprint selector + preview via publish-time fp-index 2026-07-07 21:09:21 +02:00
publish-content.mjs feat(demo): demo.pcbjam.com deploy — versioned WASM CDN + static gallery + tag CI 2026-06-19 11:39:09 +02:00
publish-libs.ts feat(libs): eeschema symbol-chooser footprint selector + preview via publish-time fp-index 2026-07-07 21:09:21 +02:00
publish-models.ts feat(3d): lazy 3D model delivery R2→IDB→WASM 2026-07-02 11:35:36 +02:00
publish-wasm.mjs perf(deploy): parallelize publish-wasm brotli (q11) across files 2026-07-28 12:56:10 +02:00
upload-models-r2.sh feat(3d): live models CDN — 10.0.3 publish wiring + wrl→step fallback 2026-07-02 11:35:37 +02:00
wasm-cache-hash.mjs plugins 0002: kicad_tools --ipc356 + --fab-components fab exporters 2026-07-27 14:01:30 +02:00