Skip to content

docs: add moderation and problems page front-back alignment analysis #193

docs: add moderation and problems page front-back alignment analysis

docs: add moderation and problems page front-back alignment analysis #193

Triggered via push May 18, 2026 14:19
Status Failure
Total duration 5m 5s
Artifacts 1

ci.yml

on: push
Detect Changes
8s
Detect Changes
Validate Migrations
1m 52s
Validate Migrations
Matrix: docker-verify
Matrix: frontend-lint
Matrix: frontend-test
Matrix: frontend-type-check
Fit to window
Zoom out
Zoom in

Annotations

31 errors
Lint (management)
Process completed with exit code 1.
Lint (management): management/src/views/problems/edit/EditDescriptionView.vue#L37
Unexpected any. Specify a different type
Lint (management): management/src/views/problem-lists/components/BannerSection.vue#L142
'statusText' is assigned a value but never used
Lint (management): management/src/views/problem-lists/components/BannerSection.test.ts#L2
'flushPromises' is defined but never used
Lint (management): management/src/utils/__tests__/error.test.ts#L33
Unexpected any. Specify a different type
Lint (management): management/src/composables/useAutoSave.test.ts#L2
'ref' is defined but never used
views/problems/components/__tests__/DescriptionForm.spec.ts > DescriptionForm > form serialization > emits all form fields in correct shape: management/src/views/problems/components/__tests__/DescriptionForm.spec.ts#L738
TypeError: Cannot read properties of undefined (reading '0') ❯ views/problems/components/__tests__/DescriptionForm.spec.ts:738:48
views/problems/components/__tests__/DescriptionForm.spec.ts > DescriptionForm > loading state > shows saving text when loading: management/src/views/problems/components/__tests__/DescriptionForm.spec.ts#L706
TypeError: formComponent.vm.setLoading is not a function ❯ views/problems/components/__tests__/DescriptionForm.spec.ts:706:24
views/problems/components/__tests__/DescriptionForm.spec.ts > DescriptionForm > loading state > enables submit button when loading is false: management/src/views/problems/components/__tests__/DescriptionForm.spec.ts#L691
TypeError: formComponent.vm.setLoading is not a function ❯ views/problems/components/__tests__/DescriptionForm.spec.ts:691:24
views/problems/components/__tests__/DescriptionForm.spec.ts > DescriptionForm > loading state > disables submit button when loading is true: management/src/views/problems/components/__tests__/DescriptionForm.spec.ts#L679
TypeError: formComponent.vm.setLoading is not a function ❯ views/problems/components/__tests__/DescriptionForm.spec.ts:679:24
views/problems/components/__tests__/DescriptionForm.spec.ts > DescriptionForm > cancel > emits cancel event when cancel button is clicked: management/src/views/problems/components/__tests__/DescriptionForm.spec.ts#L669
AssertionError: expected undefined to be truthy - Expected: true + Received: undefined ❯ views/problems/components/__tests__/DescriptionForm.spec.ts:669:41
views/problems/components/__tests__/DescriptionForm.spec.ts > DescriptionForm > submit > emits submit with updated field values: management/src/views/problems/components/__tests__/DescriptionForm.spec.ts#L637
TypeError: Cannot read properties of undefined (reading '0') ❯ views/problems/components/__tests__/DescriptionForm.spec.ts:637:52
views/problems/components/__tests__/DescriptionForm.spec.ts > DescriptionForm > submit > emits submit with correct data when form is valid: management/src/views/problems/components/__tests__/DescriptionForm.spec.ts#L604
AssertionError: expected undefined to be truthy - Expected: true + Received: undefined ❯ views/problems/components/__tests__/DescriptionForm.spec.ts:604:41
views/problems/components/__tests__/DescriptionForm.spec.ts > DescriptionForm > validation > displays slug format validation error: management/src/views/problems/components/__tests__/DescriptionForm.spec.ts#L581
AssertionError: expected 'problems.descriptionForm.basicInfopro…' to contain 'Slug must contain only lowercase lett…' Expected: "Slug must contain only lowercase letters, numbers, and hyphens" Received: "problems.descriptionForm.basicInfoproblems.form.titleproblems.form.slugproblems.form.difficultyproblems.difficulty.EASYproblems.difficulty.MEDIUMproblems.difficulty.HARDproblems.form.statusproblems.status.todoproblems.status.attemptedproblems.status.solvedproblems.descriptionForm.premiumproblems.descriptionForm.premiumDescriptionproblems.descriptionForm.publishedproblems.descriptionForm.publishedDescriptionproblems.descriptionForm.problemDescriptionproblems.form.summaryproblems.form.fullContentproblems.descriptionForm.examplesExamplesEditorproblems.descriptionForm.constraintsConstraintsEditorproblems.descriptionForm.hintsHintsEditorproblems.descriptionForm.tagsAdd Tagproblems.descriptionForm.languagesproblems.descriptionForm.languagesDescriptionpythonjavascripttypescriptjavacppccsharpgorustrubyphpswiftkotlinproblems.descriptionForm.noLanguagesSelected problems.descriptionForm.saveDescriptioncommon.cancelLivePreviewPanel" ❯ views/problems/components/__tests__/DescriptionForm.spec.ts:581:30
views/problems/components/__tests__/DescriptionForm.spec.ts > DescriptionForm > validation > displays validation errors for required fields on submit: management/src/views/problems/components/__tests__/DescriptionForm.spec.ts#L562
AssertionError: expected 'problems.descriptionForm.basicInfopro…' to contain 'Title is required' Expected: "Title is required" Received: "problems.descriptionForm.basicInfoproblems.form.titleproblems.form.slugproblems.form.difficultyproblems.difficulty.EASYproblems.difficulty.MEDIUMproblems.difficulty.HARDproblems.form.statusproblems.status.todoproblems.status.attemptedproblems.status.solvedproblems.descriptionForm.premiumproblems.descriptionForm.premiumDescriptionproblems.descriptionForm.publishedproblems.descriptionForm.publishedDescriptionproblems.descriptionForm.problemDescriptionproblems.form.summaryproblems.form.fullContentproblems.descriptionForm.examplesExamplesEditorproblems.descriptionForm.constraintsConstraintsEditorproblems.descriptionForm.hintsHintsEditorproblems.descriptionForm.tagsAdd Tagproblems.descriptionForm.languagesproblems.descriptionForm.languagesDescriptionpythonjavascripttypescriptjavacppccsharpgorustrubyphpswiftkotlinproblems.descriptionForm.noLanguagesSelected problems.descriptionForm.saveDescriptioncommon.cancelLivePreviewPanel" ❯ views/problems/components/__tests__/DescriptionForm.spec.ts:562:21
e2e/problem-list-edit.spec.ts: management/src/e2e/problem-list-edit.spec.ts#L6
Error: Playwright Test did not expect test.describe() to be called here. Most common reasons include: - You are calling test.describe() in a configuration file. - You are calling test.describe() in a file that is imported by the configuration file. - You have two different versions of @playwright/test. This usually happens when one of the dependencies in your package.json depends on @playwright/test. ❯ TestTypeImpl._currentSuite ../node_modules/.pnpm/playwright@1.59.1/node_modules/playwright/lib/common/testType.js:75:13 ❯ TestTypeImpl._describe ../node_modules/.pnpm/playwright@1.59.1/node_modules/playwright/lib/common/testType.js:115:24 ❯ Function.describe ../node_modules/.pnpm/playwright@1.59.1/node_modules/playwright/lib/transform/transform.js:275:12 ❯ e2e/problem-list-edit.spec.ts:6:6
Type Check (management)
Type '{ name: string | undefined; description: string; }' is not assignable to type '{ name: string; description: string; } | { name: string; description: string; } | null'.
Type Check (management)
No overload matches this call.
Type Check (management)
Property 'saveChanges' does not exist on type 'ComponentPublicInstance<NonNullable<{ readonly modelValue: ProblemListDetail | null; readonly disabled?: boolean | undefined; readonly isCreate?: boolean | undefined; readonly "onUpdate:modelValue"?: ((value: ProblemListDetail) => any) | undefined; readonly onSuccess?: ((id: string) => any) | undefined; } & VNodePro...'.
Type Check (management)
Property 'saveChanges' does not exist on type 'ComponentPublicInstance<NonNullable<{ readonly modelValue: ProblemListDetail | null; readonly disabled?: boolean | undefined; readonly isCreate?: boolean | undefined; readonly "onUpdate:modelValue"?: ((value: ProblemListDetail) => any) | undefined; readonly onSuccess?: ((id: string) => any) | undefined; } & VNodePro...'.
Type Check (management)
Property 'form' does not exist on type 'ComponentPublicInstance<NonNullable<{ readonly modelValue: ProblemListDetail | null; readonly disabled?: boolean | undefined; readonly isCreate?: boolean | undefined; readonly "onUpdate:modelValue"?: ((value: ProblemListDetail) => any) | undefined; readonly onSuccess?: ((id: string) => any) | undefined; } & VNodePro...'.
Type Check (management)
Type '{ FormField: { props: string[]; setup(props: { name: string; }, { slots }: { slots: Record<string, (...args: unknown[]) => unknown>; }): () => unknown; }; FormItem: { setup(_props: unknown, { slots }: { slots: Record<string, (...args: unknown[]) => unknown>; }): () => unknown; }; ... 4 more ...; Textarea: { ...; }; }' is not assignable to type 'Stubs | undefined'.
Type Check (management)
Type '(updatedList: { problems: { id: number; slug: string; title: string; difficulty: string; status: string; sortOrder: number; addedAt: string; }[]; id: string; name: string; description: string; authorId: string; ... 8 more ...; problemCount?: number | undefined; } | null) => void' is not assignable to type '(value: ProblemList) => any'.
Type Check (management)
Type '(updatedList: { problems: { id: number; slug: string; title: string; difficulty: string; status: string; sortOrder: number; addedAt: string; }[]; id: string; name: string; description: string; authorId: string; ... 8 more ...; problemCount?: number | undefined; } | null) => void' is not assignable to type '(value: ProblemList) => any'.
Type Check (management)
Property 'category' does not exist on type 'SystemAnnouncement'.
Type Check (management)
Cannot find module '@dnd-kit/dom' or its corresponding type declarations.
Validate Migrations
Process completed with exit code 1.
Backend Test
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size Digest
test-results-backend Expired
1.07 MB
sha256:ae7590b7b356fa2918a74c991ce58eaa85f4f04c06295a28ebaf3c7bd59fdb76