Skip to content

@remotion/renderer: Try making getting the CPU count more reliable #18807

@remotion/renderer: Try making getting the CPU count more reliable

@remotion/renderer: Try making getting the CPU count more reliable #18807

Triggered via pull request February 4, 2025 09:58
Status Failure
Total duration 3m 56s
Artifacts

push.yml

on: pull_request
Lambda integration
1m 36s
Lambda integration
SSR integration
1m 53s
SSR integration
Linting + Formatting
3m 48s
Linting + Formatting
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

80 errors and 12 warnings
Lambda integration
Argument of type 'string | number | null' is not assignable to parameter of type '{ userPreference: string | number | null; indent: boolean; logLevel: "trace" | "verbose" | "info" | "warn" | "error"; }'.
Lambda integration
Type 'number | Promise<number>' is not assignable to type 'string | number | null'.
Lambda integration
Argument of type '{ value: string | number | null; setting: string; checkIfValidForCurrentMachine: false; }' is not assignable to parameter of type '{ value: unknown; setting: string; checkIfValidForCurrentMachine: boolean; indent: boolean; logLevel: "trace" | "verbose" | "info" | "warn" | "error"; }'.
Lambda integration
Argument of type 'string | number | null' is not assignable to parameter of type '{ userPreference: string | number | null; indent: boolean; logLevel: "trace" | "verbose" | "info" | "warn" | "error"; }'.
Lambda integration
Property 'getMaxConcurrency' does not exist on type '{ resolveConcurrency: ({ indent, logLevel, userPreference, }: { userPreference: string | number | null; indent: boolean; logLevel: "trace" | "verbose" | "info" | "warn" | "error"; }) => Promise<number>; serveStatic: (path: string | null, options: { ...; }) => Promise<...>; ... 80 more ...; printUsefulErrorMessage: (...'. Did you mean 'getMinConcurrency'?
Lambda integration
Type 'Promise<number>' is not assignable to type 'number'.
Lambda integration
Argument of type 'string | number | null' is not assignable to parameter of type '{ userPreference: string | number | null; indent: boolean; logLevel: "trace" | "verbose" | "info" | "warn" | "error"; }'.
Lambda integration
Type 'Promise<number>' is not assignable to type 'number'.
Lambda integration
Type 'Promise<number>' is not assignable to type 'string | number | null'.
Lambda integration
@remotion/cli#make: command (/home/runner/work/remotion/remotion/packages/cli) /home/runner/setup-pnpm/node_modules/.bin/pnpm run make exited (1)
Build Node 20.5 on ubuntu-latest
Argument of type 'string | number | null' is not assignable to parameter of type '{ userPreference: string | number | null; indent: boolean; logLevel: "trace" | "verbose" | "info" | "warn" | "error"; }'.
Build Node 20.5 on ubuntu-latest
Type 'number | Promise<number>' is not assignable to type 'string | number | null'.
Build Node 20.5 on ubuntu-latest
Argument of type '{ value: string | number | null; setting: string; checkIfValidForCurrentMachine: false; }' is not assignable to parameter of type '{ value: unknown; setting: string; checkIfValidForCurrentMachine: boolean; indent: boolean; logLevel: "trace" | "verbose" | "info" | "warn" | "error"; }'.
Build Node 20.5 on ubuntu-latest
Argument of type 'string | number | null' is not assignable to parameter of type '{ userPreference: string | number | null; indent: boolean; logLevel: "trace" | "verbose" | "info" | "warn" | "error"; }'.
Build Node 20.5 on ubuntu-latest
Property 'getMaxConcurrency' does not exist on type '{ resolveConcurrency: ({ indent, logLevel, userPreference, }: { userPreference: string | number | null; indent: boolean; logLevel: "trace" | "verbose" | "info" | "warn" | "error"; }) => Promise<number>; serveStatic: (path: string | null, options: { ...; }) => Promise<...>; ... 80 more ...; printUsefulErrorMessage: (...'. Did you mean 'getMinConcurrency'?
Build Node 20.5 on ubuntu-latest
Type 'Promise<number>' is not assignable to type 'number'.
Build Node 20.5 on ubuntu-latest
Argument of type 'string | number | null' is not assignable to parameter of type '{ userPreference: string | number | null; indent: boolean; logLevel: "trace" | "verbose" | "info" | "warn" | "error"; }'.
Build Node 20.5 on ubuntu-latest
Type 'Promise<number>' is not assignable to type 'number'.
Build Node 20.5 on ubuntu-latest
Type 'Promise<number>' is not assignable to type 'string | number | null'.
Build Node 20.5 on ubuntu-latest
@remotion/cli#make: command (/home/runner/work/remotion/remotion/packages/cli) /home/runner/setup-pnpm/node_modules/.bin/pnpm run make exited (1)
SSR integration
Argument of type 'string | number | null' is not assignable to parameter of type '{ userPreference: string | number | null; indent: boolean; logLevel: "trace" | "verbose" | "info" | "warn" | "error"; }'.
SSR integration
Type 'number | Promise<number>' is not assignable to type 'string | number | null'.
SSR integration
Argument of type '{ value: string | number | null; setting: string; checkIfValidForCurrentMachine: false; }' is not assignable to parameter of type '{ value: unknown; setting: string; checkIfValidForCurrentMachine: boolean; indent: boolean; logLevel: "trace" | "verbose" | "info" | "warn" | "error"; }'.
SSR integration
Argument of type 'string | number | null' is not assignable to parameter of type '{ userPreference: string | number | null; indent: boolean; logLevel: "trace" | "verbose" | "info" | "warn" | "error"; }'.
SSR integration
Property 'getMaxConcurrency' does not exist on type '{ resolveConcurrency: ({ indent, logLevel, userPreference, }: { userPreference: string | number | null; indent: boolean; logLevel: "trace" | "verbose" | "info" | "warn" | "error"; }) => Promise<number>; serveStatic: (path: string | null, options: { ...; }) => Promise<...>; ... 80 more ...; printUsefulErrorMessage: (...'. Did you mean 'getMinConcurrency'?
SSR integration
Type 'Promise<number>' is not assignable to type 'number'.
SSR integration
Argument of type 'string | number | null' is not assignable to parameter of type '{ userPreference: string | number | null; indent: boolean; logLevel: "trace" | "verbose" | "info" | "warn" | "error"; }'.
SSR integration
Type 'Promise<number>' is not assignable to type 'number'.
SSR integration
Type 'Promise<number>' is not assignable to type 'string | number | null'.
SSR integration
@remotion/cli#make: command (/home/runner/work/remotion/remotion/packages/cli) /home/runner/setup-pnpm/node_modules/.bin/pnpm run make exited (1)
Build Node 16 on ubuntu-latest
Argument of type 'string | number | null' is not assignable to parameter of type '{ userPreference: string | number | null; indent: boolean; logLevel: "trace" | "verbose" | "info" | "warn" | "error"; }'.
Build Node 16 on ubuntu-latest
Type 'number | Promise<number>' is not assignable to type 'string | number | null'.
Build Node 16 on ubuntu-latest
Argument of type '{ value: string | number | null; setting: string; checkIfValidForCurrentMachine: false; }' is not assignable to parameter of type '{ value: unknown; setting: string; checkIfValidForCurrentMachine: boolean; indent: boolean; logLevel: "trace" | "verbose" | "info" | "warn" | "error"; }'.
Build Node 16 on ubuntu-latest
Argument of type 'string | number | null' is not assignable to parameter of type '{ userPreference: string | number | null; indent: boolean; logLevel: "trace" | "verbose" | "info" | "warn" | "error"; }'.
Build Node 16 on ubuntu-latest
Property 'getMaxConcurrency' does not exist on type '{ resolveConcurrency: ({ indent, logLevel, userPreference, }: { userPreference: string | number | null; indent: boolean; logLevel: "trace" | "verbose" | "info" | "warn" | "error"; }) => Promise<number>; serveStatic: (path: string | null, options: { ...; }) => Promise<...>; ... 80 more ...; printUsefulErrorMessage: (...'. Did you mean 'getMinConcurrency'?
Build Node 16 on ubuntu-latest
Type 'Promise<number>' is not assignable to type 'number'.
Build Node 16 on ubuntu-latest
Argument of type 'string | number | null' is not assignable to parameter of type '{ userPreference: string | number | null; indent: boolean; logLevel: "trace" | "verbose" | "info" | "warn" | "error"; }'.
Build Node 16 on ubuntu-latest
Type 'Promise<number>' is not assignable to type 'number'.
Build Node 16 on ubuntu-latest
Type 'Promise<number>' is not assignable to type 'string | number | null'.
Build Node 16 on ubuntu-latest
@remotion/cli#make: command (/home/runner/work/remotion/remotion/packages/cli) /home/runner/setup-pnpm/node_modules/.bin/pnpm run make exited (1)
Build Node 16 on macos-14
Argument of type 'string | number | null' is not assignable to parameter of type '{ userPreference: string | number | null; indent: boolean; logLevel: "trace" | "verbose" | "info" | "warn" | "error"; }'.
Build Node 16 on macos-14
Type 'number | Promise<number>' is not assignable to type 'string | number | null'.
Build Node 16 on macos-14
Argument of type '{ value: string | number | null; setting: string; checkIfValidForCurrentMachine: false; }' is not assignable to parameter of type '{ value: unknown; setting: string; checkIfValidForCurrentMachine: boolean; indent: boolean; logLevel: "trace" | "verbose" | "info" | "warn" | "error"; }'.
Build Node 16 on macos-14
Argument of type 'string | number | null' is not assignable to parameter of type '{ userPreference: string | number | null; indent: boolean; logLevel: "trace" | "verbose" | "info" | "warn" | "error"; }'.
Build Node 16 on macos-14
Property 'getMaxConcurrency' does not exist on type '{ resolveConcurrency: ({ indent, logLevel, userPreference, }: { userPreference: string | number | null; indent: boolean; logLevel: "trace" | "verbose" | "info" | "warn" | "error"; }) => Promise<number>; serveStatic: (path: string | null, options: { ...; }) => Promise<...>; ... 80 more ...; printUsefulErrorMessage: (...'. Did you mean 'getMinConcurrency'?
Build Node 16 on macos-14
Type 'Promise<number>' is not assignable to type 'number'.
Build Node 16 on macos-14
Argument of type 'string | number | null' is not assignable to parameter of type '{ userPreference: string | number | null; indent: boolean; logLevel: "trace" | "verbose" | "info" | "warn" | "error"; }'.
Build Node 16 on macos-14
Type 'Promise<number>' is not assignable to type 'number'.
Build Node 16 on macos-14
Type 'Promise<number>' is not assignable to type 'string | number | null'.
Build Node 16 on macos-14
@remotion/cli#make: command (/Users/runner/work/remotion/remotion/packages/cli) /Users/runner/setup-pnpm/node_modules/.bin/pnpm run make exited (1)
Build Node 16 on macos-latest
Argument of type 'string | number | null' is not assignable to parameter of type '{ userPreference: string | number | null; indent: boolean; logLevel: "trace" | "verbose" | "info" | "warn" | "error"; }'.
Build Node 16 on macos-latest
Type 'number | Promise<number>' is not assignable to type 'string | number | null'.
Build Node 16 on macos-latest
Argument of type '{ value: string | number | null; setting: string; checkIfValidForCurrentMachine: false; }' is not assignable to parameter of type '{ value: unknown; setting: string; checkIfValidForCurrentMachine: boolean; indent: boolean; logLevel: "trace" | "verbose" | "info" | "warn" | "error"; }'.
Build Node 16 on macos-latest
Argument of type 'string | number | null' is not assignable to parameter of type '{ userPreference: string | number | null; indent: boolean; logLevel: "trace" | "verbose" | "info" | "warn" | "error"; }'.
Build Node 16 on macos-latest
@remotion/cli#make: command (/Users/runner/work/remotion/remotion/packages/cli) /Users/runner/setup-pnpm/node_modules/.bin/pnpm run make exited (1)
Build Node 16 on macos-latest
Property 'getMaxConcurrency' does not exist on type '{ resolveConcurrency: ({ indent, logLevel, userPreference, }: { userPreference: string | number | null; indent: boolean; logLevel: "trace" | "verbose" | "info" | "warn" | "error"; }) => Promise<number>; serveStatic: (path: string | null, options: { ...; }) => Promise<...>; ... 80 more ...; printUsefulErrorMessage: (...'. Did you mean 'getMinConcurrency'?
Build Node 16 on macos-latest
Type 'Promise<number>' is not assignable to type 'number'.
Build Node 16 on macos-latest
Argument of type 'string | number | null' is not assignable to parameter of type '{ userPreference: string | number | null; indent: boolean; logLevel: "trace" | "verbose" | "info" | "warn" | "error"; }'.
Build Node 16 on macos-latest
Type 'Promise<number>' is not assignable to type 'number'.
Build Node 16 on macos-latest
Type 'Promise<number>' is not assignable to type 'string | number | null'.
Build Node 16 on windows-latest
Argument of type 'string | number | null' is not assignable to parameter of type '{ userPreference: string | number | null; indent: boolean; logLevel: "trace" | "verbose" | "info" | "warn" | "error"; }'.
Build Node 16 on windows-latest
Type 'number | Promise<number>' is not assignable to type 'string | number | null'.
Build Node 16 on windows-latest
Argument of type '{ value: string | number | null; setting: string; checkIfValidForCurrentMachine: false; }' is not assignable to parameter of type '{ value: unknown; setting: string; checkIfValidForCurrentMachine: boolean; indent: boolean; logLevel: "trace" | "verbose" | "info" | "warn" | "error"; }'.
Build Node 16 on windows-latest
Argument of type 'string | number | null' is not assignable to parameter of type '{ userPreference: string | number | null; indent: boolean; logLevel: "trace" | "verbose" | "info" | "warn" | "error"; }'.
Build Node 16 on windows-latest
Property 'getMaxConcurrency' does not exist on type '{ resolveConcurrency: ({ indent, logLevel, userPreference, }: { userPreference: string | number | null; indent: boolean; logLevel: "trace" | "verbose" | "info" | "warn" | "error"; }) => Promise<number>; serveStatic: (path: string | null, options: { ...; }) => Promise<...>; ... 80 more ...; printUsefulErrorMessage: (...'. Did you mean 'getMinConcurrency'?
Build Node 16 on windows-latest
Type 'Promise<number>' is not assignable to type 'number'.
Build Node 16 on windows-latest
Argument of type 'string | number | null' is not assignable to parameter of type '{ userPreference: string | number | null; indent: boolean; logLevel: "trace" | "verbose" | "info" | "warn" | "error"; }'.
Build Node 16 on windows-latest
Type 'Promise<number>' is not assignable to type 'number'.
Build Node 16 on windows-latest
Type 'Promise<number>' is not assignable to type 'string | number | null'.
Build Node 16 on windows-latest
@remotion/cli#make: command (D:\a\remotion\remotion\packages\cli) C:\Users\runneradmin\setup-pnpm\node_modules\.bin\pnpm.CMD run make exited (1)
Linting + Formatting
Argument of type 'string | number | null' is not assignable to parameter of type '{ userPreference: string | number | null; indent: boolean; logLevel: "trace" | "verbose" | "info" | "warn" | "error"; }'.
Linting + Formatting
Type 'number | Promise<number>' is not assignable to type 'string | number | null'.
Linting + Formatting
@remotion/cli#make: command (/home/runner/work/remotion/remotion/packages/cli) /home/runner/setup-pnpm/node_modules/.bin/pnpm run make exited (1)
Linting + Formatting
Argument of type '{ value: string | number | null; setting: string; checkIfValidForCurrentMachine: false; }' is not assignable to parameter of type '{ value: unknown; setting: string; checkIfValidForCurrentMachine: boolean; indent: boolean; logLevel: "trace" | "verbose" | "info" | "warn" | "error"; }'.
Linting + Formatting
Argument of type 'string | number | null' is not assignable to parameter of type '{ userPreference: string | number | null; indent: boolean; logLevel: "trace" | "verbose" | "info" | "warn" | "error"; }'.
Linting + Formatting
Property 'getMaxConcurrency' does not exist on type '{ resolveConcurrency: ({ indent, logLevel, userPreference, }: { userPreference: string | number | null; indent: boolean; logLevel: "trace" | "verbose" | "info" | "warn" | "error"; }) => Promise<number>; serveStatic: (path: string | null, options: { ...; }) => Promise<...>; ... 80 more ...; printUsefulErrorMessage: (...'. Did you mean 'getMinConcurrency'?
Linting + Formatting
Type 'Promise<number>' is not assignable to type 'number'.
Linting + Formatting
Argument of type 'string | number | null' is not assignable to parameter of type '{ userPreference: string | number | null; indent: boolean; logLevel: "trace" | "verbose" | "info" | "warn" | "error"; }'.
Linting + Formatting
Type 'Promise<number>' is not assignable to type 'number'.
Linting + Formatting
Type 'Promise<number>' is not assignable to type 'string | number | null'.
SSR integration
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/[email protected]. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
Build Node 16 on macos-14
Restore cache failed: Dependencies file is not found in /Users/runner/work/remotion/remotion. Supported file pattern: go.sum
Linting + Formatting: packages/paths/src/cut-instruction.ts#L96
Unexpected 'todo' comment: 'TODO: Could we cut it as well?'
Linting + Formatting: packages/captions/src/test/ensure-max-characters.test.ts#L23
Unexpected 'todo' comment: 'TODO: This creates captions that are not...'
Linting + Formatting: packages/core/src/audio/shared-audio-tags.tsx#L276
Unexpected 'todo' comment: 'TODO: Possibly this does not save the...'
Linting + Formatting: packages/core/src/use-lazy-component.ts#L9
Unexpected any. Specify a different type
Linting + Formatting: packages/eslint-config/src/index.ts#L267
Unexpected 'todo' comment: 'TODO: Enable it in the future when I...'
Linting + Formatting: packages/licensing/src/test/register.test.ts#L56
Async arrow function has no 'await' expression
Linting + Formatting: packages/renderer/src/render-frames.ts#L293
Unexpected 'todo' comment: 'TODO: Change different initial frame'
Linting + Formatting: packages/renderer/src/render-media.ts#L983
Unexpected 'todo' comment: 'TODO: In the future, introduce this as a...'
Linting + Formatting: packages/renderer/src/stitch-frames-to-video.ts#L275
Unexpected 'todo' comment: 'TODO: This can be added to the overall...'
Linting + Formatting: packages/docusaurus-plugin/src/index.ts#L9
Unexpected any. Specify a different type