Skip to content

Enforce absolute or root paths for extension src props #10845

Enforce absolute or root paths for extension src props

Enforce absolute or root paths for extension src props #10845

Re-run triggered January 18, 2026 20:03
Status Failure
Total duration 13m 45s
Artifacts

pullRequests.yml

on: pull_request
Create constants
11s
Create constants
Validate commit messages
9s
Validate commit messages
Validate commit messages (dev branch, 'feat' commits not allowed)
Validate commit messages (dev branch, 'feat' commits not allowed)
Static code analysis (TypeScript)
1m 29s
Static code analysis (TypeScript)
Assign milestone
Assign milestone
Static code analysis
3m 33s
Static code analysis
Vitest (DDB) - Constants
9s
Vitest (DDB) - Constants
Vitest (DDB+OS) - Constants
9s
Vitest (DDB+OS) - Constants
Vitest (No storage) - Constants
9s
Vitest (No storage) - Constants
Static code analysis (verify dependencies)
2m 2s
Static code analysis (verify dependencies)
Matrix: vitest-ddb-run
Matrix: vitest-ddbOs-run
Matrix: vitest-run
Fit to window
Zoom out
Zoom in

Annotations

52 errors
Validate commit messages
🚫 According to the conventional-commits specification, some of the commit messages are not valid.
packages/api-headless-cms/__tests__/contentAPI/resolvers.apiKey.read.test.ts > READ - resolvers - api key > cant get entry - missing whole permission: next/packages/api-headless-cms/__tests__/contentAPI/resolvers.apiKey.read.test.ts#L83
TypeError: Cannot read properties of null (reading 'modelId') ❯ packages/api-headless-cms/__tests__/contentAPI/resolvers.apiKey.read.test.ts:83:58
packages/api-headless-cms/__tests__/contentAPI/resolvers.apiKey.read.test.ts > READ - resolvers - api key > get entries: next/packages/api-headless-cms/__tests__/contentAPI/resolvers.apiKey.read.test.ts#L83
TypeError: Cannot read properties of null (reading 'modelId') ❯ packages/api-headless-cms/__tests__/contentAPI/resolvers.apiKey.read.test.ts:83:58
packages/api-headless-cms/__tests__/contentAPI/resolvers.apiKey.read.test.ts > READ - resolvers - api key > get entry: next/packages/api-headless-cms/__tests__/contentAPI/resolvers.apiKey.read.test.ts#L96
Error: Test timed out in 30000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ packages/api-headless-cms/__tests__/contentAPI/resolvers.apiKey.read.test.ts:96:5
packages/api-headless-cms/__tests__/contentAPI/model.delete.test.ts > model delete > should be able to delete model when there are no more entries: next/packages/api-headless-cms/__tests__/contentAPI/model.delete.test.ts#L50
Error: process.exit unexpectedly called with "1" ❯ setupCategoryModel packages/api-headless-cms/__tests__/contentAPI/model.delete.test.ts:50:21 ❯ packages/api-headless-cms/__tests__/contentAPI/model.delete.test.ts:77:23
packages/api-headless-cms/__tests__/contentAPI/contentEntryMetaField.test.ts > Content Entry Meta Field > storage operations - should have meta field data in the retrieved record: next/packages/api-headless-cms/__tests__/contentAPI/contentEntryMetaField.test.ts#L74
TypeError: Cannot read properties of null (reading 'modelId') ❯ setup packages/api-headless-cms/__tests__/contentAPI/contentEntryMetaField.test.ts:74:71 ❯ packages/api-headless-cms/__tests__/contentAPI/contentEntryMetaField.test.ts:92:27
packages/api-headless-cms/__tests__/contentAPI/contentEntry.publishOldPublishedRevisions.test.ts > Content entries - Entry Publishing > should be able to publish a previously published revision (entry already has a non-latest revision published, using `createFrom` mutations to publish in this test): next/packages/api-headless-cms/__tests__/testHelpers/setup.ts#L30
Error: process.exit unexpectedly called with "1" ❯ setupContentModel packages/api-headless-cms/__tests__/testHelpers/setup.ts:30:17 ❯ Object.setup packages/api-headless-cms/__tests__/testHelpers/useTestModelHandler.ts:82:31 ❯ packages/api-headless-cms/__tests__/contentAPI/contentEntry.publishOldPublishedRevisions.test.ts:11:9
packages/api-headless-cms/__tests__/contentAPI/contentEntry.publishOldPublishedRevisions.test.ts > Content entries - Entry Publishing > should be able to publish a previously published revision (entry already has a non-latest revision published): next/packages/api-headless-cms/__tests__/testHelpers/setup.ts#L30
Error: process.exit unexpectedly called with "1" ❯ setupContentModel packages/api-headless-cms/__tests__/testHelpers/setup.ts:30:17 ❯ Object.setup packages/api-headless-cms/__tests__/testHelpers/useTestModelHandler.ts:82:31 ❯ packages/api-headless-cms/__tests__/contentAPI/contentEntry.publishOldPublishedRevisions.test.ts:11:9
packages/api-headless-cms/__tests__/contentAPI/contentEntry.publishOldPublishedRevisions.test.ts > Content entries - Entry Publishing > should be able to publish a previously published revision (entry already has the latest revision published): next/packages/api-headless-cms/__tests__/testHelpers/setup.ts#L30
Error: process.exit unexpectedly called with "1" ❯ setupContentModel packages/api-headless-cms/__tests__/testHelpers/setup.ts:30:17 ❯ Object.setup packages/api-headless-cms/__tests__/testHelpers/useTestModelHandler.ts:82:31 ❯ packages/api-headless-cms/__tests__/contentAPI/contentEntry.publishOldPublishedRevisions.test.ts:11:9
packages/api-headless-cms/__tests__/contentAPI/contentEntriesOnByMetaFieldsQueries.test.ts > Content entries - Entry Meta Fields Queries > should be able to filter by revision-level meta fields: next/packages/api-headless-cms/__tests__/testHelpers/setup.ts#L30
Error: process.exit unexpectedly called with "1" ❯ setupContentModel packages/api-headless-cms/__tests__/testHelpers/setup.ts:30:17 ❯ Object.setup packages/api-headless-cms/__tests__/testHelpers/useTestModelHandler.ts:82:31 ❯ packages/api-headless-cms/__tests__/contentAPI/contentEntriesOnByMetaFieldsQueries.test.ts:20:9
packages/api-headless-cms/__tests__/contentAPI/contentEntriesOnByMetaFieldsQueries.test.ts > Content entries - Entry Meta Fields Queries > should be able to sort by revision-level meta fields: next/packages/api-headless-cms/__tests__/testHelpers/setup.ts#L30
Error: process.exit unexpectedly called with "1" ❯ setupContentModel packages/api-headless-cms/__tests__/testHelpers/setup.ts:30:17 ❯ Object.setup packages/api-headless-cms/__tests__/testHelpers/useTestModelHandler.ts:82:31 ❯ packages/api-headless-cms/__tests__/contentAPI/contentEntriesOnByMetaFieldsQueries.test.ts:20:9
packages/api-headless-cms/__tests__/contentAPI/contentModel.crud.modelId.test.ts > ContentModel modelId variations > should not allow to create model with modelId that clashes with GraphQL (Tab input, undefined) - singularApiName: next/packages/api-headless-cms/__tests__/contentAPI/contentModel.crud.modelId.test.ts#L56
AssertionError: expected { data: { …(1) } } to deeply equal { data: { …(1) } } - Expected + Received { "data": { "createContentModel": { "data": null, "error": { - "code": "Cms/Model/ValidationError", + "code": "CREATE_OPENSEARCH_INDEX_ERROR", "data": { - "disallowedEnding": [ - "Response", - "List", - "Meta", - "Input", - "Sorter", - "RefType", + "body": { + "mappings": { + "dynamic_templates": [ + { + "ids": { + "mapping": { + "keyword": true, + "type": "string", + }, + "match": "^id|entryId$", + }, + }, + { + "dates": { + "mapping": { + "type": "date", + }, + "match": "^createdOn|savedOn|publishedOn$", + }, + }, + { + "numbers": { + "mapping": { + "scaling_factor": 10000, + "type": "scaled_float", + }, + "match": "number@*", + }, + }, + { + "booleans": { + "mapping": { + "type": "boolean", + }, + "match": "boolean@*", + }, + }, + { + "strings": { + "mapping": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword", + }, + }, + "type": "text", + }, + "match_mapping_type": "string", + }, + }, + ], + "properties": { + "rawValues": { + "enabled": false, + "type": "object", + }, + }, + }, + }, + "error": { + "message": "circuit_breaking_exception", + "meta": { + "body": { + "error": { + "bytes_limit": 4080218931, + "bytes_wanted": 4204297040, + "durability": "TRANSIENT", + "reason": "[parent] Data too large, data for [<http_request>] would be [4204297040/3.9gb], which is larger than the limit of [4080218931/3.7gb], real usage: [4204295968/3.9gb], new bytes reserved: [1072/1kb], usages [request=0/0b, fielddata=0/0b, in_flight_requests=1072/1kb, neural_search=0/0b]", + "root_cause": [ + { + "bytes_limit": 4080218931, + "bytes_wanted": 4204297040, + "durability": "TRANSIENT", + "reason": "[parent] Data too large, data for [<http_request>] would be [4204297040/3.9gb], which is larger than the limit of [4080218931/3.7gb], real usage: [4204295968/3.9gb], new bytes reserved: [1072/1kb], usages [request=0/0b, fielddata=0/0b, in_flight_requests=1072/1kb, neural_search=0/0b]", + "type": "circuit_breaking_exception", + }, ], - "input": "TabInput", + "type": "circuit_breaking_exception", }, - "message": StringMatching /Content model with singularApiName "TabInput" is not allowed, as it ends in disallowed value./, + "status": 429, + }, + "headers": { + "access-control-allow-origin": "*", + "connection": "keep-alive", + "content-lengt
packages/api-headless-cms/__tests__/contentAPI/contentModel.crud.modelId.test.ts > ContentModel modelId variations > should not allow to create model with modelId that clashes with GraphQL (Tab input, tabInput) - singularApiName: next/packages/api-headless-cms/__tests__/contentAPI/contentModel.crud.modelId.test.ts#L56
AssertionError: expected { data: { …(1) } } to deeply equal { data: { …(1) } } - Expected + Received { "data": { "createContentModel": { "data": null, "error": { - "code": "Cms/Model/ValidationError", + "code": "CREATE_OPENSEARCH_INDEX_ERROR", "data": { - "disallowedEnding": [ - "Response", - "List", - "Meta", - "Input", - "Sorter", - "RefType", + "body": { + "mappings": { + "dynamic_templates": [ + { + "ids": { + "mapping": { + "keyword": true, + "type": "string", + }, + "match": "^id|entryId$", + }, + }, + { + "dates": { + "mapping": { + "type": "date", + }, + "match": "^createdOn|savedOn|publishedOn$", + }, + }, + { + "numbers": { + "mapping": { + "scaling_factor": 10000, + "type": "scaled_float", + }, + "match": "number@*", + }, + }, + { + "booleans": { + "mapping": { + "type": "boolean", + }, + "match": "boolean@*", + }, + }, + { + "strings": { + "mapping": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword", + }, + }, + "type": "text", + }, + "match_mapping_type": "string", + }, + }, + ], + "properties": { + "rawValues": { + "enabled": false, + "type": "object", + }, + }, + }, + }, + "error": { + "message": "circuit_breaking_exception", + "meta": { + "body": { + "error": { + "bytes_limit": 4080218931, + "bytes_wanted": 4228569208, + "durability": "TRANSIENT", + "reason": "[parent] Data too large, data for [<http_request>] would be [4228569208/3.9gb], which is larger than the limit of [4080218931/3.7gb], real usage: [4228568136/3.9gb], new bytes reserved: [1072/1kb], usages [request=0/0b, fielddata=0/0b, in_flight_requests=1072/1kb, neural_search=0/0b]", + "root_cause": [ + { + "bytes_limit": 4080218931, + "bytes_wanted": 4228569208, + "durability": "TRANSIENT", + "reason": "[parent] Data too large, data for [<http_request>] would be [4228569208/3.9gb], which is larger than the limit of [4080218931/3.7gb], real usage: [4228568136/3.9gb], new bytes reserved: [1072/1kb], usages [request=0/0b, fielddata=0/0b, in_flight_requests=1072/1kb, neural_search=0/0b]", + "type": "circuit_breaking_exception", + }, ], - "input": "TabInput", + "type": "circuit_breaking_exception", }, - "message": StringMatching /Content model with singularApiName "TabInput" is not allowed, as it ends in disallowed value./, + "status": 429, + }, + "headers": { + "access-control-allow-origin": "*", + "connection": "keep-alive", + "content-lengt
packages/api-headless-cms/__tests__/contentAPI/contentModel.crud.modelId.test.ts > ContentModel modelId variations > should not allow to create model with modelId that clashes with GraphQL (Tab meta, undefined) - singularApiName: next/packages/api-headless-cms/__tests__/contentAPI/contentModel.crud.modelId.test.ts#L56
AssertionError: expected { data: { …(1) } } to deeply equal { data: { …(1) } } - Expected + Received { "data": { "createContentModel": { "data": null, "error": { - "code": "Cms/Model/ValidationError", + "code": "CREATE_OPENSEARCH_INDEX_ERROR", "data": { - "disallowedEnding": [ - "Response", - "List", - "Meta", - "Input", - "Sorter", - "RefType", + "body": { + "mappings": { + "dynamic_templates": [ + { + "ids": { + "mapping": { + "keyword": true, + "type": "string", + }, + "match": "^id|entryId$", + }, + }, + { + "dates": { + "mapping": { + "type": "date", + }, + "match": "^createdOn|savedOn|publishedOn$", + }, + }, + { + "numbers": { + "mapping": { + "scaling_factor": 10000, + "type": "scaled_float", + }, + "match": "number@*", + }, + }, + { + "booleans": { + "mapping": { + "type": "boolean", + }, + "match": "boolean@*", + }, + }, + { + "strings": { + "mapping": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword", + }, + }, + "type": "text", + }, + "match_mapping_type": "string", + }, + }, + ], + "properties": { + "rawValues": { + "enabled": false, + "type": "object", + }, + }, + }, + }, + "error": { + "message": "circuit_breaking_exception", + "meta": { + "body": { + "error": { + "bytes_limit": 4080218931, + "bytes_wanted": 4220180600, + "durability": "TRANSIENT", + "reason": "[parent] Data too large, data for [<http_request>] would be [4220180600/3.9gb], which is larger than the limit of [4080218931/3.7gb], real usage: [4220179528/3.9gb], new bytes reserved: [1072/1kb], usages [request=0/0b, fielddata=0/0b, in_flight_requests=1072/1kb, neural_search=0/0b]", + "root_cause": [ + { + "bytes_limit": 4080218931, + "bytes_wanted": 4220180600, + "durability": "TRANSIENT", + "reason": "[parent] Data too large, data for [<http_request>] would be [4220180600/3.9gb], which is larger than the limit of [4080218931/3.7gb], real usage: [4220179528/3.9gb], new bytes reserved: [1072/1kb], usages [request=0/0b, fielddata=0/0b, in_flight_requests=1072/1kb, neural_search=0/0b]", + "type": "circuit_breaking_exception", + }, ], - "input": "TabMeta", + "type": "circuit_breaking_exception", }, - "message": StringMatching /Content model with singularApiName "TabMeta" is not allowed, as it ends in disallowed value./, + "status": 429, + }, + "headers": { + "access-control-allow-origin": "*", + "connection": "keep-alive", + "content-length"
packages/api-headless-cms/__tests__/contentAPI/contentModel.crud.modelId.test.ts > ContentModel modelId variations > should not allow to create model with modelId that clashes with GraphQL (Tab meta, tabMeta) - singularApiName: next/packages/api-headless-cms/__tests__/contentAPI/contentModel.crud.modelId.test.ts#L56
AssertionError: expected { data: { …(1) } } to deeply equal { data: { …(1) } } - Expected + Received { "data": { "createContentModel": { "data": null, "error": { - "code": "Cms/Model/ValidationError", + "code": "CREATE_OPENSEARCH_INDEX_ERROR", "data": { - "disallowedEnding": [ - "Response", - "List", - "Meta", - "Input", - "Sorter", - "RefType", + "body": { + "mappings": { + "dynamic_templates": [ + { + "ids": { + "mapping": { + "keyword": true, + "type": "string", + }, + "match": "^id|entryId$", + }, + }, + { + "dates": { + "mapping": { + "type": "date", + }, + "match": "^createdOn|savedOn|publishedOn$", + }, + }, + { + "numbers": { + "mapping": { + "scaling_factor": 10000, + "type": "scaled_float", + }, + "match": "number@*", + }, + }, + { + "booleans": { + "mapping": { + "type": "boolean", + }, + "match": "boolean@*", + }, + }, + { + "strings": { + "mapping": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword", + }, + }, + "type": "text", + }, + "match_mapping_type": "string", + }, + }, + ], + "properties": { + "rawValues": { + "enabled": false, + "type": "object", + }, + }, + }, + }, + "error": { + "message": "circuit_breaking_exception", + "meta": { + "body": { + "error": { + "bytes_limit": 4080218931, + "bytes_wanted": 4209694840, + "durability": "TRANSIENT", + "reason": "[parent] Data too large, data for [<http_request>] would be [4209694840/3.9gb], which is larger than the limit of [4080218931/3.7gb], real usage: [4209693768/3.9gb], new bytes reserved: [1072/1kb], usages [request=0/0b, fielddata=0/0b, in_flight_requests=1072/1kb, neural_search=0/0b]", + "root_cause": [ + { + "bytes_limit": 4080218931, + "bytes_wanted": 4209694840, + "durability": "TRANSIENT", + "reason": "[parent] Data too large, data for [<http_request>] would be [4209694840/3.9gb], which is larger than the limit of [4080218931/3.7gb], real usage: [4209693768/3.9gb], new bytes reserved: [1072/1kb], usages [request=0/0b, fielddata=0/0b, in_flight_requests=1072/1kb, neural_search=0/0b]", + "type": "circuit_breaking_exception", + }, ], - "input": "TabMeta", + "type": "circuit_breaking_exception", }, - "message": StringMatching /Content model with singularApiName "TabMeta" is not allowed, as it ends in disallowed value./, + "status": 429, + }, + "headers": { + "access-control-allow-origin": "*", + "connection": "keep-alive", + "content-length"
packages/api-headless-cms/__tests__/contentAPI/contentModel.crud.modelId.test.ts > ContentModel modelId variations > should not allow to create model with modelId that clashes with GraphQL (Tab response, undefined) - singularApiName: next/packages/api-headless-cms/__tests__/contentAPI/contentModel.crud.modelId.test.ts#L56
AssertionError: expected { data: { …(1) } } to deeply equal { data: { …(1) } } - Expected + Received { "data": { "createContentModel": { "data": null, "error": { - "code": "Cms/Model/ValidationError", + "code": "CREATE_OPENSEARCH_INDEX_ERROR", "data": { - "disallowedEnding": [ - "Response", - "List", - "Meta", - "Input", - "Sorter", - "RefType", + "body": { + "mappings": { + "dynamic_templates": [ + { + "ids": { + "mapping": { + "keyword": true, + "type": "string", + }, + "match": "^id|entryId$", + }, + }, + { + "dates": { + "mapping": { + "type": "date", + }, + "match": "^createdOn|savedOn|publishedOn$", + }, + }, + { + "numbers": { + "mapping": { + "scaling_factor": 10000, + "type": "scaled_float", + }, + "match": "number@*", + }, + }, + { + "booleans": { + "mapping": { + "type": "boolean", + }, + "match": "boolean@*", + }, + }, + { + "strings": { + "mapping": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword", + }, + }, + "type": "text", + }, + "match_mapping_type": "string", + }, + }, + ], + "properties": { + "rawValues": { + "enabled": false, + "type": "object", + }, + }, + }, + }, + "error": { + "message": "circuit_breaking_exception", + "meta": { + "body": { + "error": { + "bytes_limit": 4080218931, + "bytes_wanted": 4203403384, + "durability": "TRANSIENT", + "reason": "[parent] Data too large, data for [<http_request>] would be [4203403384/3.9gb], which is larger than the limit of [4080218931/3.7gb], real usage: [4203402312/3.9gb], new bytes reserved: [1072/1kb], usages [request=0/0b, fielddata=0/0b, in_flight_requests=1072/1kb, neural_search=0/0b]", + "root_cause": [ + { + "bytes_limit": 4080218931, + "bytes_wanted": 4203403384, + "durability": "TRANSIENT", + "reason": "[parent] Data too large, data for [<http_request>] would be [4203403384/3.9gb], which is larger than the limit of [4080218931/3.7gb], real usage: [4203402312/3.9gb], new bytes reserved: [1072/1kb], usages [request=0/0b, fielddata=0/0b, in_flight_requests=1072/1kb, neural_search=0/0b]", + "type": "circuit_breaking_exception", + }, ], - "input": "TabResponse", + "type": "circuit_breaking_exception", }, - "message": StringMatching /Content model with singularApiName "TabResponse" is not allowed, as it ends in disallowed value./, + "status": 429, + }, + "headers": { + "access-control-allow-origin": "*", + "connection": "keep-alive", + "content
packages/api-headless-cms/__tests__/contentAPI/contentModel.crud.modelId.test.ts > ContentModel modelId variations > should not allow to create model with modelId that clashes with GraphQL (Tab response, tabResponse) - singularApiName: next/packages/api-headless-cms/__tests__/contentAPI/contentModel.crud.modelId.test.ts#L56
AssertionError: expected { data: { …(1) } } to deeply equal { data: { …(1) } } - Expected + Received { "data": { "createContentModel": { "data": null, "error": { - "code": "Cms/Model/ValidationError", + "code": "CREATE_OPENSEARCH_INDEX_ERROR", "data": { - "disallowedEnding": [ - "Response", - "List", - "Meta", - "Input", - "Sorter", - "RefType", + "body": { + "mappings": { + "dynamic_templates": [ + { + "ids": { + "mapping": { + "keyword": true, + "type": "string", + }, + "match": "^id|entryId$", + }, + }, + { + "dates": { + "mapping": { + "type": "date", + }, + "match": "^createdOn|savedOn|publishedOn$", + }, + }, + { + "numbers": { + "mapping": { + "scaling_factor": 10000, + "type": "scaled_float", + }, + "match": "number@*", + }, + }, + { + "booleans": { + "mapping": { + "type": "boolean", + }, + "match": "boolean@*", + }, + }, + { + "strings": { + "mapping": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword", + }, + }, + "type": "text", + }, + "match_mapping_type": "string", + }, + }, + ], + "properties": { + "rawValues": { + "enabled": false, + "type": "object", + }, + }, + }, + }, + "error": { + "message": "circuit_breaking_exception", + "meta": { + "body": { + "error": { + "bytes_limit": 4080218931, + "bytes_wanted": 4191616640, + "durability": "TRANSIENT", + "reason": "[parent] Data too large, data for [<http_request>] would be [4191616640/3.9gb], which is larger than the limit of [4080218931/3.7gb], real usage: [4191615568/3.9gb], new bytes reserved: [1072/1kb], usages [request=0/0b, fielddata=0/0b, in_flight_requests=1072/1kb, neural_search=0/0b]", + "root_cause": [ + { + "bytes_limit": 4080218931, + "bytes_wanted": 4191616640, + "durability": "TRANSIENT", + "reason": "[parent] Data too large, data for [<http_request>] would be [4191616640/3.9gb], which is larger than the limit of [4080218931/3.7gb], real usage: [4191615568/3.9gb], new bytes reserved: [1072/1kb], usages [request=0/0b, fielddata=0/0b, in_flight_requests=1072/1kb, neural_search=0/0b]", + "type": "circuit_breaking_exception", + }, ], - "input": "TabResponse", + "type": "circuit_breaking_exception", }, - "message": StringMatching /Content model with singularApiName "TabResponse" is not allowed, as it ends in disallowed value./, + "status": 429, + }, + "headers": { + "access-control-allow-origin": "*", + "connection": "keep-alive", + "content
packages/api-headless-cms/__tests__/contentAPI/contentModel.crud.modelId.test.ts > ContentModel modelId variations > should not allow to create model with modelId that clashes with GraphQL (Tab list, undefined) - singularApiName: next/packages/api-headless-cms/__tests__/contentAPI/contentModel.crud.modelId.test.ts#L56
AssertionError: expected { data: { …(1) } } to deeply equal { data: { …(1) } } - Expected + Received { "data": { "createContentModel": { "data": null, "error": { - "code": "Cms/Model/ValidationError", + "code": "CREATE_OPENSEARCH_INDEX_ERROR", "data": { - "disallowedEnding": [ - "Response", - "List", - "Meta", - "Input", - "Sorter", - "RefType", + "body": { + "mappings": { + "dynamic_templates": [ + { + "ids": { + "mapping": { + "keyword": true, + "type": "string", + }, + "match": "^id|entryId$", + }, + }, + { + "dates": { + "mapping": { + "type": "date", + }, + "match": "^createdOn|savedOn|publishedOn$", + }, + }, + { + "numbers": { + "mapping": { + "scaling_factor": 10000, + "type": "scaled_float", + }, + "match": "number@*", + }, + }, + { + "booleans": { + "mapping": { + "type": "boolean", + }, + "match": "boolean@*", + }, + }, + { + "strings": { + "mapping": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword", + }, + }, + "type": "text", + }, + "match_mapping_type": "string", + }, + }, + ], + "properties": { + "rawValues": { + "enabled": false, + "type": "object", + }, + }, + }, + }, + "error": { + "message": "circuit_breaking_exception", + "meta": { + "body": { + "error": { + "bytes_limit": 4080218931, + "bytes_wanted": 4181130880, + "durability": "TRANSIENT", + "reason": "[parent] Data too large, data for [<http_request>] would be [4181130880/3.8gb], which is larger than the limit of [4080218931/3.7gb], real usage: [4181129808/3.8gb], new bytes reserved: [1072/1kb], usages [request=0/0b, fielddata=0/0b, in_flight_requests=1072/1kb, neural_search=0/0b]", + "root_cause": [ + { + "bytes_limit": 4080218931, + "bytes_wanted": 4181130880, + "durability": "TRANSIENT", + "reason": "[parent] Data too large, data for [<http_request>] would be [4181130880/3.8gb], which is larger than the limit of [4080218931/3.7gb], real usage: [4181129808/3.8gb], new bytes reserved: [1072/1kb], usages [request=0/0b, fielddata=0/0b, in_flight_requests=1072/1kb, neural_search=0/0b]", + "type": "circuit_breaking_exception", + }, ], - "input": "TabList", + "type": "circuit_breaking_exception", }, - "message": StringMatching /Content model with singularApiName "TabList" is not allowed, as it ends in disallowed value./, + "status": 429, + }, + "headers": { + "access-control-allow-origin": "*", + "connection": "keep-alive", + "content-length"
packages/api-headless-cms/__tests__/contentAPI/contentModel.crud.modelId.test.ts > ContentModel modelId variations > should not allow to create model with modelId that clashes with GraphQL (Tab list, tabList) - singularApiName: next/packages/api-headless-cms/__tests__/contentAPI/contentModel.crud.modelId.test.ts#L56
AssertionError: expected { data: { …(1) } } to deeply equal { data: { …(1) } } - Expected + Received { "data": { "createContentModel": { "data": null, "error": { - "code": "Cms/Model/ValidationError", + "code": "CREATE_OPENSEARCH_INDEX_ERROR", "data": { - "disallowedEnding": [ - "Response", - "List", - "Meta", - "Input", - "Sorter", - "RefType", + "body": { + "mappings": { + "dynamic_templates": [ + { + "ids": { + "mapping": { + "keyword": true, + "type": "string", + }, + "match": "^id|entryId$", + }, + }, + { + "dates": { + "mapping": { + "type": "date", + }, + "match": "^createdOn|savedOn|publishedOn$", + }, + }, + { + "numbers": { + "mapping": { + "scaling_factor": 10000, + "type": "scaled_float", + }, + "match": "number@*", + }, + }, + { + "booleans": { + "mapping": { + "type": "boolean", + }, + "match": "boolean@*", + }, + }, + { + "strings": { + "mapping": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword", + }, + }, + "type": "text", + }, + "match_mapping_type": "string", + }, + }, + ], + "properties": { + "rawValues": { + "enabled": false, + "type": "object", + }, + }, + }, + }, + "error": { + "message": "circuit_breaking_exception", + "meta": { + "body": { + "error": { + "bytes_limit": 4080218931, + "bytes_wanted": 4179033728, + "durability": "TRANSIENT", + "reason": "[parent] Data too large, data for [<http_request>] would be [4179033728/3.8gb], which is larger than the limit of [4080218931/3.7gb], real usage: [4179032656/3.8gb], new bytes reserved: [1072/1kb], usages [request=0/0b, fielddata=0/0b, in_flight_requests=1072/1kb, neural_search=0/0b]", + "root_cause": [ + { + "bytes_limit": 4080218931, + "bytes_wanted": 4179033728, + "durability": "TRANSIENT", + "reason": "[parent] Data too large, data for [<http_request>] would be [4179033728/3.8gb], which is larger than the limit of [4080218931/3.7gb], real usage: [4179032656/3.8gb], new bytes reserved: [1072/1kb], usages [request=0/0b, fielddata=0/0b, in_flight_requests=1072/1kb, neural_search=0/0b]", + "type": "circuit_breaking_exception", + }, ], - "input": "TabList", + "type": "circuit_breaking_exception", }, - "message": StringMatching /Content model with singularApiName "TabList" is not allowed, as it ends in disallowed value./, + "status": 429, + }, + "headers": { + "access-control-allow-origin": "*", + "connection": "keep-alive", + "content-length"
packages/api-headless-cms/__tests__/contentAPI/contentEntry.restore.test.ts > restore entries > should restore an entry inside the original location: next/packages/api-headless-cms/__tests__/testHelpers/setup.ts#L30
Error: process.exit unexpectedly called with "1" ❯ setupContentModel packages/api-headless-cms/__tests__/testHelpers/setup.ts:30:17 ❯ setupContentModels packages/api-headless-cms/__tests__/testHelpers/setup.ts:140:23 ❯ setupCategories packages/api-headless-cms/__tests__/contentAPI/contentEntry.restore.test.ts:80:9 ❯ packages/api-headless-cms/__tests__/contentAPI/contentEntry.restore.test.ts:314:28
packages/api-headless-cms/__tests__/contentAPI/contentEntry.restore.test.ts > restore entries > should move an entry to trash bin and then restore it: next/packages/api-headless-cms/__tests__/testHelpers/setup.ts#L30
Error: process.exit unexpectedly called with "1" ❯ setupContentModel packages/api-headless-cms/__tests__/testHelpers/setup.ts:30:17 ❯ setupContentModels packages/api-headless-cms/__tests__/testHelpers/setup.ts:140:23 ❯ setupCategories packages/api-headless-cms/__tests__/contentAPI/contentEntry.restore.test.ts:80:9 ❯ packages/api-headless-cms/__tests__/contentAPI/contentEntry.restore.test.ts:85:28
api-headless-cms (1/6)
Process completed with exit code 1.
packages/api-headless-cms/__tests__/contentAPI/contentModel.clone.test.ts > content model - cloning > should not allow to clone a model without modelId and name change: next/packages/api-headless-cms/__tests__/contentAPI/contentModel.clone.test.ts#L196
AssertionError: expected { data: { …(1) } } to deeply equal { data: { …(1) } } - Expected + Received { "data": { "createContentModelFrom": { "data": null, "error": { - "code": "Cms/Model/AlreadyExists", + "code": "CREATE_OPENSEARCH_INDEX_ERROR", "data": { - "modelId": "product", + "body": { + "mappings": { + "dynamic_templates": [ + { + "ids": { + "mapping": { + "keyword": true, + "type": "string", + }, + "match": "^id|entryId$", + }, + }, + { + "dates": { + "mapping": { + "type": "date", + }, + "match": "^createdOn|savedOn|publishedOn$", + }, + }, + { + "numbers": { + "mapping": { + "scaling_factor": 10000, + "type": "scaled_float", + }, + "match": "number@*", + }, + }, + { + "booleans": { + "mapping": { + "type": "boolean", + }, + "match": "boolean@*", + }, + }, + { + "strings": { + "mapping": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword", + }, + }, + "type": "text", + }, + "match_mapping_type": "string", + }, + }, + ], + "properties": { + "rawValues": { + "enabled": false, + "type": "object", + }, + }, + }, + }, + "error": { + "message": "circuit_breaking_exception", + "meta": { + "body": { + "error": { + "bytes_limit": 4080218931, + "bytes_wanted": 4084336888, + "durability": "TRANSIENT", + "reason": "[parent] Data too large, data for [<http_request>] would be [4084336888/3.8gb], which is larger than the limit of [4080218931/3.7gb], real usage: [4084336888/3.8gb], new bytes reserved: [0/0b], usages [request=0/0b, fielddata=0/0b, in_flight_requests=0/0b, neural_search=0/0b]", + "root_cause": [ + { + "bytes_limit": 4080218931, + "bytes_wanted": 4084336888, + "durability": "TRANSIENT", + "reason": "[parent] Data too large, data for [<http_request>] would be [4084336888/3.8gb], which is larger than the limit of [4080218931/3.7gb], real usage: [4084336888/3.8gb], new bytes reserved: [0/0b], usages [request=0/0b, fielddata=0/0b, in_flight_requests=0/0b, neural_search=0/0b]", + "type": "circuit_breaking_exception", }, - "message": "Model \"product\" already exists!", + ], + "type": "circuit_breaking_exception", + }, + "status": 429, + }, + "headers": { + "access-control-allow-origin": "*", + "connection": "keep-alive", + "content-length": "841", + "content-type": "application/json; charset=UTF-8", + "date": "Sun, 18 Jan 2026 20:06:47 GMT", + }, + "meta": { + "aborted": false, + "attempts": 0, +
packages/api-headless-cms/__tests__/contentAPI/contentModel.clone.test.ts > content model - cloning > should change the group of cloned model: next/packages/api-headless-cms/__tests__/contentAPI/contentModel.clone.test.ts#L174
AssertionError: expected { data: { …(1) } } to deeply equal { data: { …(1) } } - Expected + Received { "data": { "createContentModelFrom": { + "data": null, + "error": { + "code": "CREATE_OPENSEARCH_INDEX_ERROR", "data": { - "createdBy": { - "displayName": "John Doe", - "id": "id-12345678", - "type": "admin", - }, - "createdOn": StringMatching /^20/, - "description": "Cloned model description", - "descriptionFieldId": null, - "fields": [ + "body": { + "mappings": { + "dynamic_templates": [ { - "fieldId": "title", - "helpText": null, - "id": "title", - "label": "Title", - "listValidation": [], - "multipleValues": false, - "placeholderText": "placeholder text", - "predefinedValues": { - "enabled": false, - "values": [], + "ids": { + "mapping": { + "keyword": true, + "type": "string", }, - "renderer": { - "name": "renderer", - }, - "settings": {}, - "storageId": "text@title", - "tags": [], - "type": "text", - "validation": [ - { - "message": "Please enter a product name", - "name": "required", - "settings": {}, + "match": "^id|entryId$", }, - ], }, { - "fieldId": "category", - "helpText": null, - "id": "category", - "label": "Category", - "listValidation": [], - "multipleValues": false, - "placeholderText": "placeholder text", - "predefinedValues": { - "enabled": false, - "values": [], - }, - "renderer": { - "name": "renderer", + "dates": { + "mapping": { + "type": "date", }, - "settings": { - "models": [ - { - "modelId": "category", + "match": "^createdOn|savedOn|publishedOn$", }, - ], }, - "storageId": "ref@category", - "tags": [], - "type": "ref", - "validation": [], - }, { - "fieldId": "price", - "helpText": null, - "id": "price", - "label": "Price", - "listValidation": [], - "multipleValues": false, - "placeholderText": "placeholder text", - "predefinedValues": { - "enabled": false, - "values": [], + "numbers": { + "mapping": { + "scaling_factor": 10000, + "type": "scaled_float", }, - "renderer": { - "name": "renderer", - }, - "settings": {}, - "storageId": "number@price", - "tags": [], - "type": "number", - "validation": [ - { - "message": "Please enter a price", - "name": "required", - "settings": {}, + "match": "number@*", }, - ], }, { - "fieldId": "inStock", - "helpText": null, - "id": "inStock", - "label": "In Stock", - "listValidation": [], - "multipleValues": false, - "placeholderText": "placeholder text", - "predefinedValues": { - "enabled": false, -
api-headless-cms (2/6)
Process completed with exit code 1.
packages/api-headless-cms/__tests__/contentAPI/fields/searchableJson.read.test.ts > searchable-json field - read - author > should use name to search for an entry - equal: next/packages/api-headless-cms/__tests__/contentAPI/fields/searchableJson.read.test.ts#L30
Error: Hook timed out in 30000ms. If this is a long-running hook, pass a timeout value as the last argument or configure it globally with "hookTimeout". ❯ packages/api-headless-cms/__tests__/contentAPI/fields/searchableJson.read.test.ts:30:5
packages/api-headless-cms/__tests__/contentAPI/fields/searchableJson.read.test.ts > searchable-json field - read - author > should find nothing because subfield does not exist: next/packages/api-headless-cms/__tests__/contentAPI/fields/searchableJson.read.test.ts#L30
Error: Hook timed out in 30000ms. If this is a long-running hook, pass a timeout value as the last argument or configure it globally with "hookTimeout". ❯ packages/api-headless-cms/__tests__/contentAPI/fields/searchableJson.read.test.ts:30:5
packages/api-headless-cms/__tests__/contentAPI/fields/searchableJson.read.test.ts > searchable-json field - read - author > should have an entry with searchable-json field: next/packages/api-headless-cms/__tests__/contentAPI/fields/searchableJson.read.test.ts#L30
Error: Hook timed out in 30000ms. If this is a long-running hook, pass a timeout value as the last argument or configure it globally with "hookTimeout". ❯ packages/api-headless-cms/__tests__/contentAPI/fields/searchableJson.read.test.ts:30:5
packages/api-headless-cms/__tests__/contentAPI/search.test.ts > search > should find a record with special characters in the title: next/packages/api-headless-cms/__tests__/testHelpers/setup.ts#L30
Error: process.exit unexpectedly called with "1" ❯ setupContentModel packages/api-headless-cms/__tests__/testHelpers/setup.ts:30:17 ❯ setupContentModels packages/api-headless-cms/__tests__/testHelpers/setup.ts:140:23 ❯ setupFruits packages/api-headless-cms/__tests__/contentAPI/search.test.ts:51:9 ❯ packages/api-headless-cms/__tests__/contentAPI/search.test.ts:343:9
packages/api-headless-cms/__tests__/contentAPI/search.test.ts > search > should find record with w/ in title: next/packages/api-headless-cms/__tests__/testHelpers/setup.ts#L30
Error: process.exit unexpectedly called with "1" ❯ setupContentModel packages/api-headless-cms/__tests__/testHelpers/setup.ts:30:17 ❯ setupContentModels packages/api-headless-cms/__tests__/testHelpers/setup.ts:140:23 ❯ setupFruits packages/api-headless-cms/__tests__/contentAPI/search.test.ts:51:9 ❯ packages/api-headless-cms/__tests__/contentAPI/search.test.ts:84:9
packages/api-headless-cms/__tests__/contentAPI/search.test.ts > search > should find record with dash in the middle of two words: next/packages/api-headless-cms/__tests__/testHelpers/setup.ts#L30
Error: process.exit unexpectedly called with "1" ❯ setupContentModel packages/api-headless-cms/__tests__/testHelpers/setup.ts:30:17 ❯ setupContentModels packages/api-headless-cms/__tests__/testHelpers/setup.ts:140:23 ❯ setupFruits packages/api-headless-cms/__tests__/contentAPI/search.test.ts:51:9 ❯ packages/api-headless-cms/__tests__/contentAPI/search.test.ts:56:9
packages/api-headless-cms/__tests__/contentAPI/republish.entries.test.ts > Republish entries > storage operations - should republish entries without changing them: next/packages/api-headless-cms/__tests__/contentAPI/republish.entries.test.ts#L68
TypeError: Cannot read properties of null (reading 'modelId') ❯ setupModel packages/api-headless-cms/__tests__/contentAPI/republish.entries.test.ts:68:58 ❯ packages/api-headless-cms/__tests__/contentAPI/republish.entries.test.ts:278:31
packages/api-headless-cms/__tests__/contentAPI/republish.entries.test.ts > Republish entries > should republish entries without changing them: next/packages/api-headless-cms/__tests__/contentAPI/republish.entries.test.ts#L68
TypeError: Cannot read properties of null (reading 'modelId') ❯ setupModel packages/api-headless-cms/__tests__/contentAPI/republish.entries.test.ts:68:58 ❯ packages/api-headless-cms/__tests__/contentAPI/republish.entries.test.ts:165:9
packages/api-headless-cms/__tests__/contentAPI/latestEntries.test.ts > latest entries > should load all the latest categories in the article ref field: next/packages/api-headless-cms/__tests__/contentAPI/latestEntries.test.ts#L66
TypeError: Cannot read properties of null (reading 'modelId') ❯ setupContentModel packages/api-headless-cms/__tests__/contentAPI/latestEntries.test.ts:66:58 ❯ packages/api-headless-cms/__tests__/contentAPI/latestEntries.test.ts:136:24
packages/api-headless-cms/__tests__/contentAPI/resolvers.read.test.ts > READ - Resolvers > should store and retrieve nested objects: next/packages/api-headless-cms/__tests__/contentAPI/resolvers.read.test.ts#L115
TypeError: Cannot read properties of null (reading 'modelId') ❯ setupModel packages/api-headless-cms/__tests__/contentAPI/resolvers.read.test.ts:115:58 ❯ packages/api-headless-cms/__tests__/contentAPI/resolvers.read.test.ts:145:9
packages/api-headless-cms/__tests__/contentAPI/resolvers.read.test.ts > READ - Resolvers > should sort products by price: next/packages/api-headless-cms/__tests__/contentAPI/resolvers.read.test.ts#L115
TypeError: Cannot read properties of null (reading 'modelId') ❯ setupModel packages/api-headless-cms/__tests__/contentAPI/resolvers.read.test.ts:115:58 ❯ packages/api-headless-cms/__tests__/contentAPI/resolvers.read.test.ts:145:9
packages/api-headless-cms/__tests__/contentAPI/resolvers.read.test.ts > READ - Resolvers > sort entries by title: next/packages/api-headless-cms/__tests__/contentAPI/resolvers.read.test.ts#L115
TypeError: Cannot read properties of null (reading 'modelId') ❯ setupModel packages/api-headless-cms/__tests__/contentAPI/resolvers.read.test.ts:115:58 ❯ packages/api-headless-cms/__tests__/contentAPI/resolvers.read.test.ts:145:9
packages/api-headless-cms/__tests__/contentAPI/resolvers.read.test.ts > READ - Resolvers > list entries that have price in given range: next/packages/api-headless-cms/__tests__/contentAPI/resolvers.read.test.ts#L115
TypeError: Cannot read properties of null (reading 'modelId') ❯ setupModel packages/api-headless-cms/__tests__/contentAPI/resolvers.read.test.ts:115:58 ❯ packages/api-headless-cms/__tests__/contentAPI/resolvers.read.test.ts:145:9
packages/api-headless-cms/__tests__/contentAPI/resolvers.read.test.ts > READ - Resolvers > list entries that are not created between given dates: next/packages/api-headless-cms/__tests__/contentAPI/resolvers.read.test.ts#L966
AssertionError: expected { data: { listCategories: { …(3) } } } to deeply equal { data: { listCategories: { …(3) } } } - Expected + Received { "data": { "listCategories": { - "data": [ + "data": null, + "error": { + "code": "Cms/Entry/PersistenceError", + "data": { + "error": { + "code": "Cms/Entry/PersistenceError", + }, + "model": { + "createdBy": { + "displayName": "John Doe", + "id": "id-12345678", + "type": "admin", + }, + "createdOn": "2026-01-18T20:06:41.572Z", + "description": null, + "descriptionFieldId": null, + "fields": [ + { + "fieldId": "title", + "helpText": null, + "id": "title", + "label": "Title", + "listValidation": [], + "multipleValues": false, + "placeholderText": "placeholder text", + "predefinedValues": { + "enabled": false, + "values": [], + }, + "renderer": { + "name": "renderer", + }, + "settings": {}, + "storageId": "text@title", + "tags": [], + "type": "text", + "validation": [ + { + "message": "This field is required", + "name": "required", + "settings": {}, + }, + { + "message": "Enter at least 3 characters", + "name": "minLength", + "settings": { + "min": 3, + }, + }, + ], + }, { - "createdOn": "2026-01-18T20:06:42.874Z", - "id": "696d3d5270fa060a1bc33f2d#0001", - "savedOn": "2026-01-18T20:06:44.551Z", - "slug": "fruits", - "title": "Fruits", + "fieldId": "slug", + "helpText": null, + "id": "slug", + "label": "Slug", + "listValidation": [], + "multipleValues": false, + "placeholderText": "placeholder text", + "predefinedValues": { + "enabled": false, + "values": [], + }, + "renderer": { + "name": "renderer", }, + "settings": {}, + "storageId": "text@slug", + "tags": [], + "type": "text", + "validation": [ { - "createdOn": "2026-01-18T20:06:44.039Z", - "id": "696d3d5470fa060a1bc33f2f#0001", - "savedOn": "2026-01-18T20:06:45.387Z", - "slug": "animals", - "title": "Animals", + "message": "This field is required", + "name": "required", + "settings": {}, + }, + ], }, ], - "error": null, - "meta": { - "cursor": null, - "hasMoreItems": false, - "totalCount": 2, + "group": "group", + "imageFieldId": null, + "layout": [ + [ + "title", + ], + [ + "slug", + ], + ], + "modelId": "category", + "name": "Category", + "pluralApiName": "CategoriesApiModel", + "savedOn": "2026-01-18T20:06:42.840Z", + "singularApiName": "CategoryApiNameWhichIsABitDifferentThanModelId", + "tags": [ + "type:model", + ], + "tenant": "root", + "titleFieldId": "title", + }, + "par
packages/api-headless-cms/__tests__/contentAPI/import.structure.test.ts > import cms structure > should import extremely complex and large structure: next/packages/api-headless-cms/__tests__/contentAPI/import.structure.test.ts#L920
AssertionError: expected { data: { importStructure: { …(2) } } } to deeply equal { data: { importStructure: { …(2) } } } - Expected + Received @@ -11,36 +11,786 @@ "name": "Blog", }, "imported": true, }, ], - "message": "Import done.", + "message": null, "models": [ { "action": "create", - "error": null, - "imported": true, + "error": { + "code": "CREATE_OPENSEARCH_INDEX_ERROR", + "data": { + "body": { + "mappings": { + "dynamic_templates": [ + { + "ids": { + "mapping": { + "keyword": true, + "type": "string", + }, + "match": "^id|entryId$", + }, + }, + { + "dates": { + "mapping": { + "type": "date", + }, + "match": "^createdOn|savedOn|publishedOn$", + }, + }, + { + "numbers": { + "mapping": { + "scaling_factor": 10000, + "type": "scaled_float", + }, + "match": "number@*", + }, + }, + { + "booleans": { + "mapping": { + "type": "boolean", + }, + "match": "boolean@*", + }, + }, + { + "strings": { + "mapping": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword", + }, + }, + "type": "text", + }, + "match_mapping_type": "string", + }, + }, + ], + "properties": { + "rawValues": { + "enabled": false, + "type": "object", + }, + }, + }, + }, + "error": { + "message": "circuit_breaking_exception", + "meta": { + "body": { + "error": { + "bytes_limit": 4080218931, + "bytes_wanted": 4137034904, + "durability": "TRANSIENT", + "reason": "[parent] Data too large, data for [<http_request>] would be [4137034904/3.8gb], which is larger than the limit of [4080218931/3.7gb], real usage: [4137033832/3.8gb], new bytes reserved: [1072/1kb], usages [request=0/0b, fielddata=0/0b, in_flight_requests=1072/1kb, neural_search=0/0b]", + "root_cause": [ + { + "bytes_limit": 4080218931, + "bytes_wanted": 4137034904, + "durability": "TRANSIENT", + "reason": "[parent] Data too large, data for [<http_request>] would be [4137034904/3.8gb], which is larger than the limit of [4080218931/3.7gb], real usage: [4137033832/3.8gb], new bytes reserved: [1072/1kb], usages [request=0/0b, fielddata=0/0b, in_flight_requests=1072/1kb, neural_search=0/0b]", +
packages/api-headless-cms/__tests__/contentAPI/import.structure.test.ts > import cms structure > should show errors when trying to import groups and models which already exist in the system: next/packages/api-headless-cms/__tests__/contentAPI/import.structure.test.ts#L627
AssertionError: expected { data: { importStructure: { …(2) } } } to match object { data: { importStructure: { …(2) } } } (2 matching properties omitted from actual) - Expected + Received { "data": { "importStructure": { "data": { - "message": "Import done.", + "message": null, }, "error": null, }, }, } ❯ packages/api-headless-cms/__tests__/contentAPI/import.structure.test.ts:627:30
packages/api-headless-cms/__tests__/contentAPI/import.structure.test.ts > import cms structure > should import valid groups and models - exported data: next/packages/api-headless-cms/__tests__/contentAPI/import.structure.test.ts#L548
AssertionError: expected { data: { importStructure: { …(2) } } } to deeply equal { data: { importStructure: { …(2) } } } - Expected + Received @@ -20,46 +20,978 @@ "name": "Machines", }, "imported": true, }, ], - "message": "Import done.", + "message": null, "models": [ { "action": "create", - "error": null, - "imported": true, + "error": { + "code": "CREATE_OPENSEARCH_INDEX_ERROR", + "data": { + "body": { + "mappings": { + "dynamic_templates": [ + { + "ids": { + "mapping": { + "keyword": true, + "type": "string", + }, + "match": "^id|entryId$", + }, + }, + { + "dates": { + "mapping": { + "type": "date", + }, + "match": "^createdOn|savedOn|publishedOn$", + }, + }, + { + "numbers": { + "mapping": { + "scaling_factor": 10000, + "type": "scaled_float", + }, + "match": "number@*", + }, + }, + { + "booleans": { + "mapping": { + "type": "boolean", + }, + "match": "boolean@*", + }, + }, + { + "strings": { + "mapping": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword", + }, + }, + "type": "text", + }, + "match_mapping_type": "string", + }, + }, + ], + "properties": { + "rawValues": { + "enabled": false, + "type": "object", + }, + }, + }, + }, + "error": { + "message": "circuit_breaking_exception", + "meta": { + "body": { + "error": { + "bytes_limit": 4080218931, + "bytes_wanted": 4137316184, + "durability": "TRANSIENT", + "reason": "[parent] Data too large, data for [<http_request>] would be [4137316184/3.8gb], which is larger than the limit of [4080218931/3.7gb], real usage: [4137315112/3.8gb], new bytes reserved: [1072/1kb], usages [request=0/0b, fielddata=0/0b, in_flight_requests=1072/1kb, neural_search=0/0b]", + "root_cause": [ + { + "bytes_limit": 4080218931, + "bytes_wanted": 4137316184, + "durability": "TRANSIENT", + "reason": "[parent] Data too large, data for [<http_request>] would be [4137316184/3.8gb], which is larger than the limit of [4080218931/3.7gb], real usage: [4137315112/3.8gb], new bytes reserved: [1072/1kb], usages [request=0/0b, fielddata=0/0b, in_flight_requests=1072/1kb, neural_search=0/0b]", +
packages/api-headless-cms/__tests__/contentAPI/export.structure.test.ts > export cms structure > should export all groups and models: next/packages/api-headless-cms/__tests__/contentAPI/export.structure.test.ts#L111
AssertionError: expected 9 to be 10 // Object.is equality - Expected + Received - 10 + 9 ❯ packages/api-headless-cms/__tests__/contentAPI/export.structure.test.ts:111:36
packages/api-headless-cms/__tests__/contentAPI/deepNestedObject.test.ts > Cars Model Deep Nested Object Fields > should insert a large deeply nested record: next/packages/api-headless-cms/__tests__/contentAPI/deepNestedObject.test.ts#L60
Error: Test timed out in 30000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ packages/api-headless-cms/__tests__/contentAPI/deepNestedObject.test.ts:60:5
api-headless-cms (6/6)
Process completed with exit code 1.
packages/api-headless-cms/__tests__/contentAPI/filtering.test.ts > filtering > should filter entries by entryId: next/packages/api-headless-cms/__tests__/contentAPI/filtering.test.ts#L1461
AssertionError: expected { data: { listArticles: { …(3) } } } to deeply equal { data: { listArticles: { …(3) } } } - Expected + Received { "data": { "listArticles": { - "data": [ - { - "body": null, - "categories": [], - "category": null, + "data": null, + "error": { + "code": "Cms/Entry/PersistenceError", + "data": { + "error": { + "code": "Cms/Entry/PersistenceError", + }, + "model": { "createdBy": { "displayName": "John Doe", "id": "id-12345678", "type": "admin", }, - "createdOn": "2026-01-18T20:06:45.731Z", - "entryId": "696d3d559b8e8a0a55545a20", - "firstPublishedOn": "2026-01-18T20:07:17.236Z", - "id": "696d3d559b8e8a0a55545a20#0001", - "lastPublishedOn": "2026-01-18T20:07:17.236Z", - "modifiedOn": "2026-01-18T20:07:17.236Z", - "savedOn": "2026-01-18T20:07:17.236Z", - "title": "Animal 123", + "createdOn": "2026-01-18T20:06:43.696Z", + "description": null, + "descriptionFieldId": null, + "fields": [ + { + "fieldId": "title", + "helpText": null, + "id": "title", + "label": "Title", + "listValidation": [], + "multipleValues": false, + "placeholderText": "Title", + "predefinedValues": { + "enabled": false, + "values": [], + }, + "renderer": { + "name": "renderer", + }, + "settings": {}, + "storageId": "text@title", + "tags": [], + "type": "text", + "validation": [], + }, + { + "fieldId": "body", + "helpText": null, + "id": "body", + "label": "Body", + "listValidation": [], + "multipleValues": false, + "placeholderText": "Body", + "predefinedValues": { + "enabled": false, + "values": [], + }, + "renderer": { + "name": "renderer", + }, + "settings": {}, + "storageId": "rich-text@body", + "tags": [], + "type": "rich-text", + "validation": [], + }, + { + "fieldId": "categories", + "helpText": null, + "id": "categories", + "label": "Categories", + "listValidation": [], + "multipleValues": true, + "placeholderText": "Categories", + "predefinedValues": { + "enabled": false, + "values": [], + }, + "renderer": { + "name": "renderer", + }, + "settings": { + "models": [ + { + "modelId": "category", + }, + ], + }, + "storageId": "ref@categories", + "tags": [], + "type": "ref", + "validation": [], + }, + { + "fieldId": "category", + "helpText": null, + "id": "category", + "label": "Category", + "listValidation": [], + "multipleValues": false, + "placeholderText": "Category", + "predefinedValues": { + "enabled": false, + "values": [], + }, + "renderer": { + "name": "rendere
packages/api-headless-cms/__tests__/contentAPI/contentEntry.withId.test.ts > Content entry with user defined ID > should not allow to create an entry with malformed ID - malformed-id-^: next/packages/api-headless-cms/__tests__/testHelpers/setup.ts#L30
Error: process.exit unexpectedly called with "1" ❯ setupContentModel packages/api-headless-cms/__tests__/testHelpers/setup.ts:30:17 ❯ setupContentModels packages/api-headless-cms/__tests__/testHelpers/setup.ts:140:23 ❯ packages/api-headless-cms/__tests__/contentAPI/contentEntry.withId.test.ts:34:9