From 835eba623a19ce7f595dc9148e0e4257c3c8f878 Mon Sep 17 00:00:00 2001 From: Viktor Liu Date: Wed, 9 Sep 2026 13:31:43 +0200 Subject: [PATCH] Raise the wasm size guard to 62MB for the browser VNC viewer --- .github/workflows/wasm-build-validation.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/wasm-build-validation.yml b/.github/workflows/wasm-build-validation.yml index 5f21472e5..700103b53 100644 --- a/.github/workflows/wasm-build-validation.yml +++ b/.github/workflows/wasm-build-validation.yml @@ -66,7 +66,10 @@ jobs: echo "Size: ${SIZE} bytes (${SIZE_MB} MB)" - if [ ${SIZE} -gt 62914560 ]; then - echo "Wasm binary size (${SIZE_MB}MB) exceeds 60MB limit!" + # 62 MiB. The guard is here to catch the binary ballooning, not to + # hold a particular number: raise it when a feature legitimately + # needs the bytes, and investigate when it moves without one. + if [ ${SIZE} -gt 65011712 ]; then + echo "Wasm binary size (${SIZE_MB}MB) exceeds 62MB limit!" exit 1 fi