merge: refactor/arch-review-20260718 — 6 候选闭环 #403
ci.yml
on: push
Secret Scan
15s
Validate Migrations
9m 50s
Flyway Filename Lint
7s
Test shared auth core
27s
i18n Check (management)
52s
Matrix: docker-verify
Matrix: frontend-lint
Matrix: frontend-test
Matrix: frontend-type-check
Backend Test
2m 52s
Matrix: backend-test-features
Annotations
33 errors and 4 warnings
|
Lint (console)
Process completed with exit code 1.
|
|
Lint (console):
console/src/router/index.ts#L384
'_' is assigned a value but never used
|
|
Type Check (management)
Cannot find module '@ulticode/auth-core/src/refreshCoordinator' or its corresponding type declarations.
|
|
Type Check (management)
Cannot find module '@ulticode/auth-core/src/axiosCsrfInterceptor' or its corresponding type declarations.
|
|
Type Check (management)
Cannot find module '@ulticode/auth-core/src/csrf' or its corresponding type declarations.
|
|
Type Check (management)
Cannot find module '@vueuse/core' or its corresponding type declarations.
|
|
Type Check (management)
Cannot find module '@ulticode/badge-config' or its corresponding type declarations.
|
|
Type Check (management)
Cannot find module '@ulticode/sandbox-types' or its corresponding type declarations.
|
|
Type Check (management)
Cannot find module '@ulticode/sandbox-types' or its corresponding type declarations.
|
|
Type Check (management)
Cannot find module '@ulticode/auth-core/src/refreshCoordinator' or its corresponding type declarations.
|
|
Type Check (management)
Cannot find module '@ulticode/auth-core/src/axiosCsrfInterceptor' or its corresponding type declarations.
|
|
Type Check (management)
Cannot find module '@ulticode/auth-core/src/csrf' or its corresponding type declarations.
|
|
Type Check (console)
Element implicitly has an 'any' type because expression of type 'SemanticColor' can't be used to index type 'Record<SemanticColor, string>'.
|
|
Type Check (console)
Element implicitly has an 'any' type because expression of type 'SemanticColor' can't be used to index type 'Record<SemanticColor, string>'.
|
|
Type Check (console)
Element implicitly has an 'any' type because expression of type 'SemanticColor' can't be used to index type 'Record<SemanticColor, string>'.
|
|
Type Check (console)
Cannot find module '@ulticode/badge-config' or its corresponding type declarations.
|
|
Type Check (console)
Cannot find module '@ulticode/sandbox-types' or its corresponding type declarations.
|
|
Type Check (console)
Cannot find module '@ulticode/sandbox-types' or its corresponding type declarations.
|
|
Type Check (console)
Cannot find module '@ulticode/auth-core/src/refreshCoordinator' or its corresponding type declarations.
|
|
Type Check (console)
Cannot find module '@ulticode/auth-core/src/axiosCsrfInterceptor' or its corresponding type declarations.
|
|
Type Check (console)
Cannot find module '@ulticode/auth-core/src/csrf' or its corresponding type declarations.
|
|
Type Check (console)
Element implicitly has an 'any' type because expression of type 'SemanticColor' can't be used to index type 'Record<SemanticColor, string>'.
|
|
Test (management)
Process completed with exit code 1.
|
|
views/contests/wizard/useContestAuthoring.test.ts:
management/src/views/contests/wizard/useContestAuthoring.ts#L2
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock
❯ views/contests/wizard/useContestAuthoring.ts:2:1
Caused by: Caused by: Error: Failed to resolve import "clsx" from "../shared/auth-core/src/utils.ts". Does the file exist?
Plugin: vite:import-analysis
File: /home/runner/work/UltiCode/UltiCode/shared/auth-core/src/utils.ts:12:21
1 | import { clsx } from "clsx";
| ^
2 | import { twMerge } from "tailwind-merge";
3 | export function cn(...inputs) {
❯ TransformPluginContext._formatLog ../node_modules/.pnpm/vite@8.0.14_@types+node@25.9.1_esbuild@0.27.4_jiti@2.7.0_yaml@2.9.0/node_modules/vite/dist/node/chunks/node.js:30488:39
❯ TransformPluginContext.error ../node_modules/.pnpm/vite@8.0.14_@types+node@25.9.1_esbuild@0.27.4_jiti@2.7.0_yaml@2.9.0/node_modules/vite/dist/node/chunks/node.js:30485:14
❯ normalizeUrl ../node_modules/.pnpm/vite@8.0.14_@types+node@25.9.1_esbuild@0.27.4_jiti@2.7.0_yaml@2.9.0/node_modules/vite/dist/node/chunks/node.js:27728:18
❯ ../node_modules/.pnpm/vite@8.0.14_@types+node@25.9.1_esbuild@0.27.4_jiti@2.7.0_yaml@2.9.0/node_modules/vite/dist/node/chunks/node.js:27791:30
❯ TransformPluginContext.transform ../node_modules/.pnpm/vite@8.0.14_@types+node@25.9.1_esbuild@0.27.4_jiti@2.7.0_yaml@2.9.0/node_modules/vite/dist/node/chunks/node.js:27759:4
❯ EnvironmentPluginContainer.transform ../node_modules/.pnpm/vite@8.0.14_@types+node@25.9.1_esbuild@0.27.4_jiti@2.7.0_yaml@2.9.0/node_modules/vite/dist/node/chunks/node.js:30273:14
❯ loadAndTransform ../node_modules/.pnpm/vite@8.0.14_@types+node@25.9.1_esbuild@0.27.4_jiti@2.7.0_yaml@2.9.0/node_modules/vite/dist/node/chunks/node.js:24532:26
|
|
i18n Check (management)
Process completed with exit code 1.
|
|
views/contests/wizard/useContestAuthoring.test.ts:
management/src/views/contests/wizard/useContestAuthoring.ts#L2
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock
❯ views/contests/wizard/useContestAuthoring.ts:2:1
Caused by: Caused by: Error: Failed to resolve import "clsx" from "../shared/auth-core/src/utils.ts". Does the file exist?
Plugin: vite:import-analysis
File: /home/runner/work/UltiCode/UltiCode/shared/auth-core/src/utils.ts:12:21
1 | import { clsx } from "clsx";
| ^
2 | import { twMerge } from "tailwind-merge";
3 | export function cn(...inputs) {
❯ TransformPluginContext._formatLog ../node_modules/.pnpm/vite@8.0.14_@types+node@25.9.1_esbuild@0.27.4_jiti@2.7.0_yaml@2.9.0/node_modules/vite/dist/node/chunks/node.js:30488:39
❯ TransformPluginContext.error ../node_modules/.pnpm/vite@8.0.14_@types+node@25.9.1_esbuild@0.27.4_jiti@2.7.0_yaml@2.9.0/node_modules/vite/dist/node/chunks/node.js:30485:14
❯ normalizeUrl ../node_modules/.pnpm/vite@8.0.14_@types+node@25.9.1_esbuild@0.27.4_jiti@2.7.0_yaml@2.9.0/node_modules/vite/dist/node/chunks/node.js:27728:18
❯ ../node_modules/.pnpm/vite@8.0.14_@types+node@25.9.1_esbuild@0.27.4_jiti@2.7.0_yaml@2.9.0/node_modules/vite/dist/node/chunks/node.js:27791:30
❯ TransformPluginContext.transform ../node_modules/.pnpm/vite@8.0.14_@types+node@25.9.1_esbuild@0.27.4_jiti@2.7.0_yaml@2.9.0/node_modules/vite/dist/node/chunks/node.js:27759:4
❯ EnvironmentPluginContainer.transform ../node_modules/.pnpm/vite@8.0.14_@types+node@25.9.1_esbuild@0.27.4_jiti@2.7.0_yaml@2.9.0/node_modules/vite/dist/node/chunks/node.js:30273:14
❯ loadAndTransform ../node_modules/.pnpm/vite@8.0.14_@types+node@25.9.1_esbuild@0.27.4_jiti@2.7.0_yaml@2.9.0/node_modules/vite/dist/node/chunks/node.js:24532:26
|
|
Test (console)
Process completed with exit code 1.
|
|
stores/__tests__/contest.spec.ts:
console/src/stores/virtualContest.ts#L4
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock
❯ stores/virtualContest.ts:4:1
Caused by: Caused by: Error: Failed to resolve import "@ulticode/auth-core/src/axiosCsrfInterceptor" from "../shared/http-client/src/index.ts". Does the file exist?
Plugin: vite:import-analysis
File: /home/runner/work/UltiCode/UltiCode/shared/http-client/src/index.ts:39:7
24 | */
25 | import axios from "axios";
26 | import { createCsrfAxiosInterceptor } from "@ulticode/auth-core/src/axiosCsrfInterceptor";
| ^
27 | import { createRefreshAccessToken } from "@ulticode/auth-core/src/refreshCoordinator";
28 | /** Header key used to forward the active locale. Host apps should import the same constant from their i18n module. */
❯ TransformPluginContext._formatLog ../node_modules/.pnpm/vite@8.1.0_@types+node@25.9.1_esbuild@0.27.7_jiti@2.7.0_terser@5.48.0_yaml@2.9.0/node_modules/vite/dist/node/chunks/node.js:29914:39
❯ TransformPluginContext.error ../node_modules/.pnpm/vite@8.1.0_@types+node@25.9.1_esbuild@0.27.7_jiti@2.7.0_terser@5.48.0_yaml@2.9.0/node_modules/vite/dist/node/chunks/node.js:29911:14
❯ normalizeUrl ../node_modules/.pnpm/vite@8.1.0_@types+node@25.9.1_esbuild@0.27.7_jiti@2.7.0_terser@5.48.0_yaml@2.9.0/node_modules/vite/dist/node/chunks/node.js:26975:18
❯ ../node_modules/.pnpm/vite@8.1.0_@types+node@25.9.1_esbuild@0.27.7_jiti@2.7.0_terser@5.48.0_yaml@2.9.0/node_modules/vite/dist/node/chunks/node.js:27038:30
❯ TransformPluginContext.transform ../node_modules/.pnpm/vite@8.1.0_@types+node@25.9.1_esbuild@0.27.7_jiti@2.7.0_terser@5.48.0_yaml@2.9.0/node_modules/vite/dist/node/chunks/node.js:27006:4
❯ EnvironmentPluginContainer.transform ../node_modules/.pnpm/vite@8.1.0_@types+node@25.9.1_esbuild@0.27.7_jiti@2.7.0_terser@5.48.0_yaml@2.9.0/node_modules/vite/dist/node/chunks/node.js:29699:14
❯ loadAndTransform ../node_modules/.pnpm/vite@8.1.0_@types+node@25.9.1_esbuild@0.27.7_jiti@2.7.0_terser@5.48.0_yaml@2.9.0/node_modules/vite/dist/node/chunks/node.js:19725:26
❯ fetchModule ../node_modules/.pnpm/vite@8.1.0_@types+node@25.9.1_esbuild@0.27.7_jiti@2.7.0_terser@5.48.0_yaml@2.9.0/node_modules/vite/dist/node/chunks/node.js:33098:15
|
|
stores/__tests__/bookmark.spec.ts:
console/src/stores/__tests__/bookmark.spec.ts#L3
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock
❯ stores/__tests__/bookmark.spec.ts:3:1
Caused by: Caused by: Error: Failed to resolve import "@ulticode/auth-core/src/axiosCsrfInterceptor" from "../shared/http-client/src/index.ts". Does the file exist?
Plugin: vite:import-analysis
File: /home/runner/work/UltiCode/UltiCode/shared/http-client/src/index.ts:39:7
24 | */
25 | import axios from "axios";
26 | import { createCsrfAxiosInterceptor } from "@ulticode/auth-core/src/axiosCsrfInterceptor";
| ^
27 | import { createRefreshAccessToken } from "@ulticode/auth-core/src/refreshCoordinator";
28 | /** Header key used to forward the active locale. Host apps should import the same constant from their i18n module. */
❯ TransformPluginContext._formatLog ../node_modules/.pnpm/vite@8.1.0_@types+node@25.9.1_esbuild@0.27.7_jiti@2.7.0_terser@5.48.0_yaml@2.9.0/node_modules/vite/dist/node/chunks/node.js:29914:39
❯ TransformPluginContext.error ../node_modules/.pnpm/vite@8.1.0_@types+node@25.9.1_esbuild@0.27.7_jiti@2.7.0_terser@5.48.0_yaml@2.9.0/node_modules/vite/dist/node/chunks/node.js:29911:14
❯ normalizeUrl ../node_modules/.pnpm/vite@8.1.0_@types+node@25.9.1_esbuild@0.27.7_jiti@2.7.0_terser@5.48.0_yaml@2.9.0/node_modules/vite/dist/node/chunks/node.js:26975:18
❯ ../node_modules/.pnpm/vite@8.1.0_@types+node@25.9.1_esbuild@0.27.7_jiti@2.7.0_terser@5.48.0_yaml@2.9.0/node_modules/vite/dist/node/chunks/node.js:27038:30
❯ TransformPluginContext.transform ../node_modules/.pnpm/vite@8.1.0_@types+node@25.9.1_esbuild@0.27.7_jiti@2.7.0_terser@5.48.0_yaml@2.9.0/node_modules/vite/dist/node/chunks/node.js:27006:4
❯ EnvironmentPluginContainer.transform ../node_modules/.pnpm/vite@8.1.0_@types+node@25.9.1_esbuild@0.27.7_jiti@2.7.0_terser@5.48.0_yaml@2.9.0/node_modules/vite/dist/node/chunks/node.js:29699:14
❯ loadAndTransform ../node_modules/.pnpm/vite@8.1.0_@types+node@25.9.1_esbuild@0.27.7_jiti@2.7.0_terser@5.48.0_yaml@2.9.0/node_modules/vite/dist/node/chunks/node.js:19725:26
❯ fetchModule ../node_modules/.pnpm/vite@8.1.0_@types+node@25.9.1_esbuild@0.27.7_jiti@2.7.0_terser@5.48.0_yaml@2.9.0/node_modules/vite/dist/node/chunks/node.js:33098:15
|
|
Backend Test (features off)
Process completed with exit code 1.
|
|
Backend Test (features on)
Process completed with exit code 1.
|
|
Backend Test
Process completed with exit code 1.
|
|
Validate Migrations
Process completed with exit code 1.
|
|
Backend Build:
backend-spring/src/main/java/com/ulticode/modules/problem/vo/ProblemVersionDetailVO.java#L13
Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type.
|
|
Backend Test (features off):
backend-spring/src/main/java/com/ulticode/modules/problem/vo/ProblemVersionDetailVO.java#L13
Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type.
|
|
Backend Test (features on):
backend-spring/src/main/java/com/ulticode/modules/problem/vo/ProblemVersionDetailVO.java#L13
Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type.
|
|
Backend Test:
backend-spring/src/main/java/com/ulticode/modules/problem/vo/ProblemVersionDetailVO.java#L13
Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type.
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
test-results-backend
Expired
|
2.87 MB |
sha256:b19c6bcf89d374b49d3933f008f914d0ce1bc56f9b2ae27c50bb39813b3216e1
|
|
|
test-results-backend-features-off
Expired
|
2.88 MB |
sha256:b3ce08da92791bb49d6e754d334147e2fd1360a7458e2340c2acf02f1928faf8
|
|
|
test-results-backend-features-on
Expired
|
2.88 MB |
sha256:70a1ea95f23361f3ee804b8477f49cc84db944394246a414de42f3199dd2c1e2
|
|