St 4842/investigate memory leak #4589
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
test.yml
on: pull_request
Matrix: build
Matrix: linters
Matrix: components
Matrix: modules
Annotations
26 errors and 1 notice
linters (20.x):
src/components/pages/p-v4-components-demo/p-v4-components-demo.ts#L25
'items' is never reassigned. Use 'const' instead
|
linters (20.x):
src/components/pages/p-v4-components-demo/p-v4-components-demo.ts#L67
More than 1 blank line not allowed
|
linters (20.x):
src/components/pages/p-v4-components-demo/p-v4-components-demo.ts#L71
Unnecessarily quoted property 'label' found
|
linters (20.x):
src/components/pages/p-v4-components-demo/p-v4-components-demo.ts#L71
Strings must use singlequote
|
linters (20.x):
src/components/pages/p-v4-components-demo/p-v4-components-demo.ts#L71
Strings must use singlequote
|
linters (20.x):
src/components/pages/p-v4-components-demo/p-v4-components-demo.ts#L72
Unnecessarily quoted property 'folded' found
|
linters (20.x):
src/components/pages/p-v4-components-demo/p-v4-components-demo.ts#L72
Strings must use singlequote
|
linters (20.x):
src/components/pages/p-v4-components-demo/p-v4-components-demo.ts#L73
Unnecessarily quoted property 'children' found
|
linters (20.x):
src/components/pages/p-v4-components-demo/p-v4-components-demo.ts#L73
Strings must use singlequote
|
linters (20.x):
src/components/pages/p-v4-components-demo/p-v4-components-demo.ts#L75
Unnecessarily quoted property 'label' found
|
[unit] › components/friends/async-render/test/unit/main.ts:174:6 › friends/async-render › should re-render async content when the parent component is updated:
eval at evaluate (:195:30)#L3
1) [unit] › components/friends/async-render/test/unit/main.ts:174:6 › friends/async-render › should re-render async content when the parent component is updated
Error: jsHandle.evaluate: TypeError: Cannot read properties of undefined (reading 'hook')
at eval (eval at evaluate (:195:30), <anonymous>:3:43)
at UtilityScript.evaluate (<anonymous>:197:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/Client/Client/eval at evaluate (:195:30), <anonymous>:3:43)
at UtilityScript.evaluate (/home/runner/work/Client/Client/<anonymous>:197:17)
at UtilityScript.<anonymous> (/home/runner/work/Client/Client/<anonymous>:1:44)
at eval (/home/runner/work/Client/Client/eval at evaluate (:195:30), <anonymous>:3:43)
at UtilityScript.evaluate (/home/runner/work/Client/Client/<anonymous>:197:17)
at UtilityScript.<anonymous> (/home/runner/work/Client/Client/<anonymous>:1:44)
at /home/runner/work/Client/Client/src/components/friends/async-render/test/unit/main.ts:181:30
|
[unit] › components/friends/async-render/test/unit/main.ts:174:6 › friends/async-render › should re-render async content when the parent component is updated:
eval at evaluate (:195:30)#L3
1) [unit] › components/friends/async-render/test/unit/main.ts:174:6 › friends/async-render › should re-render async content when the parent component is updated
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: jsHandle.evaluate: TypeError: Cannot read properties of undefined (reading 'hook')
at eval (eval at evaluate (:195:30), <anonymous>:3:43)
at UtilityScript.evaluate (<anonymous>:197:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/Client/Client/eval at evaluate (:195:30), <anonymous>:3:43)
at UtilityScript.evaluate (/home/runner/work/Client/Client/<anonymous>:197:17)
at UtilityScript.<anonymous> (/home/runner/work/Client/Client/<anonymous>:1:44)
at eval (/home/runner/work/Client/Client/eval at evaluate (:195:30), <anonymous>:3:43)
at UtilityScript.evaluate (/home/runner/work/Client/Client/<anonymous>:197:17)
at UtilityScript.<anonymous> (/home/runner/work/Client/Client/<anonymous>:1:44)
at /home/runner/work/Client/Client/src/components/friends/async-render/test/unit/main.ts:181:30
|
[unit] › components/friends/async-render/test/unit/main.ts:174:6 › friends/async-render › should re-render async content when the parent component is updated:
eval at evaluate (:195:30)#L3
1) [unit] › components/friends/async-render/test/unit/main.ts:174:6 › friends/async-render › should re-render async content when the parent component is updated
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: jsHandle.evaluate: TypeError: Cannot read properties of undefined (reading 'hook')
at eval (eval at evaluate (:195:30), <anonymous>:3:43)
at UtilityScript.evaluate (<anonymous>:197:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/Client/Client/eval at evaluate (:195:30), <anonymous>:3:43)
at UtilityScript.evaluate (/home/runner/work/Client/Client/<anonymous>:197:17)
at UtilityScript.<anonymous> (/home/runner/work/Client/Client/<anonymous>:1:44)
at eval (/home/runner/work/Client/Client/eval at evaluate (:195:30), <anonymous>:3:43)
at UtilityScript.evaluate (/home/runner/work/Client/Client/<anonymous>:197:17)
at UtilityScript.<anonymous> (/home/runner/work/Client/Client/<anonymous>:1:44)
at /home/runner/work/Client/Client/src/components/friends/async-render/test/unit/main.ts:181:30
|
[unit] › components/friends/state/test/unit/storage.ts:21:6 › friends/state using a storage › should reset state of the component between subsequent renders when `globalName` is not provided:
src/components/friends/state/test/unit/storage.ts#L27
2) [unit] › components/friends/state/test/unit/storage.ts:21:6 › friends/state using a storage › should reset state of the component between subsequent renders when `globalName` is not provided
Error: expect(received).resolves.toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Object {
"mods.foo": undefined,
- "regularField": undefined,
+ "regularField": 0,
"systemField": "foo",
}
25 | let target = await renderDummy(page);
26 |
> 27 | await test.expect(getValues(target)).resolves.toEqual({
| ^
28 | systemField: 'foo',
29 | regularField: undefined,
30 | 'mods.foo': undefined
at /home/runner/work/Client/Client/src/components/friends/state/test/unit/storage.ts:27:49
|
[unit] › components/friends/state/test/unit/storage.ts:21:6 › friends/state using a storage › should reset state of the component between subsequent renders when `globalName` is not provided:
src/components/friends/state/test/unit/storage.ts#L27
2) [unit] › components/friends/state/test/unit/storage.ts:21:6 › friends/state using a storage › should reset state of the component between subsequent renders when `globalName` is not provided
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).resolves.toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Object {
"mods.foo": undefined,
- "regularField": undefined,
+ "regularField": 0,
"systemField": "foo",
}
25 | let target = await renderDummy(page);
26 |
> 27 | await test.expect(getValues(target)).resolves.toEqual({
| ^
28 | systemField: 'foo',
29 | regularField: undefined,
30 | 'mods.foo': undefined
at /home/runner/work/Client/Client/src/components/friends/state/test/unit/storage.ts:27:49
|
[unit] › components/friends/state/test/unit/storage.ts:21:6 › friends/state using a storage › should reset state of the component between subsequent renders when `globalName` is not provided:
src/components/friends/state/test/unit/storage.ts#L27
2) [unit] › components/friends/state/test/unit/storage.ts:21:6 › friends/state using a storage › should reset state of the component between subsequent renders when `globalName` is not provided
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).resolves.toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Object {
"mods.foo": undefined,
- "regularField": undefined,
+ "regularField": 0,
"systemField": "foo",
}
25 | let target = await renderDummy(page);
26 |
> 27 | await test.expect(getValues(target)).resolves.toEqual({
| ^
28 | systemField: 'foo',
29 | regularField: undefined,
30 | 'mods.foo': undefined
at /home/runner/work/Client/Client/src/components/friends/state/test/unit/storage.ts:27:49
|
[unit] › components/friends/state/test/unit/storage.ts:46:6 › friends/state using a storage › should preserve state of the component between subsequent renders when `globalName` is provided:
src/components/friends/state/test/unit/storage.ts#L74
3) [unit] › components/friends/state/test/unit/storage.ts:46:6 › friends/state using a storage › should preserve state of the component between subsequent renders when `globalName` is provided
Error: expect(received).resolves.toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Object {
- "mods.foo": undefined,
+ "mods.foo": "bla",
"regularField": 0,
"systemField": "foo",
}
72 | await target.evaluate((ctx) => ctx.unsafe.state.resetStorage());
73 |
> 74 | await test.expect(getValues(target)).resolves.toEqual({
| ^
75 | systemField: 'foo',
76 | regularField: 0,
77 | 'mods.foo': undefined
at /home/runner/work/Client/Client/src/components/friends/state/test/unit/storage.ts:74:49
|
[unit] › components/friends/state/test/unit/storage.ts:46:6 › friends/state using a storage › should preserve state of the component between subsequent renders when `globalName` is provided:
src/components/friends/state/test/unit/storage.ts#L74
3) [unit] › components/friends/state/test/unit/storage.ts:46:6 › friends/state using a storage › should preserve state of the component between subsequent renders when `globalName` is provided
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).resolves.toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Object {
- "mods.foo": undefined,
+ "mods.foo": "bla",
"regularField": 0,
"systemField": "foo",
}
72 | await target.evaluate((ctx) => ctx.unsafe.state.resetStorage());
73 |
> 74 | await test.expect(getValues(target)).resolves.toEqual({
| ^
75 | systemField: 'foo',
76 | regularField: 0,
77 | 'mods.foo': undefined
at /home/runner/work/Client/Client/src/components/friends/state/test/unit/storage.ts:74:49
|
[unit] › components/friends/state/test/unit/storage.ts:46:6 › friends/state using a storage › should preserve state of the component between subsequent renders when `globalName` is provided:
src/components/friends/state/test/unit/storage.ts#L74
3) [unit] › components/friends/state/test/unit/storage.ts:46:6 › friends/state using a storage › should preserve state of the component between subsequent renders when `globalName` is provided
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).resolves.toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Object {
- "mods.foo": undefined,
+ "mods.foo": "bla",
"regularField": 0,
"systemField": "foo",
}
72 | await target.evaluate((ctx) => ctx.unsafe.state.resetStorage());
73 |
> 74 | await test.expect(getValues(target)).resolves.toEqual({
| ^
75 | systemField: 'foo',
76 | regularField: 0,
77 | 'mods.foo': undefined
at /home/runner/work/Client/Client/src/components/friends/state/test/unit/storage.ts:74:49
|
[unit] › components/super/i-block/event/test/unit/api.ts:81:6 › <i-block> event API › should remove all event listeners when `off` is invoked without a handler:
http:/localhost:8000/dist/client/lib/eventemitter2.js#L1
4) [unit] › components/super/i-block/event/test/unit/api.ts:81:6 › <i-block> event API › should remove all event listeners when `off` is invoked without a handler
Error: jsHandle.evaluate: Error: removeListener only takes instances of Function
at EventEmitter.off (http://localhost:8000/dist/client/lib/eventemitter2.js:1:22552)
at EventEmitter.<anonymous> (http://localhost:8000/dist/client/p-v4-components-demo.js:6497:75)
at http://localhost:8000/dist/client/p-v4-components-demo.js:64269:44
at Array.forEach (<anonymous>)
at Object.wrapper (http://localhost:8000/dist/client/p-v4-components-demo.js:64264:37)
at Object.off (http://localhost:8000/dist/client/p-v4-components-demo.js:51129:30)
at Object.<anonymous> (http://localhost:8000/dist/client/p-v4-components-demo.js:6497:75)
at Object.off (http://localhost:8000/dist/client/p-v4-components-demo.js:50865:37)
at eval (eval at evaluate (:195:30), <anonymous>:9:11)
at UtilityScript.evaluate (<anonymous>:197:17)
at EventEmitter.off (/home/runner/work/Client/Client/http:/localhost:8000/dist/client/lib/eventemitter2.js:1:22552)
at EventEmitter.<anonymous> (/home/runner/work/Client/Client/http:/localhost:8000/dist/client/p-v4-components-demo.js:6497:75)
at /home/runner/work/Client/Client/http:/localhost:8000/dist/client/p-v4-components-demo.js:64269:44
at Object.wrapper (/home/runner/work/Client/Client/http:/localhost:8000/dist/client/p-v4-components-demo.js:64264:37)
at Object.off (/home/runner/work/Client/Client/http:/localhost:8000/dist/client/p-v4-components-demo.js:51129:30)
at Object.<anonymous> (/home/runner/work/Client/Client/http:/localhost:8000/dist/client/p-v4-components-demo.js:6497:75)
at Object.off (/home/runner/work/Client/Client/http:/localhost:8000/dist/client/p-v4-components-demo.js:50865:37)
at eval (/home/runner/work/Client/Client/eval at evaluate (:195:30), <anonymous>:9:11)
at UtilityScript.evaluate (/home/runner/work/Client/Client/<anonymous>:197:17)
at EventEmitter.off (/home/runner/work/Client/Client/http:/localhost:8000/dist/client/lib/eventemitter2.js:1:22552)
at EventEmitter.<anonymous> (/home/runner/work/Client/Client/http:/localhost:8000/dist/client/p-v4-components-demo.js:6497:75)
at /home/runner/work/Client/Client/http:/localhost:8000/dist/client/p-v4-components-demo.js:64269:44
at Object.wrapper (/home/runner/work/Client/Client/http:/localhost:8000/dist/client/p-v4-components-demo.js:64264:37)
at Object.off (/home/runner/work/Client/Client/http:/localhost:8000/dist/client/p-v4-components-demo.js:51129:30)
at Object.<anonymous> (/home/runner/work/Client/Client/http:/localhost:8000/dist/client/p-v4-components-demo.js:6497:75)
at Object.off (/home/runner/work/Client/Client/http:/localhost:8000/dist/client/p-v4-components-demo.js:50865:37)
at eval (/home/runner/work/Client/Client/eval at evaluate (:195:30), <anonymous>:9:11)
at UtilityScript.evaluate (/home/runner/work/Client/Client/<anonymous>:197:17)
at /home/runner/work/Client/Client/src/components/super/i-block/event/test/unit/api.ts:84:29
|
components (20.x, 4, 4)
The job was canceled because "_20_x_3_4" failed.
|
components (20.x, 4, 4)
The operation was canceled.
|
components (20.x, 1, 4)
The job was canceled because "_20_x_3_4" failed.
|
components (20.x, 1, 4)
The operation was canceled.
|
components (20.x, 2, 4)
The job was canceled because "_20_x_3_4" failed.
|
components (20.x, 2, 4)
The operation was canceled.
|
🎭 Playwright Run Summary
4 failed
[unit] › components/friends/async-render/test/unit/main.ts:174:6 › friends/async-render › should re-render async content when the parent component is updated
[unit] › components/friends/state/test/unit/storage.ts:21:6 › friends/state using a storage › should reset state of the component between subsequent renders when `globalName` is not provided
[unit] › components/friends/state/test/unit/storage.ts:46:6 › friends/state using a storage › should preserve state of the component between subsequent renders when `globalName` is provided
[unit] › components/super/i-block/event/test/unit/api.ts:81:6 › <i-block> event API › should remove all event listeners when `off` is invoked without a handler
279 passed (7.4m)
|