perf(serdes): vnode tree shaking #16701
ci.yml
on: pull_request
Setup
11s
Lint Package
57s
Matrix: build-bindings
Matrix: E2E Tests
Matrix: E2E CLI Tests
All requirements are met
0s
Trigger Qwik City E2E
0s
Annotations
11 errors
qwik/src/core/tests/README.spec.tsx > 'ssrRenderToDom': contributing > projection serialization example:
packages/qwik/src/core/client/vnode.ts#L1546
TypeError: Cannot read properties of null (reading '1')
❯ Module.vnode_getParent qwik/src/core/client/vnode.ts:1546:15
❯ getContainerElement qwik/src/testing/vdom-diff.unit-util.ts:86:19
❯ Object.toMatchVDOM qwik/src/testing/vdom-diff.unit-util.ts:58:23
❯ qwik/src/core/tests/README.spec.tsx:201:44
|
qwik/src/core/tests/attributes.spec.tsx > 'ssrRenderToDom': attributes > should bind checked attribute:
packages/qwik/src/core/tests/attributes.spec.tsx#L155
Error: expecting 2 children but was 1
EXPECTED
<Fragment>
<label>
<input>
</input>
"Show conditional"
</label>
<div>
"true"
</div>
</Fragment>
RECEIVED
<Component[0] q:id="3" q:key="Lv_9" q:props=[object Object] q:renderFn=Qrl(it_BindCmp_component_qycx8iZfqyg) q:seq=Signal q:seqIdx=1>
<Fragment[0] q:key="Lv_8">
<label : for="toggle">
<input : type="checkbox" on:input="mock-chunk#it_BindCmp_component_Fragment_label_input_bind_checked_3qFQBaavkAA[0]" checked>
</input>
"Show conditional"
</label>
<div :>
"true"
</div>
</Fragment>
</Component>
❯ qwik/src/core/tests/attributes.spec.tsx:155:19
|
qwik/src/core/tests/component.spec.tsx > 'ssrRenderToDom': component > should rerender components correctly:
packages/qwik/src/core/tests/component.spec.tsx#L182
Error: Fragment > main > div expecting=Fragment received=...
Fragment > main > div > Fragment expecting 1 children but was 0
EXPECTED
<Fragment>
"1"
</Fragment>
RECEIVED
"1"
Fragment > main > div expecting=Fragment received=...
Fragment > main > div > Fragment expecting 1 children but was 0
EXPECTED
<Fragment>
"1"
</Fragment>
RECEIVED
"1"
Fragment > main > div expecting=Fragment received=...
Fragment > main > div > Fragment expecting 1 children but was 0
EXPECTED
<Fragment>
"2"
</Fragment>
RECEIVED
"2"
❯ qwik/src/core/tests/component.spec.tsx:182:19
|
qwik/src/core/tests/component.spec.tsx > 'ssrRenderToDom': component > should not rerender elements inside dom element and fragment:
packages/qwik/src/core/tests/component.spec.tsx#L1541
Error: Fragment > Fragment > div expecting 5 children but was 2
EXPECTED
<div>
<input>
</input>
<input>
</input>
<input>
</input>
<input>
</input>
<input>
</input>
</div>
RECEIVED
<div q:vnodeData="{1{1|q:type|F@Lc_242}2|q:type|F@Lc_243}1" :>
<Fragment[0] q:key="Lc_243">
<input : id="input1" on:input="mock-chunk#it_AttributesChild_component_Fragment_div_Fragment_input_onInput_1_8vHz3nAODx0[1]">
</input>
<Fragment[1] q:key="Lc_242">
<input : id="input2" on:input="mock-chunk#it_AttributesChild_component_Fragment_div_Fragment_Fragment_input_onInput_5boHOseydvM[1]">
</input>
</Fragment>
<input : id="input3" on:input="mock-chunk#it_AttributesChild_component_Fragment_div_Fragment_input_onInput_2_dJDg93o1GHI[1]">
</input>
<input : id="input4" on:input="mock-chunk#it_AttributesChild_component_Fragment_div_Fragment_input_onInput_3_lRwLnkrD6mo[1]">
</input>
</Fragment>
<input : id="input5" on:input="mock-chunk#it_AttributesChild_component_Fragment_div_input_onInput_GxpSwQ85yYk[1]">
</input>
</div>
❯ qwik/src/core/tests/component.spec.tsx:1541:19
|
qwik/src/core/tests/inline-component.spec.tsx > 'ssrRenderToDom': inline component > should toggle component$ and inline wrapper:
packages/qwik/src/core/tests/inline-component.spec.tsx#L106
Error: expecting 6 children but was 1
EXPECTED
<Fragment>
<button>
</button>
<h1>
"Test"
</h1>
<p>
"Lorem"
</p>
<h2>
"ipsum"
</h2>
<p>
"foo"
</p>
<h2>
"bar"
</h2>
</Fragment>
RECEIVED
<Component[0] q:id="5" q:key="k5_19" q:props=[object Object] q:renderFn=Qrl(it_Wrapper_component_K01PFn33NyY) q:seq=Signal q:seqIdx=1>
<Fragment[0] q:key="k5_18">
<button : on:click="mock-chunk#it_Wrapper_component_Fragment_button_onClick_axd7I1Tschs[0]">
</button>
<InlineComponent[16777215] q:key="k5_17" q:props=[object Object]>
<InlineComponent[16777215] q:key="k5_1" q:props=[object Object]>
<Fragment[16777215] q:key="k5_0">
<h1>
"Test"
</h1>
<p>
"Lorem"
</p>
<h2>
"ipsum"
</h2>
<p>
"foo"
</p>
<h2>
"bar"
</h2>
</Fragment>
</InlineComponent>
</InlineComponent>
</Fragment>
</Component>
❯ qwik/src/core/tests/inline-component.spec.tsx:106:19
|
qwik/src/core/tests/inline-component.spec.tsx > 'ssrRenderToDom': inline component > should not rerender component:
packages/qwik/src/core/tests/inline-component.spec.tsx#L191
Error: div expecting 1 children but was 2
EXPECTED
<div>
"Id: 0"
</div>
RECEIVED
<div q:key="k5_2" q:vnodeData="E{B=2|q:subs|3|q:type|S}" :>
"Id: "
<Signal[1] q:id="2" q:subs="3">
"0"
</Signal>
</div>
❯ qwik/src/core/tests/inline-component.spec.tsx:191:19
|
qwik/src/core/tests/inline-component.spec.tsx > 'ssrRenderToDom': inline component > should conditionally render different inline component inside inline component:
packages/qwik/src/core/tests/inline-component.spec.tsx#L375
Error: Fragment > footer expecting=div received=Fragment
Fragment > footer > div
EXPECTED
"foo"
RECEIVED:
null
❯ qwik/src/core/tests/inline-component.spec.tsx:375:19
|
qwik/src/core/tests/projection.spec.tsx > 'ssrRenderToDom': projection > should render unused projection into template:
packages/qwik/src/core/client/vnode.ts#L1546
TypeError: Cannot read properties of null (reading '1')
❯ Module.vnode_getParent qwik/src/core/client/vnode.ts:1546:15
❯ getContainerElement qwik/src/testing/vdom-diff.unit-util.ts:86:19
❯ Object.toMatchVDOM qwik/src/testing/vdom-diff.unit-util.ts:58:23
❯ qwik/src/core/tests/projection.spec.tsx:90:44
|
qwik/src/core/tests/projection.spec.tsx > 'ssrRenderToDom': projection > should ignore Slot inside inline-component:
packages/qwik/src/core/tests/projection.spec.tsx#L270
Error: span expecting 2 children but was 1
EXPECTED
<span>
"(render-content"
")"
</span>
RECEIVED
<span q:key="uO_65" :>
"(render-content)"
</span>
❯ qwik/src/core/tests/projection.spec.tsx:270:19
|
qwik/src/core/tests/projection.spec.tsx > 'ssrRenderToDom': projection > should project Slot inside inline-component:
packages/qwik/src/core/tests/projection.spec.tsx#L286
Error: span expecting 3 children but was 1
EXPECTED
<span>
"parent-content"
"(child-content"
")"
</span>
RECEIVED
<span q:key="uO_1" :>
"parent-content(child-content)"
</span>
❯ qwik/src/core/tests/projection.spec.tsx:286:19
|
All requirements are met
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
artifact-create-qwik
Expired
|
1.66 MB |
|
artifact-docs
Expired
|
11.3 MB |
|
artifact-eslint-plugin-qwik
Expired
|
29.6 KB |
|
artifact-qwik
Expired
|
16.2 MB |
|
artifact-qwik-no-optimizer
Expired
|
2.48 MB |
|
artifact-qwikreact
Expired
|
10.8 KB |
|
artifact-qwikrouter
Expired
|
561 KB |
|