Skip to content

perf: reduce document data deepCopying in field hooks #14784

perf: reduce document data deepCopying in field hooks

perf: reduce document data deepCopying in field hooks #14784

Triggered via pull request January 16, 2025 07:03
Status Cancelled
Total duration 25m 3s
Artifacts

main.yml

on: pull_request
Matrix: build-templates
Matrix: tests-e2e
Matrix: tests-int
tests-unit
52s
tests-unit
tests-types
46s
tests-types
tests-type-generation
36s
tests-type-generation
All Green
0s
All Green
Publish Canary
0s
Publish Canary
Fit to window
Zoom out
Zoom in

Annotations

67 errors and 18 warnings
int-sqlite-uuid
Canceling since a higher priority waiting request for 'build-refs/pull/10610/merge-' exists
Localization › Localization with fallback true › Duplicate Collection › should duplicate localized document: test/localization/int.spec.ts#L1300
expect(received).toStrictEqual(expected) // deep equality Expected: "spanish" Received: undefined at Object.toStrictEqual (localization/int.spec.ts:1300:37)
Localization › Localization with fallback true › Duplicate Collection › should duplicate with localized blocks: test/localization/int.spec.ts#L1463
TypeError: Cannot read properties of undefined (reading '0') at Object.<anonymous> (localization/int.spec.ts:1463:40)
Localization › Localization with fallback true › Duplicate Collection › should duplicate localized document: test/localization/int.spec.ts#L1300
expect(received).toStrictEqual(expected) // deep equality Expected: "spanish" Received: undefined at Object.toStrictEqual (localization/int.spec.ts:1300:37)
Localization › Localization with fallback true › Duplicate Collection › should duplicate with localized blocks: test/localization/int.spec.ts#L1463
TypeError: Cannot read properties of undefined (reading '0') at Object.<anonymous> (localization/int.spec.ts:1463:40)
Localization › Localization with fallback true › Duplicate Collection › should duplicate localized document: test/localization/int.spec.ts#L1300
expect(received).toStrictEqual(expected) // deep equality Expected: "spanish" Received: undefined at Object.toStrictEqual (localization/int.spec.ts:1300:37)
int-postgres
Canceling since a higher priority waiting request for 'build-refs/pull/10610/merge-' exists
Localization › Localization with fallback true › Duplicate Collection › should duplicate with localized blocks: test/localization/int.spec.ts#L1463
TypeError: Cannot read properties of undefined (reading '0') at Object.<anonymous> (localization/int.spec.ts:1463:40)
Localization › Localization with fallback true › Duplicate Collection › should duplicate localized document: test/localization/int.spec.ts#L1300
expect(received).toStrictEqual(expected) // deep equality Expected: "spanish" Received: undefined at Object.toStrictEqual (localization/int.spec.ts:1300:37)
Localization › Localization with fallback true › Duplicate Collection › should duplicate with localized blocks: test/localization/int.spec.ts#L1463
TypeError: Cannot read properties of undefined (reading '0') at Object.<anonymous> (localization/int.spec.ts:1463:40)
Localization › Localization with fallback true › Duplicate Collection › should duplicate localized document: test/localization/int.spec.ts#L1300
expect(received).toStrictEqual(expected) // deep equality Expected: "spanish" Received: undefined at Object.toStrictEqual (localization/int.spec.ts:1300:37)
Localization › Localization with fallback true › Duplicate Collection › should duplicate localized document: test/localization/int.spec.ts#L1300
expect(received).toStrictEqual(expected) // deep equality Expected: "spanish" Received: undefined at Object.toStrictEqual (localization/int.spec.ts:1300:37)
Localization › Localization with fallback true › Duplicate Collection › should duplicate with localized blocks: test/localization/int.spec.ts#L1463
TypeError: Cannot read properties of undefined (reading '0') at Object.<anonymous> (localization/int.spec.ts:1463:40)
Localization › Localization with fallback true › Duplicate Collection › should duplicate with localized blocks: test/localization/int.spec.ts#L1463
TypeError: Cannot read properties of undefined (reading '0') at Object.<anonymous> (localization/int.spec.ts:1463:40)
int-sqlite-uuid
The operation was canceled.
Localization › Localization with fallback true › Duplicate Collection › should duplicate localized document: test/localization/int.spec.ts#L1300
expect(received).toStrictEqual(expected) // deep equality Expected: "spanish" Received: undefined at Object.toStrictEqual (localization/int.spec.ts:1300:37)
Localization › Localization with fallback true › Duplicate Collection › should duplicate with localized blocks: test/localization/int.spec.ts#L1463
TypeError: Cannot read properties of undefined (reading '0') at Object.<anonymous> (localization/int.spec.ts:1463:40)
Localization › Localization with fallback true › Duplicate Collection › should duplicate localized document: test/localization/int.spec.ts#L1300
expect(received).toStrictEqual(expected) // deep equality Expected: "spanish" Received: undefined at Object.toStrictEqual (localization/int.spec.ts:1300:37)
Localization › Localization with fallback true › Duplicate Collection › should duplicate with localized blocks: test/localization/int.spec.ts#L1463
TypeError: Cannot read properties of undefined (reading '0') at Object.<anonymous> (localization/int.spec.ts:1463:40)
int-postgres
The operation was canceled.
int-postgres-uuid
Canceling since a higher priority waiting request for 'build-refs/pull/10610/merge-' exists
Localization › Localization with fallback true › Duplicate Collection › should duplicate localized document: test/localization/int.spec.ts#L1300
expect(received).toStrictEqual(expected) // deep equality Expected: "spanish" Received: undefined at Object.toStrictEqual (localization/int.spec.ts:1300:37)
Localization › Localization with fallback true › Duplicate Collection › should duplicate with localized blocks: test/localization/int.spec.ts#L1463
TypeError: Cannot read properties of undefined (reading '0') at Object.<anonymous> (localization/int.spec.ts:1463:40)
Localization › Localization with fallback true › Duplicate Collection › should duplicate localized document: test/localization/int.spec.ts#L1300
expect(received).toStrictEqual(expected) // deep equality Expected: "spanish" Received: undefined at Object.toStrictEqual (localization/int.spec.ts:1300:37)
Localization › Localization with fallback true › Duplicate Collection › should duplicate with localized blocks: test/localization/int.spec.ts#L1463
TypeError: Cannot read properties of undefined (reading '0') at Object.<anonymous> (localization/int.spec.ts:1463:40)
int-sqlite
Canceling since a higher priority waiting request for 'build-refs/pull/10610/merge-' exists
Localization › Localization with fallback true › Duplicate Collection › should duplicate localized document: test/localization/int.spec.ts#L1300
expect(received).toStrictEqual(expected) // deep equality Expected: "spanish" Received: undefined at Object.toStrictEqual (localization/int.spec.ts:1300:37)
Localization › Localization with fallback true › Duplicate Collection › should duplicate localized document: test/localization/int.spec.ts#L1300
expect(received).toStrictEqual(expected) // deep equality Expected: "spanish" Received: undefined at Object.toStrictEqual (localization/int.spec.ts:1300:37)
Localization › Localization with fallback true › Duplicate Collection › should duplicate with localized blocks: test/localization/int.spec.ts#L1463
TypeError: Cannot read properties of undefined (reading '0') at Object.<anonymous> (localization/int.spec.ts:1463:40)
Localization › Localization with fallback true › Duplicate Collection › should duplicate with localized blocks: test/localization/int.spec.ts#L1463
TypeError: Cannot read properties of undefined (reading '0') at Object.<anonymous> (localization/int.spec.ts:1463:40)
Localization › Localization with fallback true › Duplicate Collection › should duplicate localized document: test/localization/int.spec.ts#L1300
expect(received).toStrictEqual(expected) // deep equality Expected: "spanish" Received: undefined at Object.toStrictEqual (localization/int.spec.ts:1300:37)
Localization › Localization with fallback true › Duplicate Collection › should duplicate localized document: test/localization/int.spec.ts#L1300
expect(received).toStrictEqual(expected) // deep equality Expected: "spanish" Received: undefined at Object.toStrictEqual (localization/int.spec.ts:1300:37)
Localization › Localization with fallback true › Duplicate Collection › should duplicate with localized blocks: test/localization/int.spec.ts#L1463
TypeError: Cannot read properties of undefined (reading '0') at Object.<anonymous> (localization/int.spec.ts:1463:40)
Localization › Localization with fallback true › Duplicate Collection › should duplicate with localized blocks: test/localization/int.spec.ts#L1463
TypeError: Cannot read properties of undefined (reading '0') at Object.<anonymous> (localization/int.spec.ts:1463:40)
int-postgres-uuid
The operation was canceled.
Localization › Localization with fallback true › Duplicate Collection › should duplicate localized document: test/localization/int.spec.ts#L1300
expect(received).toStrictEqual(expected) // deep equality Expected: "spanish" Received: undefined at Object.toStrictEqual (localization/int.spec.ts:1300:37)
Localization › Localization with fallback true › Duplicate Collection › should duplicate with localized blocks: test/localization/int.spec.ts#L1463
TypeError: Cannot read properties of undefined (reading '0') at Object.<anonymous> (localization/int.spec.ts:1463:40)
Localization › Localization with fallback true › Duplicate Collection › should duplicate localized document: test/localization/int.spec.ts#L1300
expect(received).toStrictEqual(expected) // deep equality Expected: "spanish" Received: undefined at Object.toStrictEqual (localization/int.spec.ts:1300:37)
Localization › Localization with fallback true › Duplicate Collection › should duplicate with localized blocks: test/localization/int.spec.ts#L1463
TypeError: Cannot read properties of undefined (reading '0') at Object.<anonymous> (localization/int.spec.ts:1463:40)
int-sqlite
The operation was canceled.
int-supabase
Canceling since a higher priority waiting request for 'build-refs/pull/10610/merge-' exists
Localization › Localization with fallback true › Duplicate Collection › should duplicate localized document: test/localization/int.spec.ts#L1300
expect(received).toStrictEqual(expected) // deep equality Expected: "spanish" Received: undefined at Object.toStrictEqual (localization/int.spec.ts:1300:37)
Localization › Localization with fallback true › Duplicate Collection › should duplicate with localized blocks: test/localization/int.spec.ts#L1463
TypeError: Cannot read properties of undefined (reading '0') at Object.<anonymous> (localization/int.spec.ts:1463:40)
Localization › Localization with fallback true › Duplicate Collection › should duplicate localized document: test/localization/int.spec.ts#L1300
expect(received).toStrictEqual(expected) // deep equality Expected: "spanish" Received: undefined at Object.toStrictEqual (localization/int.spec.ts:1300:37)
Localization › Localization with fallback true › Duplicate Collection › should duplicate with localized blocks: test/localization/int.spec.ts#L1463
TypeError: Cannot read properties of undefined (reading '0') at Object.<anonymous> (localization/int.spec.ts:1463:40)
Localization › Localization with fallback true › Duplicate Collection › should duplicate localized document: test/localization/int.spec.ts#L1300
expect(received).toStrictEqual(expected) // deep equality Expected: "spanish" Received: undefined at Object.toStrictEqual (localization/int.spec.ts:1300:37)
Localization › Localization with fallback true › Duplicate Collection › should duplicate with localized blocks: test/localization/int.spec.ts#L1463
TypeError: Cannot read properties of undefined (reading '0') at Object.<anonymous> (localization/int.spec.ts:1463:40)
int-supabase
The operation was canceled.
int-postgres-custom-schema
Canceling since a higher priority waiting request for 'build-refs/pull/10610/merge-' exists
Localization › Localization with fallback true › Duplicate Collection › should duplicate localized document: test/localization/int.spec.ts#L1300
expect(received).toStrictEqual(expected) // deep equality Expected: "spanish" Received: undefined at Object.toStrictEqual (localization/int.spec.ts:1300:37)
Localization › Localization with fallback true › Duplicate Collection › should duplicate with localized blocks: test/localization/int.spec.ts#L1463
TypeError: Cannot read properties of undefined (reading '0') at Object.<anonymous> (localization/int.spec.ts:1463:40)
Localization › Localization with fallback true › Duplicate Collection › should duplicate localized document: test/localization/int.spec.ts#L1300
expect(received).toStrictEqual(expected) // deep equality Expected: "spanish" Received: undefined at Object.toStrictEqual (localization/int.spec.ts:1300:37)
Localization › Localization with fallback true › Duplicate Collection › should duplicate with localized blocks: test/localization/int.spec.ts#L1463
TypeError: Cannot read properties of undefined (reading '0') at Object.<anonymous> (localization/int.spec.ts:1463:40)
Localization › Localization with fallback true › Duplicate Collection › should duplicate localized document: test/localization/int.spec.ts#L1300
expect(received).toStrictEqual(expected) // deep equality Expected: "spanish" Received: undefined at Object.toStrictEqual (localization/int.spec.ts:1300:37)
Localization › Localization with fallback true › Duplicate Collection › should duplicate with localized blocks: test/localization/int.spec.ts#L1463
TypeError: Cannot read properties of undefined (reading '0') at Object.<anonymous> (localization/int.spec.ts:1463:40)
Localization › Localization with fallback true › Duplicate Collection › should duplicate localized document: test/localization/int.spec.ts#L1300
expect(received).toStrictEqual(expected) // deep equality Expected: "spanish" Received: undefined at Object.toStrictEqual (localization/int.spec.ts:1300:37)
Localization › Localization with fallback true › Duplicate Collection › should duplicate with localized blocks: test/localization/int.spec.ts#L1463
TypeError: Cannot read properties of undefined (reading '0') at Object.<anonymous> (localization/int.spec.ts:1463:40)
int-postgres-custom-schema
The operation was canceled.
int-mongodb
Canceling since a higher priority waiting request for 'build-refs/pull/10610/merge-' exists
Localization › Localization with fallback true › Duplicate Collection › should duplicate localized document: test/localization/int.spec.ts#L1300
expect(received).toStrictEqual(expected) // deep equality Expected: "spanish" Received: undefined at Object.toStrictEqual (localization/int.spec.ts:1300:37)
Localization › Localization with fallback true › Duplicate Collection › should duplicate with localized blocks: test/localization/int.spec.ts#L1463
TypeError: Cannot read properties of undefined (reading 'text') at Object.text (localization/int.spec.ts:1463:44)
Fields › unique indexes › should duplicate with unique fields: packages/db-mongodb/src/utilities/handleError.ts#L23
ValidationError: The following field is invalid: localizedUniqueRequiredText.es at handleError (../packages/db-mongodb/src/utilities/handleError.ts:23:11) at Object.create (../packages/db-mongodb/src/create.ts:34:16) at createOperation (../packages/payload/src/collections/operations/create.ts:268:13) at Object.<anonymous> (fields/int.spec.ts:1408:22)
Fields › unique indexes › should duplicate with unique fields: packages/db-mongodb/src/utilities/handleError.ts#L23
ValidationError: The following field is invalid: localizedUniqueRequiredText.es at handleError (../packages/db-mongodb/src/utilities/handleError.ts:23:11) at Object.create (../packages/db-mongodb/src/create.ts:34:16) at createOperation (../packages/payload/src/collections/operations/create.ts:268:13) at Object.<anonymous> (fields/int.spec.ts:1408:22)
Localization › Localization with fallback true › Duplicate Collection › should duplicate localized document: test/localization/int.spec.ts#L1300
expect(received).toStrictEqual(expected) // deep equality Expected: "spanish" Received: undefined at Object.toStrictEqual (localization/int.spec.ts:1300:37)
Localization › Localization with fallback true › Duplicate Collection › should duplicate with localized blocks: test/localization/int.spec.ts#L1463
TypeError: Cannot read properties of undefined (reading 'text') at Object.text (localization/int.spec.ts:1463:44)
int-mongodb
The operation was canceled.
All Green
Process completed with exit code 1.
int-sqlite-uuid
Attempt 1 failed. Reason: Child_process exited with error code 1
int-sqlite-uuid
Attempt 2 failed. Reason: Child_process exited with error code 1
int-sqlite-uuid
Attempt 3 failed. Reason: Child_process exited with error code 1
int-postgres
Attempt 1 failed. Reason: Child_process exited with error code 1
int-postgres
Attempt 2 failed. Reason: Child_process exited with error code 1
int-postgres
Attempt 3 failed. Reason: Child_process exited with error code 1
int-postgres-uuid
Attempt 1 failed. Reason: Child_process exited with error code 1
int-postgres-uuid
Attempt 2 failed. Reason: Child_process exited with error code 1
int-sqlite
Attempt 1 failed. Reason: Child_process exited with error code 1
int-postgres-uuid
Attempt 3 failed. Reason: Child_process exited with error code 1
int-sqlite
Attempt 2 failed. Reason: Child_process exited with error code 1
int-sqlite
Attempt 3 failed. Reason: Child_process exited with error code 1
int-supabase
Attempt 1 failed. Reason: Child_process exited with error code 1
int-supabase
Attempt 2 failed. Reason: Child_process exited with error code 1
int-postgres-custom-schema
Attempt 1 failed. Reason: Child_process exited with error code 1
int-postgres-custom-schema
Attempt 2 failed. Reason: Child_process exited with error code 1
int-postgres-custom-schema
Attempt 3 failed. Reason: Child_process exited with error code 1
int-mongodb
Attempt 1 failed. Reason: Child_process exited with error code 1