Add connection error/retry API and UI support #904
build.yaml
on: pull_request
Matrix: lint_and_docs
Matrix: build_js
Matrix: build_python
Matrix: build_emscripten_wheel
Matrix: build_and_test_rust
Matrix: benchmark_js
Matrix: test_js
Matrix: build_and_test_jupyterlab
Matrix: benchmark_python
Matrix: test_python
Matrix: test_emscripten_wheel
Matrix: test_python_sdist
Matrix: publish
Annotations
3 errors, 2 warnings, and 1 notice
[perspective-node] › ../../rust/perspective-js/test/js/aggregates.spec.js:947:9 › Aggregate › low with count and multiple partial updates:
rust/perspective-js/src/ts/wasm/engine.ts#L106
1) [perspective-node] › ../../rust/perspective-js/test/js/aggregates.spec.js:947:9 › Aggregate › low with count and multiple partial updates
Error: Unknown error: JsValue(TypeError: Cannot perform %TypedArray%.prototype.set on a detached ArrayBuffer
TypeError: Cannot perform %TypedArray%.prototype.set on a detached ArrayBuffer
at ../../rust/perspective-js/src/ts/wasm/engine.ts:106
104 | );
105 |
> 106 | core.HEAPU8.set(array, Number(ptr));
| ^
107 | const msg = await callback(ptr);
108 | core._psp_free(ptr);
109 | return msg;
at Uint8Array.set (<anonymous>)
at convert_typed_array_to_pointer (file:///home/runner/work/perspective/perspective/rust/perspective-js/src/ts/wasm/engine.ts:106:17)
at PerspectiveSession.handle_request (file:///home/runner/work/perspective/perspective/rust/perspective-js/src/ts/wasm/engine.ts:63:27)
at call (file:///home/runner/work/perspective/perspective/rust/perspective-js/src/ts/perspective.node.ts:57:24)
at apply (file:///home/runner/work/perspective/perspective/rust/perspective-js/dist/wasm/perspective-js.js:1120:26)
at handleError (file:///home/runner/work/perspective/perspective/rust/perspective-js/dist/wasm/perspective-js.js:245:18)
at imports.wbg.__wbg_call_b3ca7c6051f9bec1 (file:///home/runner/work/perspective/perspective/rust/perspective-js/dist/wasm/perspective-js.js:1119:67)
at null.<anonymous> (wasm://wasm/00189536:1:262607)
at null.<anonymous> (wasm://wasm/00189536:1:240948)
at null.<anonymous> (wasm://wasm/00189536:1:152619)
at null.<anonymous> (wasm://wasm/00189536:1:178623)
at null.<anonymous> (wasm://wasm/00189536:1:117093)
at null.<anonymous> (wasm://wasm/00189536:1:127018)
at null.<anonymous> (wasm://wasm/00189536:1:128387)
at null.<anonymous> (wasm://wasm/00189536:1:96280)
at null.<anonymous> (wasm://wasm/00189536:1:159873)
at null.<anonymous> (wasm://wasm/00189536:1:323154)
at closure404_externref_shim (wasm://wasm/00189536:1:336965)
at f (file:///home/runner/work/perspective/perspective/rust/perspective-js/dist/wasm/perspective-js.js:223:10)
at real (file:///home/runner/work/perspective/perspective/rust/perspective-js/dist/wasm/perspective-js.js:208:20)
at node:internal/process/task_queues:140:7
at AsyncResource.runInAsyncScope (node:async_hooks:206:9)
at AsyncResource.runMicrotask (node:internal/process/task_queues:137:8))
at convert_typed_array_to_pointer (/home/runner/work/perspective/perspective/rust/perspective-js/src/ts/wasm/engine.ts:106:17)
at PerspectiveSession.handle_request (/home/runner/work/perspective/perspective/rust/perspective-js/src/ts/wasm/engine.ts:63:27)
at call (/home/runner/work/perspective/perspective/rust/perspective-js/src/ts/perspective.node.ts:57:24)
at apply (/home/runner/work/perspective/perspective/rust/perspective-js/dist/wasm/perspective-js.js:1120:26)
at handleError (/home/runner/work/perspective/perspective/rust/perspective-js/dist/wasm/perspective-js.js:245:18)
at imports.wbg.__wbg_call_b3ca7c6051f9bec1 (/home/runner/work/perspective/perspective/rust/perspective-js/dist/wasm/perspective-js.js:1119:67)
at null.<anonymous> (/home/runner/work/perspective/perspective/wasm:/wasm/00189536:1:262607)
at null.<anonymous> (/home/runner/work/perspective/perspective/wasm:/wasm/00189536:1:240948)
at null.<anonymous> (/home/runner/work/perspective/perspective/wasm:/wasm/00189536:1:152619)
at null.<anonymous> (/home/runner/work/perspective/perspective/wasm:/wasm/00189536:1:178623)
at null.<anonymous> (/home/runner/work/perspective/perspective/wasm:/wasm/00189536:1:117093)
at null.<anonymous> (/home/runner/work/perspective/perspective/wasm:/wasm/00189536:1:127018)
at null.<anonymous> (/home/runner/work/perspective/perspective/wasm:/wasm/00189536:1:128387)
at null.<a
|
[perspective-node] › ../../rust/perspective-js/test/js/aggregates.spec.js:947:9 › Aggregate › low with count and multiple partial updates:
rust/perspective-js/test/js/aggregates.spec.js#L1
1) [perspective-node] › ../../rust/perspective-js/test/js/aggregates.spec.js:947:9 › Aggregate › low with count and multiple partial updates
Error: Protocol error (Target.disposeBrowserContext): Failed to find context with id EE39E16E9824AB876D9C0653133AF3B5
|
test_js (ubuntu-22.04, 3.9, 20.x)
Process completed with exit code 1.
|
Slow Test:
rust/perspective-js/test/js/leaks.spec.js#L1
rust/perspective-js/test/js/leaks.spec.js took 1.1m
|
Slow Test:
rust/perspective-viewer/test/js/leaks.spec.js#L1
rust/perspective-viewer/test/js/leaks.spec.js took 24.7s
|
🎭 Playwright Run Summary
1 failed
[perspective-node] › ../../rust/perspective-js/test/js/aggregates.spec.js:947:9 › Aggregate › low with count and multiple partial updates
103 skipped
1371 passed (3.7m)
|