Skip to content

WIP: Start work moving trial data to benchmarks #1048

WIP: Start work moving trial data to benchmarks

WIP: Start work moving trial data to benchmarks #1048

Triggered via push January 10, 2025 01:38
Status Failure
Total duration 4m 0s
Artifacts

pr.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 4 warnings
lint: src/backend/routers/iep.ts#L266
Unsafe assignment of an error typed value
lint: src/pages/benchmarks/[benchmark_id]/index.tsx#L104
Unsafe assignment of an error typed value
lint: src/pages/benchmarks/[benchmark_id]/index.tsx#L119
Unsafe assignment of an error typed value
lint
Process completed with exit code 1.
type-check: src/backend/routers/iep.ts#L261
Property 'benchmark_id' does not exist on type '{ success: number; task_id: string; notes: string; unsuccess: number; }'.
type-check: src/backend/routers/iep.ts#L266
Object literal may only specify known properties, and 'benchmark_id' does not exist in type 'InsertExpression<KyselySchema, "trial_data">'.
type-check: src/backend/routers/iep.ts#L438
Argument of type '"task.task_id"' is not assignable to parameter of type 'ReferenceExpression<KyselySchema, "benchmark" | "goal" | "iep" | "student" | "trial_data">'.
type-check: src/backend/routers/iep.ts#L442
Argument of type '"task.assignee_id"' is not assignable to parameter of type 'ReferenceExpression<KyselySchema, "benchmark" | "goal" | "iep" | "student" | "trial_data">'.
type-check: src/pages/benchmarks/[benchmark_id]/index.tsx#L38
No overload matches this call.
type-check: src/pages/benchmarks/[benchmark_id]/index.tsx#L103
Property 'seen' does not exist on type '{ first_name: string; last_name: string; category: string; description: string; benchmark_id: string; frequency: string; instructions: string; number_of_trials: number | null; trials: { success: number; ... 5 more ...; files: { ...; }[]; }[]; }'.
type-check: src/pages/benchmarks/[benchmark_id]/index.tsx#L104
Property 'task_id' does not exist on type '{ first_name: string; last_name: string; category: string; description: string; benchmark_id: string; frequency: string; instructions: string; number_of_trials: number | null; trials: { success: number; ... 5 more ...; files: { ...; }[]; }[]; }'.
type-check: src/pages/benchmarks/[benchmark_id]/index.tsx#L119
Property 'task_id' does not exist on type '{ first_name: string; last_name: string; category: string; description: string; benchmark_id: string; frequency: string; instructions: string; number_of_trials: number | null; trials: { success: number; ... 5 more ...; files: { ...; }[]; }[]; }'.
type-check: src/pages/benchmarks/[benchmark_id]/instructions.tsx#L15
No overload matches this call.
type-check
Process completed with exit code 2.
test
Process completed with exit code 1.
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
type-check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
storybook-tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636