St 4842/investigate memory leak #4588
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
20 errors and 1 notice
linters (20.x)
src/components/friends/async-render/helpers/render.ts(39,5): error TS2322: Type 'string | (() => string)' is not assignable to type 'string | undefined'.
Type '() => string' is not assignable to type 'string'.
|
linters (20.x)
src/components/friends/async-render/helpers/render.ts(58,31): error TS2769: No overload matches this call.
Overload 1 of 2, '(element?: Element | undefined): SyncPromise<number>', gave the following error.
Argument of type '{ group: string | (() => string); }' is not assignable to parameter of type 'Element'.
Object literal may only specify known properties, and 'group' does not exist in type 'Element'.
Overload 2 of 2, '(opts: AsyncAnimationFrameOptions): SyncPromise<number>', gave the following error.
Type 'string | (() => string)' is not assignable to type 'string | undefined'.
|
linters (20.x)
Errors found: 2
|
linters (20.x)
Process completed with exit code 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:
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, 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.
|
components (20.x, 4, 4)
The job was canceled because "_20_x_3_4" failed.
|
components (20.x, 4, 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)
|