perf(v2): faster serialization with less memory #20164
ci.yml
on: pull_request
Setup
10s
Lint Package
1m 17s
Matrix: build-bindings
Matrix: Unit Tests
Matrix: E2E CLI Tests
Matrix: E2E Tests
All requirements are met
3s
Trigger Qwik Router E2E
0s
Annotations
24 errors
Build Insights
Process completed with exit code 1.
|
qwik/src/core/shared/serdes/serdes.unit.ts > shared-serialization > deserialize types > 3 Constant:
packages/qwik/src/core/shared/serdes/serdes.unit.ts#L762
AssertionError: expected [ undefined, null, true, false, …(13) ] to deeply equal [ undefined, null, true, false, …(14) ]
- Expected
+ Received
@@ -8,11 +8,10 @@
{},
Symbol(invalid),
Symbol(store.all),
Symbol(UNINITIALIZED),
[Function Slot],
- undefined,
NaN,
Infinity,
-Infinity,
9007199254740991,
9007199254740990,
❯ qwik/src/core/shared/serdes/serdes.unit.ts:762:19
|
qwik/src/core/shared/serdes/serdes.unit.ts > shared-serialization > serialize types > 3 Constant:
packages/qwik/src/core/shared/serdes/serdes.unit.ts#L75
Error: Snapshot `shared-serialization > serialize types > 3 Constant 1` mismatched
- Expected
+ Received
@@ -8,13 +8,12 @@
6 Constant EMPTY_OBJ
7 Constant NEEDS_COMPUTATION
8 Constant STORE_ALL_PROPS
9 Constant _UNINITIALIZED
10 Constant Slot
- 11 Constant Fragment
- 12 Constant NaN
+ 11 Constant NaN
- 13 Constant Infinity
+ 12 Constant Infinity
- 14 Constant -Infinity
+ 13 Constant -Infinity
- 15 Constant MAX_SAFE_INTEGER
+ 14 Constant MAX_SAFE_INTEGER
- 16 Constant MAX_SAFE_INTEGER-1
+ 15 Constant MAX_SAFE_INTEGER-1
- 17 Constant MIN_SAFE_INTEGER
+ 16 Constant MIN_SAFE_INTEGER
- (81 chars)"
+ (76 chars)"
❯ qwik/src/core/shared/serdes/serdes.unit.ts:75:41
|
qwik-router/src/runtime/src/utils.unit.ts:
packages/qwik-router/src/runtime/src/utils.ts#L13
ReferenceError: Cannot access 'Fragment' before initialization
❯ ../dist-dev/tsc-out/packages/qwik/src/core/shared/serdes/constants.js:19:5
❯ qwik-router/src/runtime/src/utils.ts:13:31
|
qwik-router/src/runtime/src/server-functions.unit.ts:
packages/qwik-router/src/runtime/src/server-functions.ts#L16
ReferenceError: Cannot access 'Fragment' before initialization
❯ ../dist-dev/tsc-out/packages/qwik/src/core/shared/serdes/constants.js:19:5
❯ qwik-router/src/runtime/src/server-functions.ts:16:31
|
qwik-router/src/runtime/src/head.unit.ts:
packages/qwik-router/src/runtime/src/head.ts#L1
ReferenceError: Cannot access 'Fragment' before initialization
❯ ../dist-dev/tsc-out/packages/qwik/src/core/shared/serdes/constants.js:19:5
❯ qwik-router/src/runtime/src/head.ts:1:1
|
qwik-router/src/runtime/src/client-navigate.unit.ts:
packages/qwik-router/src/runtime/src/utils.ts#L13
ReferenceError: Cannot access 'Fragment' before initialization
❯ ../dist-dev/tsc-out/packages/qwik/src/core/shared/serdes/constants.js:19:5
❯ qwik-router/src/runtime/src/utils.ts:13:31
|
qwik-router/src/middleware/request-handler/resolve-request-handlers.unit.ts:
packages/qwik-router/src/middleware/request-handler/resolve-request-handlers.ts#L2
ReferenceError: Cannot access 'Fragment' before initialization
❯ ../dist-dev/tsc-out/packages/qwik/src/core/shared/serdes/constants.js:19:5
❯ qwik-router/src/middleware/request-handler/resolve-request-handlers.ts:2:1
|
qwik-router/src/middleware/request-handler/request-event.unit.ts:
packages/qwik-router/src/middleware/request-handler/request-event.ts#L2
ReferenceError: Cannot access 'Fragment' before initialization
❯ ../dist-dev/tsc-out/packages/qwik/src/core/shared/serdes/constants.js:19:5
❯ qwik-router/src/middleware/request-handler/request-event.ts:2:1
|
qwik/src/core/tests/container.spec.tsx > serializer v2 > object serialization > ConstantSerializer, ////// 3 > should serialize and deserialize:
packages/qwik/src/core/tests/container.spec.tsx#L263
AssertionError: expected [ undefined, null, true, false, …(5) ] to deeply equal [ undefined, null, true, false, …(5) ]
- Expected
+ Received
@@ -5,7 +5,7 @@
false,
NaN,
-Infinity,
Infinity,
[Function Slot],
- [Function Fragment],
+ undefined,
]
❯ qwik/src/core/tests/container.spec.tsx:263:85
|
docs/src/repl/ui/repl-share-url.unit.ts:
packages/docs/src/repl/ui/repl-options.tsx#L4
ReferenceError: Cannot access 'Fragment' before initialization
❯ ../dist-dev/tsc-out/packages/qwik/src/core/shared/serdes/constants.js:19:5
❯ docs/src/repl/ui/repl-options.tsx:4:31
|
Unit Tests (windows-latest)
The operation was canceled.
|
Unit Tests (windows-latest)
The strategy configuration was canceled because "test-unit.ubuntu-latest" failed
|
E2E CLI Tests (macos-latest, webkit)
Process completed with exit code 1.
|
E2E CLI Tests (ubuntu-latest, chromium)
The operation was canceled.
|
E2E CLI Tests (ubuntu-latest, chromium)
The strategy configuration was canceled because "test-cli-e2e.macos-latest_webkit" failed
|
E2E CLI Tests (windows-latest, chromium)
The operation was canceled.
|
E2E CLI Tests (windows-latest, chromium)
The strategy configuration was canceled because "test-cli-e2e.macos-latest_webkit" failed
|
Build Docs
Process completed with exit code 1.
|
E2E Tests (ubuntu-latest, chromium)
The operation was canceled.
|
E2E Tests (ubuntu-latest, chromium)
The job has exceeded the maximum execution time of 20m0s
|
E2E Tests (macos-latest, webkit)
The operation was canceled.
|
E2E Tests (macos-latest, webkit)
The job has exceeded the maximum execution time of 20m0s
|
All requirements are met
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | Digest | |
---|---|---|---|
artifact-create-qwik
|
1.66 MB |
sha256:9c1719b1c379e6f6baa89c289ebee219f9f7c2fbb025bc7166d8127fbc2fca5d
|
|
artifact-eslint-plugin-qwik
|
33.2 KB |
sha256:4dacc43c02cb543ff1649f0f3224953ec36dc4832a0796e88f264df71eb050d7
|
|
artifact-qwik
|
8.86 MB |
sha256:c109748d4e05c8178101c5fa559090a8984953299b42463bc1463c76e7637be2
|
|
artifact-qwik-no-optimizer
|
2.54 MB |
sha256:61b0cf8020054acb9797083de716f0cc9bd89dddd60d86cab4b8120c04b62103
|
|
artifact-qwikreact
|
11 KB |
sha256:356d288f223f564aa8206c7b8ea2bcb5ae56485da80524135b741140652b3c5e
|
|
artifact-qwikrouter
|
366 KB |
sha256:710faf68b6c465763e0e824dc2e17ac396f29c69035b9d425c84cc024b8aaa99
|
|