Skip to content

fix(queue): remove repeat instance in favor of job-scheduler #4863

fix(queue): remove repeat instance in favor of job-scheduler

fix(queue): remove repeat instance in favor of job-scheduler #4863

Triggered via pull request November 23, 2024 05:02
Status Failure
Total duration 1m 55s
Artifacts

test.yml

on: pull_request
coverage for node@lts, redis@7
38s
coverage for node@lts, redis@7
testing node@lts/*, valkey@8
22s
testing node@lts/*, valkey@8
testing node@lts/*, dragonflydb@latest
58s
testing node@lts/*, dragonflydb@latest
Matrix: node-redis
Matrix: python
Fit to window
Zoom out
Zoom in

Annotations

84 errors and 6 warnings
testing node@lts/-1, redis@7-alpine: src/classes/job-scheduler.ts#L134
Argument of type '{ repeat: { every?: number; count?: number; currentDate?: DateType; endDate?: DateType; utc?: boolean; tz?: string; nthDayOfWeek?: number; pattern?: string; limit?: number; }; telemetryMetadata: string; ... 14 more ...; onChildFailure?: "fail" | ... 2 more ... | "remove"; }' is not assignable to parameter of type 'JobsOptions'.
testing node@lts/-1, redis@7-alpine: src/classes/job-scheduler.ts#L195
Property 'repeat' does not exist on type '{ jobId: string; delay: number; timestamp: number; prevMillis: number; repeatJobKey: string; parent?: { id: string; queue: string; }; telemetryMetadata?: string; priority?: number; attempts?: number; backoff?: number | BackoffOptions; ... 7 more ...; onChildFailure?: "fail" | ... 2 more ... | "remove"; }'.
testing node@lts/-1, redis@7-alpine: src/classes/job-scheduler.ts#L195
Property 'repeat' does not exist on type 'JobsOptions'.
testing node@lts/-1, redis@7-alpine: src/classes/job.ts#L1254
Property 'repeat' does not exist on type 'JobsOptions'.
testing node@lts/-1, redis@7-alpine: src/classes/job.ts#L1254
Property 'repeat' does not exist on type 'JobsOptions'.
testing node@lts/-1, redis@7-alpine: src/classes/scripts.ts#L202
Property 'repeat' does not exist on type 'RedisJobOptions'.
testing node@lts/-1, redis@7-alpine: src/classes/scripts.ts#L204
Property 'repeat' does not exist on type 'RedisJobOptions'.
testing node@lts/-1, redis@7-alpine: src/classes/worker.ts#L27
Cannot find module './repeat' or its corresponding type declarations.
testing node@lts/-1, redis@7-alpine: src/classes/worker.ts#L406
Parameter 'e' implicitly has an 'any' type.
testing node@lts/-1, redis@7-alpine: src/classes/worker.ts#L758
Property 'repeat' does not exist on type 'JobsOptions'.
testing node@lts/-2, redis@7-alpine: src/classes/job-scheduler.ts#L134
Argument of type '{ repeat: { every?: number; count?: number; currentDate?: DateType; endDate?: DateType; utc?: boolean; tz?: string; nthDayOfWeek?: number; pattern?: string; limit?: number; }; telemetryMetadata: string; ... 14 more ...; onChildFailure?: "fail" | ... 2 more ... | "remove"; }' is not assignable to parameter of type 'JobsOptions'.
testing node@lts/-2, redis@7-alpine: src/classes/job-scheduler.ts#L195
Property 'repeat' does not exist on type '{ jobId: string; delay: number; timestamp: number; prevMillis: number; repeatJobKey: string; parent?: { id: string; queue: string; }; telemetryMetadata?: string; priority?: number; attempts?: number; backoff?: number | BackoffOptions; ... 7 more ...; onChildFailure?: "fail" | ... 2 more ... | "remove"; }'.
testing node@lts/-2, redis@7-alpine: src/classes/job-scheduler.ts#L195
Property 'repeat' does not exist on type 'JobsOptions'.
testing node@lts/-2, redis@7-alpine: src/classes/job.ts#L1254
Property 'repeat' does not exist on type 'JobsOptions'.
testing node@lts/-2, redis@7-alpine: src/classes/job.ts#L1254
Property 'repeat' does not exist on type 'JobsOptions'.
testing node@lts/-2, redis@7-alpine: src/classes/scripts.ts#L202
Property 'repeat' does not exist on type 'RedisJobOptions'.
testing node@lts/-2, redis@7-alpine: src/classes/scripts.ts#L204
Property 'repeat' does not exist on type 'RedisJobOptions'.
testing node@lts/-2, redis@7-alpine: src/classes/worker.ts#L27
Cannot find module './repeat' or its corresponding type declarations.
testing node@lts/-2, redis@7-alpine: src/classes/worker.ts#L406
Parameter 'e' implicitly has an 'any' type.
testing node@lts/-2, redis@7-alpine: src/classes/worker.ts#L758
Property 'repeat' does not exist on type 'JobsOptions'.
testing node@current, redis@7-alpine
The job was canceled because "lts_-1_7-alpine" failed.
testing node@current, redis@7-alpine: src/classes/job-scheduler.ts#L134
Argument of type '{ repeat: { every?: number; count?: number; currentDate?: DateType; endDate?: DateType; utc?: boolean; tz?: string; nthDayOfWeek?: number; pattern?: string; limit?: number; }; telemetryMetadata: string; ... 14 more ...; onChildFailure?: "fail" | ... 2 more ... | "remove"; }' is not assignable to parameter of type 'JobsOptions'.
testing node@current, redis@7-alpine: src/classes/job-scheduler.ts#L195
Property 'repeat' does not exist on type '{ jobId: string; delay: number; timestamp: number; prevMillis: number; repeatJobKey: string; parent?: { id: string; queue: string; }; telemetryMetadata?: string; priority?: number; attempts?: number; backoff?: number | BackoffOptions; ... 7 more ...; onChildFailure?: "fail" | ... 2 more ... | "remove"; }'.
testing node@current, redis@7-alpine: src/classes/job-scheduler.ts#L195
Property 'repeat' does not exist on type 'JobsOptions'.
testing node@current, redis@7-alpine: src/classes/job.ts#L1254
Property 'repeat' does not exist on type 'JobsOptions'.
testing node@current, redis@7-alpine: src/classes/job.ts#L1254
Property 'repeat' does not exist on type 'JobsOptions'.
testing node@current, redis@7-alpine: src/classes/scripts.ts#L202
Property 'repeat' does not exist on type 'RedisJobOptions'.
testing node@current, redis@7-alpine: src/classes/scripts.ts#L204
Property 'repeat' does not exist on type 'RedisJobOptions'.
testing node@current, redis@7-alpine: src/classes/worker.ts#L27
Cannot find module './repeat' or its corresponding type declarations.
testing node@current, redis@7-alpine: src/classes/worker.ts#L406
Parameter 'e' implicitly has an 'any' type.
testing node@current, redis@7-alpine: src/classes/worker.ts#L758
Property 'repeat' does not exist on type 'JobsOptions'.
testing node@lts/*, redis@6-alpine
The job was canceled because "lts_-1_7-alpine" failed.
testing node@lts/*, redis@6-alpine: src/classes/job-scheduler.ts#L134
Argument of type '{ repeat: { every?: number; count?: number; currentDate?: DateType; endDate?: DateType; utc?: boolean; tz?: string; nthDayOfWeek?: number; pattern?: string; limit?: number; }; telemetryMetadata: string; ... 14 more ...; onChildFailure?: "fail" | ... 2 more ... | "remove"; }' is not assignable to parameter of type 'JobsOptions'.
testing node@lts/*, redis@6-alpine: src/classes/job-scheduler.ts#L195
Property 'repeat' does not exist on type '{ jobId: string; delay: number; timestamp: number; prevMillis: number; repeatJobKey: string; parent?: { id: string; queue: string; }; telemetryMetadata?: string; priority?: number; attempts?: number; backoff?: number | BackoffOptions; ... 7 more ...; onChildFailure?: "fail" | ... 2 more ... | "remove"; }'.
testing node@lts/*, redis@6-alpine: src/classes/job-scheduler.ts#L195
Property 'repeat' does not exist on type 'JobsOptions'.
testing node@lts/*, redis@6-alpine: src/classes/job.ts#L1254
Property 'repeat' does not exist on type 'JobsOptions'.
testing node@lts/*, redis@6-alpine: src/classes/job.ts#L1254
Property 'repeat' does not exist on type 'JobsOptions'.
testing node@lts/*, redis@6-alpine: src/classes/scripts.ts#L202
Property 'repeat' does not exist on type 'RedisJobOptions'.
testing node@lts/*, redis@6-alpine: src/classes/scripts.ts#L204
Property 'repeat' does not exist on type 'RedisJobOptions'.
testing node@lts/*, redis@6-alpine: src/classes/worker.ts#L27
Cannot find module './repeat' or its corresponding type declarations.
testing node@lts/*, redis@6-alpine: src/classes/worker.ts#L406
Parameter 'e' implicitly has an 'any' type.
testing node@lts/*, redis@6-alpine: src/classes/worker.ts#L758
Property 'repeat' does not exist on type 'JobsOptions'.
coverage for node@lts, redis@7: src/classes/job-scheduler.ts#L134
Argument of type '{ repeat: { every?: number; count?: number; currentDate?: DateType; endDate?: DateType; utc?: boolean; tz?: string; nthDayOfWeek?: number; pattern?: string; limit?: number; }; telemetryMetadata: string; ... 14 more ...; onChildFailure?: "fail" | ... 2 more ... | "remove"; }' is not assignable to parameter of type 'JobsOptions'.
coverage for node@lts, redis@7: src/classes/job-scheduler.ts#L195
Property 'repeat' does not exist on type '{ jobId: string; delay: number; timestamp: number; prevMillis: number; repeatJobKey: string; parent?: { id: string; queue: string; }; telemetryMetadata?: string; priority?: number; attempts?: number; backoff?: number | BackoffOptions; ... 7 more ...; onChildFailure?: "fail" | ... 2 more ... | "remove"; }'.
coverage for node@lts, redis@7: src/classes/job-scheduler.ts#L195
Property 'repeat' does not exist on type 'JobsOptions'.
coverage for node@lts, redis@7: src/classes/job.ts#L1254
Property 'repeat' does not exist on type 'JobsOptions'.
coverage for node@lts, redis@7: src/classes/job.ts#L1254
Property 'repeat' does not exist on type 'JobsOptions'.
coverage for node@lts, redis@7: src/classes/scripts.ts#L202
Property 'repeat' does not exist on type 'RedisJobOptions'.
coverage for node@lts, redis@7: src/classes/scripts.ts#L204
Property 'repeat' does not exist on type 'RedisJobOptions'.
coverage for node@lts, redis@7: src/classes/worker.ts#L27
Cannot find module './repeat' or its corresponding type declarations.
coverage for node@lts, redis@7: src/classes/worker.ts#L406
Parameter 'e' implicitly has an 'any' type.
coverage for node@lts, redis@7: src/classes/worker.ts#L758
Property 'repeat' does not exist on type 'JobsOptions'.
testing node@lts/*, redis@7-alpine
The job was canceled because "lts_-1_7-alpine" failed.
testing node@lts/*, redis@7-alpine
A task was canceled.
testing node@lts/*, valkey@8: src/classes/job-scheduler.ts#L134
Argument of type '{ repeat: { every?: number; count?: number; currentDate?: DateType; endDate?: DateType; utc?: boolean; tz?: string; nthDayOfWeek?: number; pattern?: string; limit?: number; }; telemetryMetadata: string; ... 14 more ...; onChildFailure?: "fail" | ... 2 more ... | "remove"; }' is not assignable to parameter of type 'JobsOptions'.
testing node@lts/*, valkey@8: src/classes/job-scheduler.ts#L195
Property 'repeat' does not exist on type '{ jobId: string; delay: number; timestamp: number; prevMillis: number; repeatJobKey: string; parent?: { id: string; queue: string; }; telemetryMetadata?: string; priority?: number; attempts?: number; backoff?: number | BackoffOptions; ... 7 more ...; onChildFailure?: "fail" | ... 2 more ... | "remove"; }'.
testing node@lts/*, valkey@8: src/classes/job-scheduler.ts#L195
Property 'repeat' does not exist on type 'JobsOptions'.
testing node@lts/*, valkey@8: src/classes/job.ts#L1254
Property 'repeat' does not exist on type 'JobsOptions'.
testing node@lts/*, valkey@8: src/classes/job.ts#L1254
Property 'repeat' does not exist on type 'JobsOptions'.
testing node@lts/*, valkey@8: src/classes/scripts.ts#L202
Property 'repeat' does not exist on type 'RedisJobOptions'.
testing node@lts/*, valkey@8: src/classes/scripts.ts#L204
Property 'repeat' does not exist on type 'RedisJobOptions'.
testing node@lts/*, valkey@8: src/classes/worker.ts#L27
Cannot find module './repeat' or its corresponding type declarations.
testing node@lts/*, valkey@8: src/classes/worker.ts#L406
Parameter 'e' implicitly has an 'any' type.
testing node@lts/*, valkey@8: src/classes/worker.ts#L758
Property 'repeat' does not exist on type 'JobsOptions'.
testing [email protected], redis@7-alpine: src/classes/job-scheduler.ts#L134
Argument of type '{ repeat: { every?: number; count?: number; currentDate?: DateType; endDate?: DateType; utc?: boolean; tz?: string; nthDayOfWeek?: number; pattern?: string; limit?: number; }; telemetryMetadata: string; ... 14 more ...; onChildFailure?: "fail" | ... 2 more ... | "remove"; }' is not assignable to parameter of type 'JobsOptions'.
testing [email protected], redis@7-alpine: src/classes/job-scheduler.ts#L195
Property 'repeat' does not exist on type '{ jobId: string; delay: number; timestamp: number; prevMillis: number; repeatJobKey: string; parent?: { id: string; queue: string; }; telemetryMetadata?: string; priority?: number; attempts?: number; backoff?: number | BackoffOptions; ... 7 more ...; onChildFailure?: "fail" | ... 2 more ... | "remove"; }'.
testing [email protected], redis@7-alpine: src/classes/job-scheduler.ts#L195
Property 'repeat' does not exist on type 'JobsOptions'.
testing [email protected], redis@7-alpine: src/classes/job.ts#L1254
Property 'repeat' does not exist on type 'JobsOptions'.
testing [email protected], redis@7-alpine: src/classes/job.ts#L1254
Property 'repeat' does not exist on type 'JobsOptions'.
testing [email protected], redis@7-alpine: src/classes/scripts.ts#L202
Property 'repeat' does not exist on type 'RedisJobOptions'.
testing [email protected], redis@7-alpine: src/classes/scripts.ts#L204
Property 'repeat' does not exist on type 'RedisJobOptions'.
testing [email protected], redis@7-alpine: src/classes/worker.ts#L27
Cannot find module './repeat' or its corresponding type declarations.
testing [email protected], redis@7-alpine: src/classes/worker.ts#L406
Parameter 'e' implicitly has an 'any' type.
testing [email protected], redis@7-alpine: src/classes/worker.ts#L758
Property 'repeat' does not exist on type 'JobsOptions'.
testing node@lts/*, dragonflydb@latest: src/classes/job-scheduler.ts#L134
Argument of type '{ repeat: { every?: number; count?: number; currentDate?: DateType; endDate?: DateType; utc?: boolean; tz?: string; nthDayOfWeek?: number; pattern?: string; limit?: number; }; telemetryMetadata: string; ... 14 more ...; onChildFailure?: "fail" | ... 2 more ... | "remove"; }' is not assignable to parameter of type 'JobsOptions'.
testing node@lts/*, dragonflydb@latest: src/classes/job-scheduler.ts#L195
Property 'repeat' does not exist on type '{ jobId: string; delay: number; timestamp: number; prevMillis: number; repeatJobKey: string; parent?: { id: string; queue: string; }; telemetryMetadata?: string; priority?: number; attempts?: number; backoff?: number | BackoffOptions; ... 7 more ...; onChildFailure?: "fail" | ... 2 more ... | "remove"; }'.
testing node@lts/*, dragonflydb@latest: src/classes/job-scheduler.ts#L195
Property 'repeat' does not exist on type 'JobsOptions'.
testing node@lts/*, dragonflydb@latest: src/classes/job.ts#L1254
Property 'repeat' does not exist on type 'JobsOptions'.
testing node@lts/*, dragonflydb@latest: src/classes/job.ts#L1254
Property 'repeat' does not exist on type 'JobsOptions'.
testing node@lts/*, dragonflydb@latest: src/classes/scripts.ts#L202
Property 'repeat' does not exist on type 'RedisJobOptions'.
testing node@lts/*, dragonflydb@latest: src/classes/scripts.ts#L204
Property 'repeat' does not exist on type 'RedisJobOptions'.
testing node@lts/*, dragonflydb@latest: src/classes/worker.ts#L27
Cannot find module './repeat' or its corresponding type declarations.
testing node@lts/*, dragonflydb@latest: src/classes/worker.ts#L406
Parameter 'e' implicitly has an 'any' type.
testing node@lts/*, dragonflydb@latest: src/classes/worker.ts#L758
Property 'repeat' does not exist on type 'JobsOptions'.
testing node@lts/-1, redis@7-alpine
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
testing node@lts/-2, redis@7-alpine
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
coverage for node@lts, redis@7
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
testing node@lts/*, valkey@8
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
testing [email protected], redis@7-alpine
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
testing node@lts/*, dragonflydb@latest
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/