perf(serdes): vnode tree shaking #16673
ci.yml
on: pull_request
Setup
7s
Lint Package
58s
Matrix: build-bindings
Matrix: E2E Tests
Matrix: E2E CLI Tests
All requirements are met
0s
Trigger Qwik City E2E
0s
Annotations
16 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 render boolean and number attributes:
packages/qwik/src/core/tests/attributes.spec.tsx#L47
Error: expecting 2 children but was 1
EXPECTED
<Fragment>
<button>
</button>
<input>
</input>
</Fragment>
RECEIVED
<Component[0] q:key="Lv_1">
<Fragment[0] q:key="Lv_0">
<button : id="req" on:click="mock-chunk#it_AttrComp_component_Fragment_button_onClick_4laUhLI2ZcM[0]">
</button>
<input : id="input" aria-hidden="true" aria-required="false" draggable="false" spellcheck="false" tabindex="-1">
</input>
</Fragment>
</Component>
❯ qwik/src/core/tests/attributes.spec.tsx:47:19
|
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 with the same key and different props:
packages/qwik/src/core/tests/component.spec.tsx#L703
Error: div expecting 4 children but was 3
EXPECTED
<div>
<button>
"1"
</button>
<button>
"2"
</button>
<div>
"Child "
"1"
", active: "
<Fragment>
"false"
</Fragment>
</div>
<div>
"Child "
"2"
", active: "
<Fragment>
"true"
</Fragment>
</div>
</div>
RECEIVED
<div q:key="Lc_106" q:vnodeData="2{{1@1|q:type|C}{1@2|q:type|C}|q:type|F@Lc_105}" :>
<button : id="button-1" on:click="mock-chunk#it_Cmp_component_div_button_onClick_er7zsaAx6eM[0]">
"1"
</button>
<button : id="button-2" on:click="mock-chunk#it_Cmp_component_div_button_onClick_1_2lP6xHPUno0[0]">
"2"
</button>
<Fragment[2] q:key="Lc_105">
<Component[0] q:key="1">
<div q:key="Lc_104" q:vnodeData="GBK{E=8|q:subs|10|q:type|S}" :>
"Child "
"1"
", active: "
<Signal[3] q:id="8" q:subs="10">
"false"
</Signal>
</div>
</Component>
<Component[1] q:key="2">
<div q:key="Lc_104" q:vnodeData="GBK{F=7|q:subs|9|q:type|S}" :>
"Child "
"2"
", active: "
<Signal[3] q:id="7" q:subs="9">
"true"
</Signal>
</div>
</Component>
</Fragment>
</div>
❯ qwik/src/core/tests/component.spec.tsx:703:19
|
qwik/src/core/tests/component.spec.tsx > 'ssrRenderToDom': component > should destructure arguments:
packages/qwik/src/core/tests/component.spec.tsx#L945
Error: expecting 2 children but was 1
EXPECTED
<Fragment>
<button>
"Increment"
</button>
<div>
<span>
"Hello "
<Fragment>
"0"
</Fragment>
</span>
<div>
"1"
</div>
</div>
</Fragment>
RECEIVED
<Component[0] q:key="Lc_152">
<Fragment[0] q:key="Lc_151">
<button : id="increment" on:click="mock-chunk#it_MyComp_component_Fragment_button_onClick_ra0bkypBvL0[0]">
"Increment"
</button>
<Component[1] q:key="Lc_150">
<div q:key="Lc_149" : id="props-destructuring">
<span aria-hidden="true" q:vnodeData="FB{B=2|q:subs|3|q:type|S}" :>
"Hello"
" "
<Signal[2] q:id="2" q:subs="3">
"0"
</Signal>
</span>
<div : class="renders">
"1"
</div>
</div>
</Component>
</Fragment>
</Component>
❯ qwik/src/core/tests/component.spec.tsx:945:19
|
qwik/src/core/tests/component.spec.tsx > 'ssrRenderToDom': component > should not rerender elements inside dom element and fragment with different namespace:
packages/qwik/src/core/tests/component.spec.tsx#L1444
Error: Fragment > Fragment > div expecting 2 children but was 1
EXPECTED
<div>
<input>
</input>
<svg>
</svg>
</div>
RECEIVED
<div q:vnodeData="{2|q:type|F@Lc_233}" :>
<Fragment[0] q:key="Lc_233">
<input : id="input1" on:input="mock-chunk#it_AttributesChild_component_Fragment_div_Fragment_input_onInput_5L5akMnDtqw[1]">
</input>
<svg :>
</svg>
</Fragment>
</div>
❯ qwik/src/core/tests/component.spec.tsx:1444: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/component.spec.tsx > 'ssrRenderToDom': component > regression > #5647:
packages/qwik/src/core/tests/component.spec.tsx#L1724
Error: expecting 2 children but was 1
EXPECTED
<Fragment>
<div>
<Fragment>
<span>
"Hi, this doesn't work..."
</span>
</Fragment>
<p>
"isShow value: "
<Fragment>
"true"
</Fragment>
</p>
<button>
"Toggle"
</button>
</div>
<div>
<Fragment>
<Fragment>
<div>
"Nested"
</div>
</Fragment>
</Fragment>
<p>
"isShow value: "
<Fragment>
"true"
</Fragment>
</p>
<button>
"Toggle"
</button>
</div>
</Fragment>
RECEIVED
<Component[0] q:key="Lc_263">
<Fragment[0] q:key="Lc_262">
<Component[0] q:key="Lc_259">
<div q:key="Lc_258" q:vnodeData="{1=14|q:subs|19|q:type|S}2" :>
<Signal[0] q:id="14" q:subs="19">
<span :>
"Hi, this doesn't work..."
</span>
</Signal>
<p q:vnodeData="O{E=13|q:subs|18|q:type|S}" :>
"isShow value: "
<Signal[1] q:id="13" q:subs="18">
"true"
</Signal>
</p>
<button : id="first" on:click="mock-chunk#describe_it_Child1_component_div_button_onClick_1qnK82HMd0A[0]">
"Toggle"
</button>
</div>
</Component>
<Component[1] q:key="Lc_261">
<div q:key="Lc_258" q:vnodeData="{{1@Lc_260>6<16|q:type|C}=12|q:subs|17|q:type|S}2" :>
<Signal[0] q:id="12" q:subs="17">
<Component[0] q:key="Lc_260" q:props="6" q:renderFn="16">
<div q:key="Lc_257" :>
"Nested"
</div>
</Component>
</Signal>
<p q:vnodeData="O{E=10|q:subs|15|q:type|S}" :>
"isShow value: "
<Signal[1] q:id="10" q:subs="15">
"true"
</Signal>
</p>
<button : id="second" on:click="mock-chunk#describe_it_Child1_component_div_button_onClick_1qnK82HMd0A[1]">
"Toggle"
</button>
</div>
</Component>
</Fragment>
</Component>
❯ qwik/src/core/tests/component.spec.tsx:1724:21
|
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#L104
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:104: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#L189
Error: expecting 3 children but was 1
EXPECTED
<Fragment>
<button>
"Increment ID"
</button>
<div>
"Id: "
<Fragment>
"0"
</Fragment>
</div>
"1"
</Fragment>
RECEIVED
<Component[0] q:key="k5_40">
<Fragment[0] q:key="k5_39">
<button : on:click="mock-chunk#it_Cmp_component_Fragment_button_onClick_yLEgyvNJveU[0]">
"Increment ID"
</button>
<Component[1] q:key="k5_38">
<Fragment[0] q:key="k5_37">
<InlineComponent[0] q:key="k5_36">
<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>
</InlineComponent>
"1"
</Fragment>
</Component>
</Fragment>
</Component>
❯ qwik/src/core/tests/inline-component.spec.tsx:189:19
|
E2E Tests (ubuntu-latest, chromium)
Process completed with exit code 1.
|
E2E Tests (windows-latest, chromium)
The job was canceled because "ubuntu-latest_chromium" failed.
|
E2E Tests (windows-latest, chromium)
The operation was canceled.
|
E2E Tests (macos-latest, webkit)
The job was canceled because "ubuntu-latest_chromium" failed.
|
E2E Tests (macos-latest, webkit)
The operation was canceled.
|
All requirements are met
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
artifact-create-qwik
|
1.66 MB |
|
artifact-docs
|
11.3 MB |
|
artifact-eslint-plugin-qwik
|
29.6 KB |
|
artifact-qwik
|
16.2 MB |
|
artifact-qwik-no-optimizer
|
2.47 MB |
|
artifact-qwikreact
|
10.8 KB |
|
artifact-qwikrouter
|
561 KB |
|