Skip to content

Noticed a regression for Input Number while testing on webapp. Testing this logic fix #8794

Noticed a regression for Input Number while testing on webapp. Testing this logic fix

Noticed a regression for Input Number while testing on webapp. Testing this logic fix #8794

Triggered via pull request November 15, 2024 02:56
Status Failure
Total duration 3m 0s
Artifacts

node-ci.yml

on: pull_request
Matrix: Check for .changeset entries for all changed files
Matrix: Check builds for changes in size
Matrix: Cypress
Matrix: Lint, Typecheck, Format, and Test
Matrix: Publish npm snapshot
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Check for .changeset entries for all changed files (ubuntu-latest, 20.x)
Changeset entry required for @khanacademy/perseus because there have been changes since the last release.
Lint, Typecheck, Format, and Test (ubuntu-latest, 20.x): packages/perseus/src/util/math.ts#L239
This comparison appears to be unintentional because the types 'MathFormat | undefined' and '"percent"' have no overlap.
Lint, Typecheck, Format, and Test (ubuntu-latest, 20.x): packages/perseus/src/util/parse-perseus-json/perseus-parsers/numeric-input-widget.ts#L28
Type 'Parser<WidgetOptions<"numeric-input", { answers: { message: string; value: number; status: string; answerForms: ("integer" | "mixed" | "improper" | "proper" | "decimal" | "pi" | "percent")[] | undefined; strict: boolean; maxError: number | ... 1 more ... | undefined; simplify: string | ... 1 more ... | undefined; }[...' is not assignable to type 'Parser<NumericInputWidget>'.
Lint, Typecheck, Format, and Test (ubuntu-latest, 20.x)
Process completed with exit code 2.
Lint, Typecheck, Format, and Test (ubuntu-latest, 20.x): packages/perseus/src/util/math.ts#L239
This comparison appears to be unintentional because the types 'MathFormat | undefined' and '"percent"' have no overlap.
Lint, Typecheck, Format, and Test (ubuntu-latest, 20.x): packages/perseus/src/util/parse-perseus-json/perseus-parsers/numeric-input-widget.ts#L28
Type 'Parser<WidgetOptions<"numeric-input", { answers: { message: string; value: number; status: string; answerForms: ("integer" | "mixed" | "improper" | "proper" | "decimal" | "pi" | "percent")[] | undefined; strict: boolean; maxError: number | ... 1 more ... | undefined; simplify: string | ... 1 more ... | undefined; }[...' is not assignable to type 'Parser<NumericInputWidget>'.
Lint, Typecheck, Format, and Test (ubuntu-latest, 20.x)
Process completed with exit code 2.
Publish npm snapshot (ubuntu-latest, 20.x): packages/perseus/src/util/math.ts#L239
This comparison appears to be unintentional because the types 'MathFormat | undefined' and '"percent"' have no overlap.
Publish npm snapshot (ubuntu-latest, 20.x): packages/perseus/src/util/parse-perseus-json/perseus-parsers/numeric-input-widget.ts#L28
Type 'Parser<WidgetOptions<"numeric-input", { answers: { message: string; value: number; status: string; answerForms: ("integer" | "mixed" | "improper" | "proper" | "decimal" | "pi" | "percent")[] | undefined; strict: boolean; maxError: number | ... 1 more ... | undefined; simplify: string | ... 1 more ... | undefined; }[...' is not assignable to type 'Parser<NumericInputWidget>'.
Publish npm snapshot (ubuntu-latest, 20.x)
Process completed with exit code 2.