fix: uuid generation on old Node.js #18391
Annotations
5 errors
unit tests:
packages/libraries/core/tests/usage.spec.ts#L446
Error: Snapshot `sendImmediately should not stop the schedule 2` mismatched
- Expected
+ Received
- [INF] [hive][usage] Sending immediately
- [INF] [hive][usage] Sending report (queue 2)
- [INF] [hive][usage] POST http://localhost/200 (x-request-id=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)
❯ packages/libraries/core/tests/usage.spec.ts:446:28
|
unit tests:
packages/libraries/core/tests/usage.spec.ts#L456
Error: Snapshot `sendImmediately should not stop the schedule 3` mismatched
- Expected
+ Received
[INF] [hive][usage] POST http://localhost/200 (x-request-id=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) succeeded with status 200 (666ms).
[INF] [hive][usage] Report sent!
[INF] [hive][usage] Sending report (queue 1)
[INF] [hive][usage] POST http://localhost/200 (x-request-id=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)
+ [ERR] [hive][usage] Error: Nock: No match for request {
+ [ERR] [hive][usage] "method": "POST",
+ [ERR] [hive][usage] "url": "http://localhost/200",
+ [ERR] [hive][usage] "headers": {
+ [ERR] [hive][usage] "accept": "application/json",
+ [ERR] [hive][usage] "accept-encoding": "gzip, deflate, br",
+ [ERR] [hive][usage] "authorization": "***",
+ [ERR] [hive][usage] "connection": "close",
+ [ERR] [hive][usage] "content-length": "919",
+ [ERR] [hive][usage] "content-type": "application/json",
+ [ERR] [hive][usage] "graphql-client-name": "Hive Client",
+ [ERR] [hive][usage] "graphql-client-version": "0.9.0",
+ [ERR] [hive][usage] "user-agent": "hive-client/0.9.0",
+ [ERR] [hive][usage] "x-request-id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
+ [ERR] [hive][usage] "x-usage-api-version": "2"
+ [ERR] [hive][usage] },
+ [ERR] [hive][usage] "body": "{\"size\":1,\"map\":{\"83f205dc720f2ce07de4636561e8b82e00a5cc7c\":{\"operation\":\"fragment ProjectFields on Project{cleanId id name type}mutation deleteProject($selector:ProjectSelectorInput!){deleteProject(selector:$selector){deletedProject{...ProjectFields}selector{organization project}}}\",\"operationName\":\"deleteProject\",\"fields\":[\"Mutation.deleteProject\",\"Mutation.deleteProject.selector\",\"DeleteProjectPayload.selector\",\"ProjectSelector.organization\",\"ProjectSelector.project\",\"DeleteProjectPayload.deletedProject\",\"Project.id\",\"Project.cleanId\",\"Project.name\",\"Project.type\",\"ProjectType.FEDERATION\",\"ProjectType.STITCHING\",\"ProjectType.SINGLE\",\"ProjectType.CUSTOM\",\"ProjectSelectorInput.organization\",\"ID\",\"ProjectSelectorInput.project\"]}},\"operations\":[{\"operationMapKey\":\"83f205dc720f2ce07de4636561e8b82e00a5cc7c\",\"timestamp\":1739203045100,\"execution\":{\"ok\":true,\"duration\":223994918,\"errorsTotal\":0},\"metadata\":{}}]}"
+ [ERR] [hive][usage] }
+ [ERR] [hive][usage] at InterceptedRequestRouter.startPlayback (/home/runner/work/console/console/node_modules/.pnpm/[email protected]/node_modules/nock/lib/intercepted_request_router.js:334:21)
+ [ERR] [hive][usage] at InterceptedRequestRouter.maybeStartPlayback (/home/runner/work/console/console/node_modules/.pnpm/[email protected]/node_modules/nock/lib/intercepted_request_router.js:263:12)
+ [ERR] [hive][usage] at InterceptedRequestRouter.handleEnd (/home/runner/work/console/console/node_modules/.pnpm/[email protected]/node_modules/nock/lib/intercepted_request_router.js:211:10)
+ [ERR] [hive][usage] at OverriddenClientRequest.req.end (/home/runner/work/console/console/node_modules/.pnpm/[email protected]/node_modules/nock/lib/intercepted_request_router.js:95:33)
+ [ERR] [hive][usage] at _Emitter.<anonymous> (/home/runner/work/console/console/node_modules/.pnpm/[email protected]/node_modules/nock/lib/intercept.js:414:23)
+ [ERR] [hive][usage] at processTicksAndRejections (node:internal/process/task_queues:105:5)
+ [ERR] [hive][usage] at emitAsync (/home/runner/work/console/console/node_modules/.pnpm/@mswjs[email protected]/node_modules/@mswjs/interceptors/src/utils/emitAsync.ts:23:5)
+ [ERR] [hive][usage] at /home/runner/work/console/console/node_modules/.pnpm/@mswjs[email protected]/node_modules/@mswjs/interceptors/src/utils/handleRequest.ts:125:5
+ [ERR] [hive][usage] at until (/home/runner/work/console/console/node_modules/.pnpm/@open-draft[email protected]/node_modules/@open-draft/until/src/until.ts:23:18)
+ [ERR] [hive][usage] at handleRequest (/home/runner/work/console/console/node_modules/.pnpm/@mswjs[email protected]/node_modules/@mswjs/interceptors/src/utils/handleRequest.ts:114:18)
+ [ERR] [hive][usage]
|
unit tests:
packages/libraries/core/tests/usage.spec.ts#L456
Error: Snapshot `sendImmediately should not stop the schedule 3` mismatched
- Expected
+ Received
[INF] [hive][usage] POST http://localhost/200 (x-request-id=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) succeeded with status 200 (666ms).
[INF] [hive][usage] Report sent!
[INF] [hive][usage] Sending report (queue 1)
[INF] [hive][usage] POST http://localhost/200 (x-request-id=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)
+ [INF] [hive][usage] POST http://localhost/200 (x-request-id=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) succeeded with status 200 (666ms).
+ [INF] [hive][usage] Report sent!
❯ packages/libraries/core/tests/usage.spec.ts:456:28
|
unit tests:
packages/libraries/core/tests/usage.spec.ts#L456
Error: Snapshot `sendImmediately should not stop the schedule 3` mismatched
- Expected
+ Received
[INF] [hive][usage] POST http://localhost/200 (x-request-id=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) succeeded with status 200 (666ms).
[INF] [hive][usage] Report sent!
[INF] [hive][usage] Sending report (queue 1)
[INF] [hive][usage] POST http://localhost/200 (x-request-id=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)
+ [INF] [hive][usage] POST http://localhost/200 (x-request-id=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) succeeded with status 200 (666ms).
+ [INF] [hive][usage] Report sent!
❯ packages/libraries/core/tests/usage.spec.ts:456:28
|
unit tests
Process completed with exit code 1.
|
Loading