Node
24.15.0
Node
24.15.0
Nx
22.7.0
pnpm
10.33.0
OS
linux-x64
NX Report complete - copy this into the issue template
Node : 24.15.0OS : linux-x64Native Target : x86_64-linuxpnpm : 10.33.0daemon : Disabled
nx : 22.7.0@nx/js : 22.7.0@nx/eslint : 22.7.0@nx/workspace : 22.7.0@nx/jest : 22.7.0@nx/devkit : 22.7.0@nx/esbuild : 22.7.0@nx/eslint-plugin : 22.7.0@nx/module-federation : 22.7.0@nx/node : 22.7.0@nx/playwright : 22.7.0@nx/react : 22.7.0@nx/rollup : 22.7.0@nx/vite : 22.7.0@nx/vitest : 22.7.0@nx/web : 22.7.0@nx/webpack : 22.7.0@nx/docker : 22.7.0typescript : 5.9.3---------------------------------------Registered Plugins:@nxlv/python@monodon/rust@nx/eslint/plugin@nx/vite/plugin@nx/vitest---------------------------------------Community plugins:@monodon/rust : 2.3.0@nx-tools/nx-container : 7.2.1@nxlv/python : 22.0.5---------------------------------------Cache Usage: 0.00 B / 89.18 GB───────────────────────────────────────────────────────────────────────────────Language Files Lines Blanks Comments Code Complexity───────────────────────────────────────────────────────────────────────────────MDX 6148 351230 46086 0 305144 0TypeScript 803 127293 13390 8300 105603 13596C# 728 141936 14687 12326 114923 18316Rust 615 156321 15181 16916 124224 8295YAML 507 40375 2159 2883 35333 0JSON 267 77599 83 0 77516 0C Header 262 109501 9795 51019 48687 5254Astro 186 35941 2741 1066 32134 836SQL 151 39287 4960 5790 28537 262Python 143 14991 2446 1463 11082 1182TOML 138 2574 282 207 2085 20Markdown 130 18989 4966 0 14023 0JavaScript 115 56818 4513 12443 39862 7196C 83 381822 28720 85598 267504 47760C++ 83 11544 1808 394 9342 1398HTML 78 7176 556 79 6541 0Java 67 6189 885 1143 4161 524Shell 33 4619 589 869 3161 433SVG 31 1329 184 242 903 113Protocol Buffers 28 8296 1176 1414 5706 0Plain Text 24 5005 1043 0 3962 0Dockerfile 23 2831 567 729 1535 283XML 17 29918 221 0 29697 0nuspec 13 450 5 0 445 0CSS 12 2507 297 149 2061 0License 12 1121 214 0 907 0TypeScript Typings 12 81 8 24 49 5WebGPU Shading Lang… 12 2254 392 366 1496 98INI 8 54 0 31 23 0Gradle 5 164 10 3 151 0Assembly 4 765 108 152 505 3Docker ignore 4 66 7 10 49 0MSBuild 4 24 0 0 24 4Kotlin 3 299 36 54 209 15Batch 2 124 25 10 89 17Powershell 2 294 40 39 215 24BASH 1 50 9 12 29 9CloudFormation (YAM… 1 139 6 9 124 0Elixir 1 185 30 22 133 22GDScript 1 33 5 1 27 5GLSL 1 10 0 0 10 0Go Template 1 128 15 0 113 0Nix 1 44 9 9 26 3Properties File 1 7 0 0 7 0───────────────────────────────────────────────────────────────────────────────Total 10761 1640383 158254 203772 1278357 105673───────────────────────────────────────────────────────────────────────────────Processed 58176371 bytes, 58.176 megabytes (SI)─────────────────────────────────────────────────────────────────────────────── NX Running target coverage for 4 projects:
- droid- devops- khashvault- laser
::group::✅ > nx run devops:coverage
> vitest run --coverage --config packages/npm/devops/vite.config.ts
RUN v4.0.9 /home/runner/_work/kbve/kbve/packages/npm/devops Coverage enabled with v8
stderr | src/lib/client/github/issues.spec.ts > _$gha_createIssueComment > should throw when API call failsError creating issue comment: Error: API Error at /home/runner/_work/kbve/kbve/packages/npm/devops/src/lib/client/github/issues.spec.ts:72:7 at file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:157:11 at file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:753:26 at file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:1636:20 at new Promise (<anonymous>) at runWithTimeout (file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:1602:10) at runTest (file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:1309:12) at processTicksAndRejections (node:internal/process/task_queues:104:5) at runSuite (file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:1468:8) at runSuite (file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:1468:8)
stdout | src/lib/client/github/pulls.spec.ts > _$gha_createOrUpdatePR > should create a new PR when none existsGitHub Event Name: undefinedUsing github.ref: feature-branch
stdout | src/lib/client/github/pulls.spec.ts > _$gha_createOrUpdatePR > should create a new PR when none existsPull request created from feature-branch to main
stdout | src/lib/client/github/pulls.spec.ts > _$gha_createOrUpdatePR > should add comment when PR already existsGitHub Event Name: undefinedUsing github.ref: feature-branch
stdout | src/lib/client/github/pulls.spec.ts > _$gha_createOrUpdatePR > should add comment when PR already existsPull request from feature-branch to main already exists. Comment added.
stdout | src/lib/client/github/issues.spec.ts > _$gha_verifyMatrixLabel > should add label 0 when no matrix labels are presentNo matrix labels present. Added label: 0
stdout | src/lib/client/github/pulls.spec.ts > _$gha_createOrUpdatePR > should use context.payload.pull_request.head.ref when github.ref is not availableGitHub Event Name: undefinedUsing context.payload.pull_request.head.ref: pr-branch
stdout | src/lib/client/github/pulls.spec.ts > _$gha_createOrUpdatePR > should use context.payload.pull_request.head.ref when github.ref is not availablePull request created from pr-branch to main
stdout | src/lib/client/github/pulls.spec.ts > _$gha_createOrUpdatePR > should fall back to context.ref when github.ref and payload are unavailableGitHub Event Name: undefinedUsing context.ref: fallback-branch
stdout | src/lib/client/github/pulls.spec.ts > _$gha_createOrUpdatePR > should fall back to context.ref when github.ref and payload are unavailablePull request created from fallback-branch to main
stdout | src/lib/client/github/issues.spec.ts > _$gha_verifyMatrixLabel > should keep highest label and remove lower ones when multiple matrix labels existRemoved lower labels, kept highest label: 5
stdout | src/lib/client/github/pulls.spec.ts > _$gha_createOrUpdatePR > should throw when no branch can be determinedGitHub Event Name: undefined
stderr | src/lib/client/github/pulls.spec.ts > _$gha_createOrUpdatePR > should throw when no branch can be determinedUnable to determine the reference branch.Error creating or updating pull request: Error: Unable to determine the reference branch. at _$gha_createOrUpdatePR (/home/runner/_work/kbve/kbve/packages/npm/devops/src/lib/client/github/pulls.ts:224:10) at /home/runner/_work/kbve/kbve/packages/npm/devops/src/lib/client/github/pulls.spec.ts:208:7 at file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:157:11 at file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:753:26 at file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:1636:20 at new Promise (<anonymous>) at runWithTimeout (file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:1602:10) at runTest (file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:1309:12) at processTicksAndRejections (node:internal/process/task_queues:104:5) at runSuite (file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:1468:8)
✓ src/lib/client/github/issues.spec.ts (17 tests) 107ms ✓ src/lib/client/github/pulls.spec.ts (9 tests) 33ms ✓ src/lib/codegen/__tests__/topo-sort.spec.ts (15 tests) 80ms ✓ src/lib/codegen/__tests__/emitter.spec.ts (19 tests) 15ms ✓ src/lib/codegen/__tests__/field-mapper.spec.ts (46 tests) 22ms ✓ src/lib/codegen/__tests__/enum-mapper.spec.ts (18 tests) 89msstderr | src/lib/client/github/docker.spec.ts > _$gha_runDockerContainer > should throw on invalid portError sanitizing input: Error: Invalid port number. Port must be a number between 1 and 65535. at sanitizePort (/home/runner/_work/kbve/kbve/packages/npm/devops/src/lib/sanitization.ts:140:11) at _$gha_runDockerContainer (/home/runner/_work/kbve/kbve/packages/npm/devops/src/lib/client/github/docker.ts:25:21) at /home/runner/_work/kbve/kbve/packages/npm/devops/src/lib/client/github/docker.spec.ts:62:7 at file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:157:11 at file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:753:26 at file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:1636:20 at new Promise (<anonymous>) at runWithTimeout (file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:1602:10) at runTest (file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:1309:12) at processTicksAndRejections (node:internal/process/task_queues:104:5)
stderr | src/lib/client/github/docker.spec.ts > _$gha_runDockerContainer > should throw on restricted portError sanitizing input: Error: Port 443 is restricted and cannot be used. at sanitizePort (/home/runner/_work/kbve/kbve/packages/npm/devops/src/lib/sanitization.ts:144:11) at _$gha_runDockerContainer (/home/runner/_work/kbve/kbve/packages/npm/devops/src/lib/client/github/docker.ts:25:21) at /home/runner/_work/kbve/kbve/packages/npm/devops/src/lib/client/github/docker.spec.ts:71:7 at file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:157:11 at file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:753:26 at file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:1636:20 at new Promise (<anonymous>) at runWithTimeout (file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:1602:10) at runTest (file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:1309:12) at processTicksAndRejections (node:internal/process/task_queues:104:5)
stderr | src/lib/client/github/docker.spec.ts > _$gha_runDockerContainer > should throw on empty container nameError sanitizing input: Error: Invalid container name. Container name must be alphanumeric and can include underscores. at sanitizeContainerName (/home/runner/_work/kbve/kbve/packages/npm/devops/src/lib/sanitization.ts:159:11) at _$gha_runDockerContainer (/home/runner/_work/kbve/kbve/packages/npm/devops/src/lib/client/github/docker.ts:26:21) at /home/runner/_work/kbve/kbve/packages/npm/devops/src/lib/client/github/docker.spec.ts:80:7 at file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:157:11 at file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:753:26 at file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:1636:20 at new Promise (<anonymous>) at runWithTimeout (file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:1602:10) at runTest (file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:1309:12) at processTicksAndRejections (node:internal/process/task_queues:104:5)
stderr | src/lib/client/github/docker.spec.ts > _$gha_runDockerContainer > should throw on empty image nameError sanitizing input: Error: Invalid container image name. Image name must be alphanumeric and can include underscores, slashes, colons, and periods. at sanitizeContainerImage (/home/runner/_work/kbve/kbve/packages/npm/devops/src/lib/sanitization.ts:174:11) at _$gha_runDockerContainer (/home/runner/_work/kbve/kbve/packages/npm/devops/src/lib/client/github/docker.ts:27:22) at /home/runner/_work/kbve/kbve/packages/npm/devops/src/lib/client/github/docker.spec.ts:89:7 at file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:157:11 at file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:753:26 at file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:1636:20 at new Promise (<anonymous>) at runWithTimeout (file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:1602:10) at runTest (file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:1309:12) at processTicksAndRejections (node:internal/process/task_queues:104:5)
stdout | src/lib/client/github/docker.spec.ts > _$gha_runDockerContainer > should succeed with valid inputs when exec succeedsDocker container started successfully: container-id-123
stderr | src/lib/client/github/docker.spec.ts > _$gha_runDockerContainer > should report error and throw when exec failsError running Docker container: Error: Docker not found at /home/runner/_work/kbve/kbve/packages/npm/devops/src/lib/client/github/docker.spec.ts:108:37 at file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:157:11 at file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:753:26 at file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:1636:20 at new Promise (<anonymous>) at runWithTimeout (file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:1602:10) at runTest (file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:1309:12) at processTicksAndRejections (node:internal/process/task_queues:104:5) at runSuite (file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:1468:8) at runSuite (file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:1468:8)
stderr | src/lib/client/github/docker.spec.ts > _$gha_stopDockerContainer > should throw on invalid container nameError sanitizing container name: Error: Invalid container name. Container name must be alphanumeric and can include underscores. at sanitizeContainerName (/home/runner/_work/kbve/kbve/packages/npm/devops/src/lib/sanitization.ts:159:11) at _$gha_stopDockerContainer (/home/runner/_work/kbve/kbve/packages/npm/devops/src/lib/client/github/docker.ts:64:21) at /home/runner/_work/kbve/kbve/packages/npm/devops/src/lib/client/github/docker.spec.ts:134:7 at file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:157:11 at file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:753:26 at file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:1636:20 at new Promise (<anonymous>) at runWithTimeout (file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:1602:10) at runTest (file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:1309:12) at processTicksAndRejections (node:internal/process/task_queues:104:5)
stdout | src/lib/client/github/docker.spec.ts > _$gha_stopDockerContainer > should succeed when both stop and remove succeedDocker container stopped successfully: ok
stdout | src/lib/client/github/docker.spec.ts > _$gha_stopDockerContainer > should succeed when both stop and remove succeedDocker container removed successfully: ok
stderr | src/lib/client/github/docker.spec.ts > _$gha_stopDockerContainer > should throw when stop command failsError stopping Docker container: Error: Container not running at /home/runner/_work/kbve/kbve/packages/npm/devops/src/lib/client/github/docker.spec.ts:150:37 at file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:157:11 at file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:753:26 at file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:1636:20 at new Promise (<anonymous>) at runWithTimeout (file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:1602:10) at runTest (file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:1309:12) at processTicksAndRejections (node:internal/process/task_queues:104:5) at runSuite (file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:1468:8) at runSuite (file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:1468:8)
stdout | src/lib/client/github/docker.spec.ts > _$gha_stopDockerContainer > should throw when stop succeeds but remove failsDocker container stopped successfully: stopped
stderr | src/lib/client/github/docker.spec.ts > _$gha_stopDockerContainer > should throw when stop succeeds but remove failsError removing Docker container: Error: Remove failed at /home/runner/_work/kbve/kbve/packages/npm/devops/src/lib/client/github/docker.spec.ts:162:30 at file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:157:11 at file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:753:26 at file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:1636:20 at new Promise (<anonymous>) at runWithTimeout (file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:1602:10) at runTest (file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:1309:12) at processTicksAndRejections (node:internal/process/task_queues:104:5) at runSuite (file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:1468:8) at runSuite (file:///home/runner/_work/kbve/kbve/node_modules/@vitest/runner/dist/index.js:1468:8)
✓ src/lib/client/github/actions.spec.ts (7 tests) 8ms ✓ src/lib/client/github/docker.spec.ts (10 tests) 86msstderr | src/lib/client/yt.spec.ts > fetchYoutubeTitle > should return null for an invalid YouTube URLInvalid YouTube URL
stderr | src/lib/client/yt.spec.ts > fetchYoutubeTitle > should return null if the title is not foundNo valid video found on the page
✓ src/lib/client/yt.spec.ts (10 tests) 518ms ✓ should return the title of the YouTube video 497ms ✓ src/lib/api.spec.ts (5 tests) 548ms ✓ _message should sanitize message correctly 541ms ✓ src/lib/sanitization.spec.ts (48 tests) 676ms ✓ should convert markdown to JSON-safe string 442ms
Test Files 11 passed (11) Tests 204 passed (204) Start at 09:37:59 Duration 3.76s (transform 3.19s, setup 0ms, collect 13.67s, tests 2.18s, environment 2ms, prepare 1.17s)
% Coverage report from v8-------------------|---------|----------|---------|---------|-------------------File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s-------------------|---------|----------|---------|---------|-------------------All files | 78.21 | 77.22 | 79.43 | 78.16 | src | 100 | 100 | 100 | 100 | types.ts | 100 | 100 | 100 | 100 | src/lib | 75 | 77.77 | 93.75 | 75.94 | api.ts | 50 | 50 | 80 | 51.28 | ...52-153,170-213 sanitization.ts | 100 | 95.45 | 100 | 100 | 44 src/lib/client | 85.18 | 78.94 | 100 | 85.18 | yt.ts | 85.18 | 78.94 | 100 | 85.18 | 24,48-51 .../client/github | 58.09 | 41.53 | 67.56 | 57.98 | actions.ts | 100 | 100 | 100 | 100 | docker.ts | 100 | 50 | 100 | 100 | 45-104 issues.ts | 72.97 | 100 | 100 | 72.22 | ...36-237,254-255 pulls.ts | 31.93 | 28.57 | 20 | 32.2 | ...28-229,286-382 types.ts | 100 | 100 | 100 | 100 | src/lib/codegen | 92.02 | 85.71 | 96.55 | 92.36 | emitter.ts | 98.03 | 88.46 | 100 | 100 | ...79,101,112,199 enum-mapper.ts | 100 | 96.29 | 100 | 100 | 25 field-mapper.ts | 85.84 | 83.14 | 91.66 | 85.18 | ...81,290,295,300 topo-sort.ts | 88 | 78.57 | 100 | 86.95 | 43-46,89-90 ...egen/__tests__ | 87.5 | 90.9 | 63.63 | 87.01 | ...-factories.ts | 87.5 | 90.9 | 63.63 | 87.01 | ...88,319,361,385-------------------|---------|----------|---------|---------|-------------------::endgroup::::group::✅ > nx run laser:coverage
> vitest run --coverage --config packages/npm/laser/vite.config.ts
RUN v4.0.9 /home/runner/_work/kbve/kbve/packages/npm/laser Coverage enabled with v8
✓ src/lib/spatial/quadtree.spec.ts (8 tests) 9ms ✓ src/lib/core/events.spec.ts (8 tests) 13ms ✓ src/lib/phaser/monsters/bird.spec.ts (9 tests) 14ms ✓ src/lib/phaser/player-controller.spec.ts (6 tests) 17msstderr | src/lib/r3f/Stage.spec.tsx > Stage > should render a Canvas wrapper<ambientLight /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.The tag <ambientLight> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.The tag <mesh> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.
✓ src/lib/r3f/use-game-loop.spec.tsx (3 tests) 50msstderr | src/lib/r3f/Stage.spec.tsx > Stage > should pass className to Canvas<ambientLight /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.
stderr | src/lib/r3f/Stage.spec.tsx > Stage > should render children inside Canvas<ambientLight /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.
✓ src/lib/phaser/use-phaser.spec.tsx (3 tests) 64ms ✓ src/lib/phaser/use-phaser-event.spec.tsx (7 tests) 64ms ✓ src/lib/r3f/Stage.spec.tsx (3 tests) 73ms ✓ src/lib/phaser/PhaserGame.spec.tsx (10 tests) 166ms
Test Files 9 passed (9) Tests 57 passed (57) Start at 09:37:59 Duration 4.04s (transform 845ms, setup 0ms, collect 2.84s, tests 471ms, environment 24.74s, prepare 1.94s)
% Coverage report from v8-------------------|---------|----------|---------|---------|-------------------File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s-------------------|---------|----------|---------|---------|-------------------All files | 63.5 | 50.79 | 75.47 | 66.92 | core | 100 | 100 | 100 | 100 | events.ts | 100 | 100 | 100 | 100 | phaser | 50 | 39.13 | 55.17 | 53.37 | PhaserGame.tsx | 92 | 83.33 | 83.33 | 95.83 | 36 ...controller.ts | 75.43 | 66.12 | 100 | 75.43 | ...43,145,147,149 ...aser-event.ts | 100 | 100 | 100 | 100 | use-phaser.ts | 100 | 100 | 100 | 100 | ...l-joystick.ts | 0 | 0 | 0 | 0 | 32-162 phaser/monsters | 100 | 100 | 100 | 100 | bird.ts | 100 | 100 | 100 | 100 | r3f/components | 100 | 100 | 100 | 100 | Stage.tsx | 100 | 100 | 100 | 100 | r3f/hooks | 100 | 100 | 100 | 100 | use-game-loop.ts | 100 | 100 | 100 | 100 | spatial | 82.81 | 80.85 | 100 | 86.66 | quadtree.ts | 82.81 | 80.85 | 100 | 86.66 | 65-68,83,93-96-------------------|---------|----------|---------|---------|-------------------::endgroup::::group::❌ > nx run droid:coverage
> vitest run --coverage --config packages/npm/droid/vite.config.ts
RUN v4.0.9 /home/runner/_work/kbve/kbve/packages/npm/droid Coverage enabled with v8
✓ src/lib/state/auth.spec.ts (5 tests) 5ms ✓ src/lib/mod/module/supabase/mod-supabase.spec.ts (4 tests) 8ms ✓ src/lib/types/bento.spec.ts (13 tests) 14ms ✓ src/lib/state/ui.spec.ts (16 tests) 58ms ❯ src/lib/types/event-types.spec.ts (11 tests | 1 failed) 19ms ✓ has all expected event keys 3ms × has exactly 16 event types 8ms ✓ accepts valid payload 1ms ✓ rejects missing timestamp 1ms ✓ rejects non-number timestamp 0ms ✓ accepts valid payload 1ms ✓ rejects missing workersFirst 0ms ✓ accepts valid payload 1ms ✓ rejects missing level 0ms ✓ accepts valid payload 0ms ✓ rejects missing timestamp 0ms ✓ src/lib/state/toasts.spec.ts (9 tests) 60ms ✓ src/lib/workers/events.spec.ts (13 tests) 25msstdout | src/lib/droid.spec.ts > droid > should initialize and attach to window.kbve[DROID]: droid<T>
stdout | src/lib/droid.spec.ts > droid > should initialize and attach to window.kbve[DROID]: Main<T>[DROID] Initializing workers...
stdout | src/lib/droid.spec.ts > droid > should initialize and attach to window.kbve[init-worker] Initializing database...
stdout | src/lib/droid.spec.ts > droid > should initialize and attach to window.kbve[init-worker] DB initialized to version 1.0.3
stdout | src/lib/droid.spec.ts > droid > should initialize and attach to window.kbve[DROID] Initializing mod manager...
stdout | src/lib/droid.spec.ts > droid > should initialize and attach to window.kbve[KBVE] Global API ready
stdout | src/lib/droid.spec.ts > droid > should initialize and attach to window.kbve[DROID]: droid<T> => await WorkerRefs + URLs
✓ src/lib/droid.spec.ts (1 test) 248ms
⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯
FAIL src/lib/types/event-types.spec.ts > DroidEventSchemas > has exactly 16 event typesAssertionError: expected [ 'droid-first-connect', …(18) ] to have a length of 16 but got 19
- Expected+ Received
- 16+ 19
❯ src/lib/types/event-types.spec.ts:31:42 29| 30| it('has exactly 16 event types', () => { 31| expect(Object.keys(DroidEventSchemas)).toHaveLength(16); | ^ 32| }); 33| });
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯
Test Files 1 failed | 7 passed (8) Tests 1 failed | 71 passed (72) Start at 09:37:59 Duration 4.40s (transform 1.14s, setup 740ms, collect 1.93s, tests 438ms, environment 20.96s, prepare 1.69s)
Warning: command "vitest run --coverage --config packages/npm/droid/vite.config.ts" exited with non-zero status code::endgroup::::group::✅ > nx run khashvault:coverage
> vitest run --coverage --config packages/npm/khashvault/vite.config.ts
RUN v4.0.9 /home/runner/_work/kbve/kbve/packages/npm/khashvault Coverage enabled with v8
✓ src/lib/worker/worker.spec.ts (5 tests) 8ms ✓ src/lib/hash/hash.spec.ts (7 tests) 7ms ✓ src/lib/keys/keys.spec.ts (6 tests) 15ms ✓ src/lib/storage/storage.spec.ts (7 tests) 15ms ✓ src/lib/storage/indexeddb.spec.ts (7 tests) 19ms ✓ src/lib/pgp/pgp.spec.ts (4 tests) 170ms ✓ src/lib/aes/aes.spec.ts (7 tests) 496ms ✓ src/lib/kdf/kdf.spec.ts (5 tests) 711ms
Test Files 8 passed (8) Tests 48 passed (48) Start at 09:38:05 Duration 1.60s (transform 763ms, setup 888ms, collect 776ms, tests 1.44s, environment 2.57s, prepare 486ms)
% Coverage report from v8-------------------|---------|----------|---------|---------|--------------------------------File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s-------------------|---------|----------|---------|---------|--------------------------------All files | 75.42 | 44.2 | 80.51 | 78.86 | lib | 62.5 | 50 | 58.82 | 60.52 | errors.ts | 36.84 | 100 | 33.33 | 36.84 | 13-24,37-52,65-66 utils.ts | 85.71 | 50 | 87.5 | 84.21 | 8,18,66 lib/aes | 83.33 | 40 | 100 | 90.9 | aes.ts | 83.33 | 40 | 100 | 90.9 | 37-38 lib/hash | 68.42 | 20 | 100 | 76.47 | hash.ts | 68.42 | 20 | 100 | 76.47 | 21-22,43-44 lib/kdf | 77.77 | 66.66 | 100 | 84 | kdf.ts | 77.77 | 66.66 | 100 | 84 | 47-48,85-86 lib/keys | 65.38 | 40 | 100 | 73.91 | keys.ts | 65.38 | 40 | 100 | 73.91 | 20-21,43-44,77-78 lib/pgp | 70.83 | 42.3 | 100 | 80.95 | pgp.ts | 70.83 | 42.3 | 100 | 80.95 | 32-33,58-59 lib/storage | 83.18 | 42.1 | 81.08 | 84.84 | indexeddb.ts | 83.33 | 40.9 | 75.86 | 84.28 | 34,55-63,89,97-105,118,133,144 storage.ts | 82.85 | 43.75 | 100 | 86.2 | 24-25,38-39 lib/worker | 70 | 33.33 | 80 | 70 | shared-buffer.ts | 70 | 33.33 | 80 | 70 | 20,44,77-80-------------------|---------|----------|---------|---------|--------------------------------::endgroup::
NX Running target coverage for 4 projects failed
Failed tasks:
- droid:coverageAuto-generated by ci-dashboard.yml