Skip to content

Minimize Deviations with Upstream (#71) #3

Minimize Deviations with Upstream (#71)

Minimize Deviations with Upstream (#71) #3

Triggered via push February 13, 2025 16:04
Status Failure
Total duration 12m 33s
Artifacts

branch-build.yml

on: push
install-modules
9m 21s
install-modules
secrets-gate
0s
secrets-gate
Matrix: test
Matrix: test_docker
Fit to window
Zoom out
Zoom in

Annotations

26 errors
test (client-core)
Process completed with exit code 1.
test (editor)
Process completed with exit code 1.
src/EntityNetworkState.test.tsx > EntityNetworkState > should spawn entity > should spawn object owned by host as host: packages/hyperflux/src/functions/ActionFunctions.ts#L294
TypeError: Failed type: ["ownerID"]string(undefined) given input {"type":"ee.network.SPAWN_ENTITY","entityUUID":"entity","parentUUID":"bee96e31-a6b5-4e65-89b4-5b07232aed56","authorityPeerId":null,"$cache":true,"$topic":"world","$peer":"7252b371-fc5e-4cd8-a20f-2c19682d30b7"} ❯ Parser.unsafeCast ../../node_modules/ts-matches/esm/src/parsers/parser.js:160:15 ❯ Function.actionCreator [as spawnEntity] ../hyperflux/src/functions/ActionFunctions.ts:294:25 ❯ src/EntityNetworkState.test.tsx:71:28
src/EntityNetworkState.test.tsx > EntityNetworkState > should spawn entity > should spawn object owned by host as other user: packages/hyperflux/src/functions/ActionFunctions.ts#L294
TypeError: Failed type: ["ownerID"]string(undefined) given input {"type":"ee.network.SPAWN_ENTITY","entityUUID":"entity","parentUUID":"2ce9b990-2127-4202-8a06-208f5858b9c6","authorityPeerId":null,"$cache":true,"$topic":"world","$peer":"host peer"} ❯ Parser.unsafeCast ../../node_modules/ts-matches/esm/src/parsers/parser.js:160:15 ❯ Function.actionCreator [as spawnEntity] ../hyperflux/src/functions/ActionFunctions.ts:294:25 ❯ src/EntityNetworkState.test.tsx:121:28
src/EntityNetworkState.test.tsx > EntityNetworkState > should remove entity > should remove entity owned by host as host: packages/hyperflux/src/functions/ActionFunctions.ts#L294
TypeError: Failed type: ["ownerID"]string(undefined) given input {"type":"ee.network.SPAWN_ENTITY","entityUUID":"entity","parentUUID":"425170c6-450a-4180-a7b0-d2c0af492052","authorityPeerId":null,"$cache":true,"$topic":"world","$peer":"f9894c36-e2fe-4b86-8d9b-0d40927d75f1"} ❯ Parser.unsafeCast ../../node_modules/ts-matches/esm/src/parsers/parser.js:160:15 ❯ Function.actionCreator [as spawnEntity] ../hyperflux/src/functions/ActionFunctions.ts:294:25 ❯ src/EntityNetworkState.test.tsx:333:28
src/EntityNetworkState.test.tsx > EntityNetworkState > should remove entity > should remove entity owned by host as other user: packages/hyperflux/src/functions/ActionFunctions.ts#L294
TypeError: Failed type: ["ownerID"]string(undefined) given input {"type":"ee.network.SPAWN_ENTITY","entityUUID":"entity","parentUUID":"1fe6137f-eb79-415a-aa0f-7955dca23979","authorityPeerId":null,"$cache":true,"$topic":"world","$peer":"host peer"} ❯ Parser.unsafeCast ../../node_modules/ts-matches/esm/src/parsers/parser.js:160:15 ❯ Function.actionCreator [as spawnEntity] ../hyperflux/src/functions/ActionFunctions.ts:294:25 ❯ src/EntityNetworkState.test.tsx:395:28
src/serialization/DataReader.test.ts > DataReader > should readEntities: packages/hyperflux/src/functions/ActionFunctions.ts#L294
TypeError: Failed type: ["userID"]string(undefined) given input {"type":"ee.engine.network.PEER_JOINED","peerID":"host peer id","peerIndex":22,"$network":"instanceID"} ❯ Parser.unsafeCast ../../node_modules/ts-matches/esm/src/parsers/parser.js:160:15 ❯ Function.actionCreator [as peerJoined] ../hyperflux/src/functions/ActionFunctions.ts:294:25 ❯ src/serialization/DataReader.test.ts:748:24 ❯ src/serialization/DataReader.test.ts:729:14
test (network)
Process completed with exit code 1.
test (engine)
Process completed with exit code 1.
build-client
Process completed with exit code 1.
tests/InstanceLoad.test.ts: packages/spatial/src/physics/types/PhysicsTypes.ts#L1
SyntaxError: Cannot use import statement outside a module ❯ ../spatial/src/physics/types/PhysicsTypes.ts:1:1 ❯ ../engine/src/gltf/GLTFComponent.tsx:7:31 ❯ tests/InstanceLoad.test.ts:14:32 Module /home/runner/work/ir-engine/ir-engine/node_modules/@dimforge/rapier3d-compat/rapier.cjs.js:2 seems to be an ES Module but shipped in a CommonJS package. You might want to create an issue to the package "@dimforge/rapier3d-compat" asking them to ship the file in .mjs extension or add "type": "module" in their package.json. As a temporary workaround you can try to inline the package by updating your config: // vitest.config.js export default { test: { server: { deps: { inline: [ "@dimforge/rapier3d-compat" ] } } } }
test_docker (instanceserver)
Process completed with exit code 1.
test_docker (server-core)
The job was canceled because "instanceserver" failed.
test_docker (server-core)
The operation was canceled.
check-errors
Process completed with exit code 1.
check-lint
Process completed with exit code 1.
src/renderer/WebGLRendererSystem.test.tsx > WebGl Renderer System > Test Background, Environment, Fog Components: packages/spatial/src/renderer/WebGLRendererSystem.tsx#L373
TypeError: Cannot read properties of null (reading 'drawingBufferWidth') ❯ render src/renderer/WebGLRendererSystem.tsx:373:27 ❯ Object.execute src/renderer/WebGLRendererSystem.tsx:452:5 ❯ src/renderer/WebGLRendererSystem.test.tsx:121:49
src/renderer/WebGLRendererSystem.test.tsx > WebGl Renderer System > Test WebGL Reactors: packages/spatial/src/renderer/WebGLRendererSystem.tsx#L373
TypeError: Cannot read properties of null (reading 'drawingBufferWidth') ❯ render src/renderer/WebGLRendererSystem.tsx:373:27 ❯ Object.execute src/renderer/WebGLRendererSystem.tsx:452:5 ❯ src/renderer/WebGLRendererSystem.test.tsx:139:49
src/input/functions/ClientInputHooks.test.tsx > ClientInputHooks > useNonSpatialInputSources > should add a keyup EventListener to the DOM when mounted: packages/spatial/src/input/functions/ClientInputHooks.test.tsx#L136
AssertionError: false == true - Expected + Received - true + false ❯ src/input/functions/ClientInputHooks.test.tsx:136:14