This repository was archived by the owner on Nov 25, 2025. It is now read-only.
feat(experiments): add missing experimentation tools. #245
Triggered via pull request
September 15, 2025 21:51
Status
Failure
Total duration
1m 38s
Artifacts
–
ci-typescript.yml
on: pull_request
Unit Tests
23s
Lint, Format, and Type Check
24s
Integration Tests
1m 9s
Annotations
12 errors
|
Lint, Format, and Type Check
Process completed with exit code 2.
|
|
Lint, Format, and Type Check
Property 'surveys' is missing in type '{ featureFlags: never[]; insights: never[]; dashboards: never[]; }' but required in type 'CreatedResources'.
|
|
tests/tools/experiments.integration.test.ts > Experiments > create-experiment tool > should create a draft experiment with minimal required fields:
typescript/src/tools/experiments/create.ts#L22
Error: Failed to create experiment: Request failed:
Status Code: 403 (Forbidden)
Error Message: {"type":"authentication_error","code":"permission_denied","detail":"API key missing required scope 'experiment:write'","attr":null}
❯ Object.createExperimentHandler [as handler] src/tools/experiments/create.ts:22:9
❯ tests/tools/experiments.integration.test.ts:79:19
|
|
tests/api/client.integration.test.ts > API Client Integration Tests > Experiments API > should handle delete operations idempotently:
typescript/tests/api/client.integration.test.ts#L1153
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ createTestExperiment tests/api/client.integration.test.ts:1153:33
❯ tests/api/client.integration.test.ts:1613:23
|
|
tests/api/client.integration.test.ts > API Client Integration Tests > Experiments API > should complete full CRUD workflow including delete:
typescript/tests/api/client.integration.test.ts#L1548
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ tests/api/client.integration.test.ts:1548:33
|
|
tests/api/client.integration.test.ts > API Client Integration Tests > Experiments API > should delete experiment successfully:
typescript/tests/api/client.integration.test.ts#L1153
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ createTestExperiment tests/api/client.integration.test.ts:1153:33
❯ tests/api/client.integration.test.ts:1474:23
|
|
tests/api/client.integration.test.ts > API Client Integration Tests > Experiments API > should create experiment with custom variants:
typescript/tests/api/client.integration.test.ts#L1153
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ createTestExperiment tests/api/client.integration.test.ts:1153:33
❯ tests/api/client.integration.test.ts:1436:23
|
|
tests/api/client.integration.test.ts > API Client Integration Tests > Experiments API > should fail to get metric results for draft experiment:
typescript/tests/api/client.integration.test.ts#L1153
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ createTestExperiment tests/api/client.integration.test.ts:1153:33
❯ tests/api/client.integration.test.ts:1409:23
|
|
tests/api/client.integration.test.ts > API Client Integration Tests > Experiments API > should fail to get exposures for draft experiment:
typescript/tests/api/client.integration.test.ts#L1153
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ createTestExperiment tests/api/client.integration.test.ts:1153:33
❯ tests/api/client.integration.test.ts:1358:23
|
|
tests/api/client.integration.test.ts > API Client Integration Tests > Experiments API > should handle experiment lifecycle - launch and archive:
typescript/tests/api/client.integration.test.ts#L1153
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ createTestExperiment tests/api/client.integration.test.ts:1153:33
❯ tests/api/client.integration.test.ts:1287:23
|
|
tests/api/client.integration.test.ts > API Client Integration Tests > Experiments API > should create experiment with different metric types:
typescript/tests/api/client.integration.test.ts#L1153
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ createTestExperiment tests/api/client.integration.test.ts:1153:33
❯ tests/api/client.integration.test.ts:1235:27
|
|
tests/api/client.integration.test.ts > API Client Integration Tests > Experiments API > should create, get, update experiment:
typescript/tests/api/client.integration.test.ts#L1153
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ createTestExperiment tests/api/client.integration.test.ts:1153:33
❯ tests/api/client.integration.test.ts:1186:23
|