Skip to content

Dev

Dev #68

Triggered via pull request June 13, 2026 19:01
@qinshihuqinshihu
opened #24
dev
Status Success
Total duration 5m 2s
Artifacts

ci.yml

on: pull_request
Backend Lint
29s
Backend Lint
Frontend Lint
37s
Frontend Lint
Backend Test
33s
Backend Test
Frontend Build
36s
Frontend Build
Docker Build (Verify)
3m 38s
Docker Build (Verify)
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 25 warnings
Backend Lint: backend/src/middleware/validation.ts#L2
All imports in the declaration are only used as types. Use `import type`
Backend Lint: backend/src/middleware/validation.ts#L1
All imports in the declaration are only used as types. Use `import type`
Backend Lint: backend/src/middleware/trace.ts#L9
Unexpected any. Specify a different type
Backend Lint: backend/src/middleware/trace.ts#L1
All imports in the declaration are only used as types. Use `import type`
Backend Lint: backend/src/middleware/rateLimiter.ts#L1
All imports in the declaration are only used as types. Use `import type`
Backend Lint: backend/src/middleware/errorHandler.ts#L13
Unexpected any. Specify a different type
Backend Lint: backend/src/middleware/errorHandler.ts#L4
'ERROR_MESSAGES' is defined but never used. Allowed unused vars must match /^_/u
Backend Lint: backend/src/middleware/errorHandler.ts#L4
Imports "AppError" are only used as type
Backend Lint: backend/src/middleware/errorHandler.ts#L1
All imports in the declaration are only used as types. Use `import type`
Backend Lint: backend/src/middleware/auth.ts#L1
All imports in the declaration are only used as types. Use `import type`
Frontend Lint: frontend/src/components/NetworkDeviceCard.tsx#L1
'MemoryStick' is defined but never used. Allowed unused vars must match /^_/u
Frontend Lint: frontend/src/components/ImportExport.tsx#L98
Unexpected any. Specify a different type
Frontend Lint: frontend/src/components/ErrorBoundary.tsx#L1
Imports "ErrorInfo" and "ReactNode" are only used as type
Frontend Lint: frontend/src/components/ChatWidget.tsx#L59
Unexpected any. Specify a different type
Frontend Lint: frontend/src/components/ChatWidget.tsx#L27
'isDark' is assigned a value but never used. Allowed unused vars must match /^_/u
Frontend Lint: frontend/src/components/AddDeviceModal.tsx#L216
Unexpected any. Specify a different type
Frontend Lint: frontend/src/components/AddDeviceModal.tsx#L191
Unexpected any. Specify a different type
Frontend Lint: frontend/src/components/AddDeviceModal.tsx#L145
Unexpected any. Specify a different type
Frontend Lint: frontend/src/components/AddDeviceModal.tsx#L2
'Shield' is defined but never used. Allowed unused vars must match /^_/u
Frontend Lint: frontend/src/App.tsx#L49
'AIModels' is assigned a value but never used. Allowed unused vars must match /^_/u
Backend Lint
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Backend Lint: backend/src/models/database.ts#L410
Prefer using an optional chain expression instead, as it's more concise and easier to read
Backend Lint: backend/src/models/database.ts#L409
Prefer using an optional chain expression instead, as it's more concise and easier to read
Backend Lint: backend/src/models/database.ts#L403
Prefer using an optional chain expression instead, as it's more concise and easier to read
Backend Lint: backend/src/models/database.ts#L402
Prefer using an optional chain expression instead, as it's more concise and easier to read
Backend Lint: backend/src/models/database.ts#L396
Prefer using an optional chain expression instead, as it's more concise and easier to read
Backend Lint: backend/src/models/database.ts#L394
Prefer using an optional chain expression instead, as it's more concise and easier to read
Backend Lint: backend/src/middleware/auth.ts#L156
Prefer using an optional chain expression instead, as it's more concise and easier to read
Backend Lint: backend/src/middleware/auth.ts#L77
Prefer using an optional chain expression instead, as it's more concise and easier to read
Backend Lint: backend/src/middleware/auth.ts#L33
Unexpected console statement
Frontend Lint
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Frontend Lint: frontend/src/pages/NetworkDevices.tsx#L234
Prefer using an optional chain expression instead, as it's more concise and easier to read
Frontend Lint: frontend/src/pages/NetworkDevices.tsx#L233
Prefer using an optional chain expression instead, as it's more concise and easier to read
Frontend Lint: frontend/src/pages/BigScreenDashboard.tsx#L450
Unexpected console statement
Frontend Lint: frontend/src/pages/Alerts.tsx#L171
Unexpected console statement
Frontend Lint: frontend/src/pages/AIRootCause.tsx#L46
Prefer using an optional chain expression instead, as it's more concise and easier to read
Frontend Lint: frontend/src/components/ErrorBoundary.tsx#L24
Unexpected console statement
Frontend Lint: frontend/src/components/ChatWidget.tsx#L144
Prefer using an optional chain expression instead, as it's more concise and easier to read
Frontend Lint: frontend/src/components/AddDeviceModal.tsx#L165
Prefer using an optional chain expression instead, as it's more concise and easier to read
Frontend Lint: frontend/src/components/AddDeviceModal.tsx#L147
Unexpected console statement
Frontend Lint: frontend/src/components/AddDeviceModal.tsx#L146
Unexpected console statement
Backend Test
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Frontend Build
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Docker Build (Verify)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, docker/build-push-action@v5, docker/setup-buildx-action@v3. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/