Skip to content

feat: add landing page with i18n and test data seeding #251

feat: add landing page with i18n and test data seeding

feat: add landing page with i18n and test data seeding #251

Triggered via push June 3, 2026 02:14
Status Failure
Total duration 37s
Artifacts

ci.yml

on: push
Detect Changes
5s
Detect Changes
Backend Build
0s
Backend Build
Validate Migrations
0s
Validate Migrations
i18n Check (management)
0s
i18n Check (management)
Matrix: docker-verify
Matrix: frontend-lint
Matrix: frontend-test
Matrix: frontend-type-check
Backend Test
0s
Backend Test
Fit to window
Zoom out
Zoom in

Annotations

17 errors
Type Check (console)
'editorInstance' is possibly 'null'.
Type Check (console)
Argument of type 'string | number' is not assignable to parameter of type 'string'.
Type Check (console)
Argument of type 'string | number' is not assignable to parameter of type 'string'.
Type Check (console)
Type '{ duration: number; title: string; id: string; status: string; isPremium: boolean; problemCount: number; slug: string; startTime: string; endTime: string | null; contestType: string; participantCount: number; ... 9 more ...; coverImage: string; }[]' is not assignable to type 'ContestListItem[]'.
Type Check (console)
Type 'PaginatedResult<{ username: string; avatar: string | null; userId: string; badge: string | null; rank: number; country: string | null; rating: number | null; maxRating: number | null; ratingTitle: "NEWBIE" | ... 8 more ... | "LEGENDARY_GRANDMASTER"; maxRatingTitle: "NEWBIE" | ... 8 more ... | "LEGENDARY_GRANDMASTER"...' is not assignable to type 'PaginatedResult<GlobalRankingEntry>'.
Type Check (console)
Type 'PaginatedResult<{ duration: number; title: string; id: string; status: string; isPremium: boolean; problemCount: number; slug: string; startTime: string; endTime: string | null; contestType: string; participantCount: number; ... 9 more ...; coverImage: string; }>' is not assignable to type 'PaginatedResult<ContestListItem>'.
Type Check (console)
Type '{ duration: number; title: string; id: string; status: string; description: string; isPremium: boolean; tags: string[]; problemCount: number; createdAt: string; updatedAt: string; rules: string; slug: string; ... 26 more ...; userScore: number; }' is not assignable to type 'ContestDetail'.
Type Check (console)
Type 'PaginatedResult<{ duration: number; title: string; id: string; status: string; isPremium: boolean; problemCount: number; slug: string; startTime: string; endTime: string | null; contestType: string; participantCount: number; ... 9 more ...; coverImage: string; }>' is not assignable to type 'PaginatedResult<ContestListItem>'.
Type Check (console)
Type 'PaginatedResult<{ duration: number; title: string; id: string; status: string; isPremium: boolean; problemCount: number; slug: string; startTime: string; endTime: string | null; contestType: string; participantCount: number; ... 9 more ...; coverImage: string; }>' is not assignable to type 'PaginatedResult<ContestListItem>'.
Type Check (console)
Type 'PaginatedResult<{ duration: number; title: string; id: string; status: string; isPremium: boolean; problemCount: number; slug: string; startTime: string; endTime: string | null; contestType: string; participantCount: number; ... 9 more ...; coverImage: string; }>' is not assignable to type 'PaginatedResult<ContestListItem>'.
Test (console)
Process completed with exit code 1.
api/__tests__/problem-detail.spec.ts > fetchProblemDetailById > appends userId with slug route: console/src/api/__tests__/problem-detail.spec.ts#L69
AssertionError: expected "vi.fn()" to be called with arguments: [ Array(1) ] Received: 1st vi.fn() call: [ - "/problems/slug/two-sum?userId=user-456", + "/problems/slug/two-sum", ] Number of calls: 1 ❯ api/__tests__/problem-detail.spec.ts:69:20
api/__tests__/problem-detail.spec.ts > fetchProblemDetailById > appends userId query parameter when provided: console/src/api/__tests__/problem-detail.spec.ts#L57
AssertionError: expected "vi.fn()" to be called with arguments: [ '/problems/1?userId=user-123' ] Received: 1st vi.fn() call: [ - "/problems/1?userId=user-123", + "/problems/1", ] Number of calls: 1 ❯ api/__tests__/problem-detail.spec.ts:57:20
Lint (console)
Process completed with exit code 1.
Lint (console): console/src/views/forum/ForumFeedView.vue#L36
'isDevelopment' is assigned a value but never used
Lint (console): console/src/components/problem/ProblemNotesDrawer.vue#L32
Unexpected any. Specify a different type
Lint (console): console/src/components/follow/FollowButton.vue#L14
'fetchStatus' is assigned a value but never used