Skip to content

[EX-2197] Add experiments list, get, and get variants endpoints #48

[EX-2197] Add experiments list, get, and get variants endpoints

[EX-2197] Add experiments list, get, and get variants endpoints #48

Triggered via pull request March 17, 2026 14:34
Status Failure
Total duration 23s
Artifacts

ci.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

29 errors and 3 warnings
Test (Node 22)
Process completed with exit code 2.
Test (Node 22): tests/unit/experiments.test.ts#L471
Object is possibly 'undefined'.
Test (Node 22): tests/unit/experiments.test.ts#L470
Object is possibly 'undefined'.
Test (Node 22): tests/unit/experiments.test.ts#L438
Object is possibly 'undefined'.
Test (Node 22): tests/unit/experiments.test.ts#L437
Object is possibly 'undefined'.
Test (Node 20)
The strategy configuration was canceled because "test._22" failed
Test (Node 20)
Process completed with exit code 2.
Test (Node 20): tests/unit/experiments.test.ts#L471
Object is possibly 'undefined'.
Test (Node 20): tests/unit/experiments.test.ts#L470
Object is possibly 'undefined'.
Test (Node 22): tests/unit/experiments.test.ts#L307
Argument of type '{ startDate: string; endDate: string; }' is not assignable to parameter of type '{ limit: number; offset: number; campaignId?: number | undefined; status?: "draft" | "running" | "finished" | undefined; startDate?: string | undefined; endDate?: string | undefined; }'.
Test (Node 20): tests/unit/experiments.test.ts#L438
Object is possibly 'undefined'.
Test (Node 20): tests/unit/experiments.test.ts#L437
Object is possibly 'undefined'.
Test (Node 20): tests/unit/experiments.test.ts#L307
Argument of type '{ startDate: string; endDate: string; }' is not assignable to parameter of type '{ limit: number; offset: number; campaignId?: number | undefined; status?: "draft" | "running" | "finished" | undefined; startDate?: string | undefined; endDate?: string | undefined; }'.
Test (Node 20): tests/unit/experiments.test.ts#L291
Argument of type '{ status: "running"; }' is not assignable to parameter of type '{ limit: number; offset: number; campaignId?: number | undefined; status?: "draft" | "running" | "finished" | undefined; startDate?: string | undefined; endDate?: string | undefined; }'.
Test (Node 20): tests/unit/experiments.test.ts#L275
Argument of type '{ campaignId: number; }' is not assignable to parameter of type '{ limit: number; offset: number; campaignId?: number | undefined; status?: "draft" | "running" | "finished" | undefined; startDate?: string | undefined; endDate?: string | undefined; }'.
Test (Node 22): tests/unit/experiments.test.ts#L291
Argument of type '{ status: "running"; }' is not assignable to parameter of type '{ limit: number; offset: number; campaignId?: number | undefined; status?: "draft" | "running" | "finished" | undefined; startDate?: string | undefined; endDate?: string | undefined; }'.
Test (Node 20): tests/unit/experiments.test.ts#L255
Object is possibly 'undefined'.
Test (Node 22): tests/unit/experiments.test.ts#L275
Argument of type '{ campaignId: number; }' is not assignable to parameter of type '{ limit: number; offset: number; campaignId?: number | undefined; status?: "draft" | "running" | "finished" | undefined; startDate?: string | undefined; endDate?: string | undefined; }'.
Test (Node 22): tests/unit/experiments.test.ts#L255
Object is possibly 'undefined'.
Test (Node 18)
The strategy configuration was canceled because "test._22" failed
Test (Node 18)
The operation was canceled.
Test (Node 18): tests/unit/experiments.test.ts#L471
Object is possibly 'undefined'.
Test (Node 18): tests/unit/experiments.test.ts#L470
Object is possibly 'undefined'.
Test (Node 18): tests/unit/experiments.test.ts#L438
Object is possibly 'undefined'.
Test (Node 18): tests/unit/experiments.test.ts#L437
Object is possibly 'undefined'.
Test (Node 18): tests/unit/experiments.test.ts#L307
Argument of type '{ startDate: string; endDate: string; }' is not assignable to parameter of type '{ limit: number; offset: number; campaignId?: number | undefined; status?: "draft" | "running" | "finished" | undefined; startDate?: string | undefined; endDate?: string | undefined; }'.
Test (Node 18): tests/unit/experiments.test.ts#L291
Argument of type '{ status: "running"; }' is not assignable to parameter of type '{ limit: number; offset: number; campaignId?: number | undefined; status?: "draft" | "running" | "finished" | undefined; startDate?: string | undefined; endDate?: string | undefined; }'.
Test (Node 18): tests/unit/experiments.test.ts#L275
Argument of type '{ campaignId: number; }' is not assignable to parameter of type '{ limit: number; offset: number; campaignId?: number | undefined; status?: "draft" | "running" | "finished" | undefined; startDate?: string | undefined; endDate?: string | undefined; }'.
Test (Node 18): tests/unit/experiments.test.ts#L255
Object is possibly 'undefined'.
Test (Node 22)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Test (Node 20)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Test (Node 18)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/