chore: ensure full v12 annotations on all ExO SDK methods [DX-910] #1113
main.yaml
on: pull_request
Annotations
5 errors and 14 warnings
|
test-integration / test-integration
Process completed with exit code 1.
|
|
test/integration/taxonomy-integration.test.ts > Taxonomy Integration > gets a list of all paginated concept schemes:
test/integration/taxonomy-integration.test.ts#L520
AssertionError: expected 2 to be 1 // Object.is equality
- Expected
+ Received
- 1
+ 2
❯ test/integration/taxonomy-integration.test.ts:520:30
|
|
test/integration/taxonomy-integration.test.ts > Taxonomy Integration > gets a list of all concept schemes:
test/integration/taxonomy-integration.test.ts#L491
AssertionError: expected 4 to be 3 // Object.is equality
- Expected
+ Received
- 3
+ 4
❯ test/integration/taxonomy-integration.test.ts:491:26
|
|
test/integration/taxonomy-integration.test.ts > Taxonomy Integration > conceptScheme getTotal:
test/integration/taxonomy-integration.test.ts#L474
AssertionError: expected 4 to be 3 // Object.is equality
- Expected
+ Received
- 3
+ 4
❯ test/integration/taxonomy-integration.test.ts:474:19
|
|
test/integration/taxonomy-integration.test.ts > Taxonomy Integration > create a conceptScheme with id:
lib/adapters/REST/make-request.ts#L35
ValidationFailed: {
"status": 422,
"statusText": "",
"message": "Validation error",
"details": "External ID already exists",
"request": {
"url": "/organizations/***/taxonomy/concept-schemes/test-concept-scheme-id",
"headers": {
"Accept": "application/json, text/plain, */*",
"Content-Type": "application/vnd.contentful.management.v1+json",
"X-Contentful-User-Agent": "sdk contentful-management-plain.js/0.0.0-determined-by-semantic-release; platform node.js/v22.22.2; os Linux/v22.22.2;",
"Authorization": "***",
"User-Agent": "axios/1.13.6",
"Content-Length": "44",
"Accept-Encoding": "gzip, compress, deflate, br"
},
"method": "put",
"payloadData": "{\"prefLabel\":{\"en-US\":\"Test ConceptScheme\"}}"
}
}
❯ errorHandler node_modules/contentful-sdk-core/src/error-handler.ts:65:17
❯ Module.makeRequest lib/adapters/REST/make-request.ts:35:10
❯ test/integration/taxonomy-integration.test.ts:373:20
|
|
build / build
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache/save@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 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/
|
|
check / lint
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache/restore@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 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/
|
|
check / lint:
lib/create-environment-api.ts#L271
Unexpected any. Specify a different type
|
|
check / lint:
lib/common-utils.ts#L36
Include a description after the "@ts-expect-error" directive to explain why the @ts-expect-error is necessary. The description must be 3 characters or longer
|
|
check / lint:
lib/common-utils.ts#L27
Unexpected any. Specify a different type
|
|
check / lint:
lib/common-utils.ts#L22
Include a description after the "@ts-expect-error" directive to explain why the @ts-expect-error is necessary. The description must be 3 characters or longer
|
|
check / lint:
lib/common-utils.ts#L17
Unexpected any. Specify a different type
|
|
check / lint:
lib/common-types.ts#L317
Unexpected any. Specify a different type
|
|
check / lint:
lib/adapters/REST/endpoints/app-action-call.ts#L164
Unexpected any. Specify a different type
|
|
check / lint:
lib/adapters/REST/endpoints/app-action-call.ts#L164
'error' is defined but never used
|
|
check / lint:
lib/adapters/REST/endpoints/app-action-call.ts#L83
'error' is defined but never used
|
|
check / lint:
lib/adapters/REST/endpoints/ai-action.ts#L52
'sys' is assigned a value but never used
|
|
test-demo-projects / test-demo-projects
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache/restore@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 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-integration / test-integration
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache/restore@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 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/
|