Skip to content

refactor: centralize resource slot type definitions and improve device metadata handling in /react #6045

refactor: centralize resource slot type definitions and improve device metadata handling in /react

refactor: centralize resource slot type definitions and improve device metadata handling in /react #6045

Triggered via pull request September 4, 2024 03:03
@yomybabyyomybaby
synchronize #2684
Status Success
Total duration 13s
Artifacts

label.yml

on: pull_request_target
Fit to window
Zoom out
Zoom in

Annotations

1 error
deviceMetadata JSON Schema Validation > should include all known accelerator names and base resource names: react/src/hooks/backendai.test.tsx#L14
Error: expect(received).toBe(expected) // Object.is equality Expected: true Received: false at Object.<anonymous> (/home/runner/work/backend.ai-webui/backend.ai-webui/react/src/hooks/backendai.test.tsx:28:19) at Promise.then.completed (/home/runner/work/backend.ai-webui/backend.ai-webui/react/node_modules/.pnpm/[email protected]/node_modules/jest-circus/build/utils.js:391:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/backend.ai-webui/backend.ai-webui/react/node_modules/.pnpm/[email protected]/node_modules/jest-circus/build/utils.js:316:10) at _callCircusTest (/home/runner/work/backend.ai-webui/backend.ai-webui/react/node_modules/.pnpm/[email protected]/node_modules/jest-circus/build/run.js:218:40) at processTicksAndRejections (node:internal/process/task_queues:95:5) at _runTest (/home/runner/work/backend.ai-webui/backend.ai-webui/react/node_modules/.pnpm/[email protected]/node_modules/jest-circus/build/run.js:155:3) at _runTestsForDescribeBlock (/home/runner/work/backend.ai-webui/backend.ai-webui/react/node_modules/.pnpm/[email protected]/node_modules/jest-circus/build/run.js:66:9) at _runTestsForDescribeBlock (/home/runner/work/backend.ai-webui/backend.ai-webui/react/node_modules/.pnpm/[email protected]/node_modules/jest-circus/build/run.js:60:9) at run (/home/runner/work/backend.ai-webui/backend.ai-webui/react/node_modules/.pnpm/[email protected]/node_modules/jest-circus/build/run.js:25:3) at runAndTransformResultsToJestFormat (/home/runner/work/backend.ai-webui/backend.ai-webui/react/node_modules/.pnpm/[email protected]/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:170:21) at jestAdapter (/home/runner/work/backend.ai-webui/backend.ai-webui/react/node_modules/.pnpm/[email protected]/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:82:19) at runTestInternal (/home/runner/work/backend.ai-webui/backend.ai-webui/react/node_modules/.pnpm/[email protected]/node_modules/jest-runner/build/runTest.js:389:16) at runTest (/home/runner/work/backend.ai-webui/backend.ai-webui/react/node_modules/.pnpm/[email protected]/node_modules/jest-runner/build/runTest.js:475:34) at Object.worker (/home/runner/work/backend.ai-webui/backend.ai-webui/react/node_modules/.pnpm/[email protected]/node_modules/jest-runner/build/testWorker.js:133:12)