Skip to content

arigl_web_smoke: no silent-relay case on the threaded arigl-web - #1593

Merged
transfix merged 1 commit into
masterfrom
fix/arigl-web-mt-no-ws-smoke
Nov 28, 2026
Merged

transfix merged 1 commit into
masterfrom
fix/arigl-web-mt-no-ws-smoke

Conversation

@transfix

Copy link
Copy Markdown
Owner

v4.0.10's publish-cvcgl-wasm (run 45959623936) published five of its six bundles. The sixth, arigl-web (wasm-mt), failed its smoke on #1546's silent-relay case:

FAIL  a relay link silent for 10 s is closed, and the page dials again  [running, running after 0.5 s]
  relay opens 0, closes 0
  | arigl: CVC_ARIADNE_RELAY is set but this build has no conference transport (CVC_ENABLE_WS=OFF and CVC_ENABLE_GRPC=OFF); running the document locally.

Why

  • build-wasm.sh builds arigl-web's WebSocket transport for single-threaded wasm only, because libopus has no -pthread wasm build. So the wasm-mt package never dials a relay.
  • The smoke's HAS_WS reads arigl.js for emscripten_websocket. A threaded glue holds the WebSocket API even with the transport off; the comment there said so, but handled only ariglx-web (through !PYTHON).
  • ci.yml's arigl-web job builds single-threaded wasm only, so no CI run had tried this case against a threaded arigl-web. arigl_web_smoke: run the silent-relay case on arigl-web alone (master's ariglx-web wasm-mt red) #1556 moved the case to arigl-web alone, and the tag's wasm-mt leg was the first to run it there.

What

HAS_WS also needs !ISOLATED. A threaded package is the one the smoke serves --isolated, so the threaded arigl-web now prints skip for the case, as ariglx-web does. The single-threaded arigl-web still runs it. If a threaded build ever gets the transport, the comment says to drop !ISOLATED.

Checked: node --check, and the rule gives single-threaded → runs, --isolated → skips. This PR's CI runs the single-threaded arigl-web smoke (the case still runs there) and the ariglx-web smokes (skipped there, as before). The wasm-mt arigl-web leg runs only in publish-cvcgl-wasm.

After it merges

v4.0.10 has no arigl-web wasm-mt bundle; 4.0.9's is the latest. Rerunning the tag's failed job would run the tag's smoke again, so it would fail the same way. The bundle comes back on the next tag, unless Joe wants a dispatch before then.

build-wasm.sh builds arigl-web's conference transport single-threaded only
(libopus has no -pthread wasm build), so the wasm-mt package runs a
CVC_ARIADNE_RELAY document locally and the relay is never dialed. HAS_WS
read the glue, which a threaded build fills with the WebSocket API all the
same, so it ran #1546's case there. ci.yml never builds a threaded
arigl-web, so v4.0.10's publish-cvcgl-wasm was the first to try it: its
arigl-web (wasm-mt) leg failed "relay opens 0, closes 0" and that bundle
did not publish. A threaded package is served --isolated, so HAS_WS now
also needs !ISOLATED.
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.

1 participant