DX | 27-01-2026 | Release #219
Annotations
7 errors and 3 warnings
|
Analyze (typescript)
CodeQL Action major versions v1 and v2 have been deprecated. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2025-01-10-code-scanning-codeql-action-v2-is-now-deprecated/
|
|
Request tests > should use instance.request when URL length exceeds 2000 characters:
test/request.spec.ts#L349
Request URL length (2563 characters) exceeds the maximum allowed length (2000 characters). Please reduce the number of includeReference parameters or split your request into multiple smaller requests.
|
|
Request tests > Absolute URL handling > should handle absolute URL when actualFullUrl exceeds 2000 characters:
test/request.spec.ts#L498
Request URL length (2556 characters) exceeds the maximum allowed length (2000 characters). Please reduce the number of includeReference parameters or split your request into multiple smaller requests.
|
|
Request tests > URL length optimization for includeReference parameters > should use compact format for Live Preview requests with lower threshold:
test/request.spec.ts#L557
Request URL length (2475 characters) exceeds the maximum allowed length (1500 characters). Please reduce the number of includeReference parameters or split your request into multiple smaller requests.
|
|
serialize > should return comma-separated format when useCompactFormat is true:
test/param-serializer.spec.ts#L36
Error: expect(received).toEqual(expected) // deep equality
Expected: "include=ref1%2Cref2%2Cref3"
Received: "include%5B%5D=ref1%2Cref2%2Cref3"
at Object.<anonymous> (/home/runner/work/contentstack-js-core/contentstack-js-core/test/param-serializer.spec.ts:38:19)
at Promise.then.completed (/home/runner/work/contentstack-js-core/contentstack-js-core/node_modules/jest-circus/build/utils.js:323:26)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/contentstack-js-core/contentstack-js-core/node_modules/jest-circus/build/utils.js:259:10)
at _callCircusTest (/home/runner/work/contentstack-js-core/contentstack-js-core/node_modules/jest-circus/build/run.js:277:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/contentstack-js-core/contentstack-js-core/node_modules/jest-circus/build/run.js:209:3)
at _runTestsForDescribeBlock (/home/runner/work/contentstack-js-core/contentstack-js-core/node_modules/jest-circus/build/run.js:97:9)
at _runTestsForDescribeBlock (/home/runner/work/contentstack-js-core/contentstack-js-core/node_modules/jest-circus/build/run.js:91:9)
at run (/home/runner/work/contentstack-js-core/contentstack-js-core/node_modules/jest-circus/build/run.js:31:3)
at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-js-core/contentstack-js-core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:135:21)
at jestAdapter (/home/runner/work/contentstack-js-core/contentstack-js-core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:92:19)
at runTestInternal (/home/runner/work/contentstack-js-core/contentstack-js-core/node_modules/jest-runner/build/runTest.js:411:16)
at runTest (/home/runner/work/contentstack-js-core/contentstack-js-core/node_modules/jest-runner/build/runTest.js:499:34)
at Object.worker (/home/runner/work/contentstack-js-core/contentstack-js-core/node_modules/jest-runner/build/testWorker.js:133:12)
|
|
serialize > should return brackets format when useCompactFormat is false:
test/param-serializer.spec.ts#L42
Error: expect(received).toEqual(expected) // deep equality
Expected: "include%5B%5D=ref1&include%5B%5D=ref2&include%5B%5D=ref3"
Received: "include%5B%5D%5B%5D=ref1&include%5B%5D%5B%5D=ref2&include%5B%5D%5B%5D=ref3"
at Object.<anonymous> (/home/runner/work/contentstack-js-core/contentstack-js-core/test/param-serializer.spec.ts:44:19)
at Promise.then.completed (/home/runner/work/contentstack-js-core/contentstack-js-core/node_modules/jest-circus/build/utils.js:323:26)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/contentstack-js-core/contentstack-js-core/node_modules/jest-circus/build/utils.js:259:10)
at _callCircusTest (/home/runner/work/contentstack-js-core/contentstack-js-core/node_modules/jest-circus/build/run.js:277:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/contentstack-js-core/contentstack-js-core/node_modules/jest-circus/build/run.js:209:3)
at _runTestsForDescribeBlock (/home/runner/work/contentstack-js-core/contentstack-js-core/node_modules/jest-circus/build/run.js:97:9)
at _runTestsForDescribeBlock (/home/runner/work/contentstack-js-core/contentstack-js-core/node_modules/jest-circus/build/run.js:91:9)
at run (/home/runner/work/contentstack-js-core/contentstack-js-core/node_modules/jest-circus/build/run.js:31:3)
at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-js-core/contentstack-js-core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:135:21)
at jestAdapter (/home/runner/work/contentstack-js-core/contentstack-js-core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:92:19)
at runTestInternal (/home/runner/work/contentstack-js-core/contentstack-js-core/node_modules/jest-runner/build/runTest.js:411:16)
at runTest (/home/runner/work/contentstack-js-core/contentstack-js-core/node_modules/jest-runner/build/runTest.js:499:34)
at Object.worker (/home/runner/work/contentstack-js-core/contentstack-js-core/node_modules/jest-runner/build/testWorker.js:133:12)
|
|
serialize > should handle query param with compact format:
test/param-serializer.spec.ts#L48
Error: expect(received).toContain(expected) // indexOf
Expected substring: "include=ref1%2Cref2"
Received string: "include%5B%5D=ref1%2Cref2&query=%7B%22title%22:%22test%22%7D"
at Object.<anonymous> (/home/runner/work/contentstack-js-core/contentstack-js-core/test/param-serializer.spec.ts:50:19)
at Promise.then.completed (/home/runner/work/contentstack-js-core/contentstack-js-core/node_modules/jest-circus/build/utils.js:323:26)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/contentstack-js-core/contentstack-js-core/node_modules/jest-circus/build/utils.js:259:10)
at _callCircusTest (/home/runner/work/contentstack-js-core/contentstack-js-core/node_modules/jest-circus/build/run.js:277:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/contentstack-js-core/contentstack-js-core/node_modules/jest-circus/build/run.js:209:3)
at _runTestsForDescribeBlock (/home/runner/work/contentstack-js-core/contentstack-js-core/node_modules/jest-circus/build/run.js:97:9)
at _runTestsForDescribeBlock (/home/runner/work/contentstack-js-core/contentstack-js-core/node_modules/jest-circus/build/run.js:91:9)
at run (/home/runner/work/contentstack-js-core/contentstack-js-core/node_modules/jest-circus/build/run.js:31:3)
at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-js-core/contentstack-js-core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:135:21)
at jestAdapter (/home/runner/work/contentstack-js-core/contentstack-js-core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:92:19)
at runTestInternal (/home/runner/work/contentstack-js-core/contentstack-js-core/node_modules/jest-runner/build/runTest.js:411:16)
at runTest (/home/runner/work/contentstack-js-core/contentstack-js-core/node_modules/jest-runner/build/runTest.js:499:34)
at Object.worker (/home/runner/work/contentstack-js-core/contentstack-js-core/node_modules/jest-runner/build/testWorker.js:133:12)
|
|
Analyze (typescript)
Cache not found for keys: codeql-trap-1-2.23.9-javascript-ca18aa62b7bde6334a90e776d2ec8dd54ba23444, codeql-trap-1-2.23.9-javascript-
|
|
Analyze (typescript)
Unable to validate code scanning workflow: MissingPushHook
|
|
Analyze (typescript)
1 issue was detected with this workflow: Please specify an on.push hook to analyze and see code scanning alerts from the default branch on the Security tab.
|