Skip to content

feat: add sendtransaction validation pdu #62

feat: add sendtransaction validation pdu

feat: add sendtransaction validation pdu #62

Triggered via pull request December 24, 2024 03:40
Status Failure
Total duration 19s
Artifacts

ci.yml

on: pull_request
base_branch_cov
9s
base_branch_cov
Code Quality Checks(lint, test, tsc)
0s
Code Quality Checks(lint, test, tsc)
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
error: expect(received).toStrictEqual(expected): packages/core/src/events/m.room.member-invite.spec.ts#L116
{ auth_events: [ + undefined, + undefined, + undefined - "$0AQU5dG_mtjH6qavAxYrQsDC0a_-6T3DHs1yoxf5fz4", - "$T20EETjD2OuaC1OVyg8iIbJGTNeGBsMiWoAagBOVRNE", - "$Uxo9MgF-4HQNEZdkkQDzgh9wlZ1yJbDXTMXCh6aZBi4", - "$tZRt2bwceX4sG913Ee67tJiwe-gk859kY2mCeYSncw8" ], content: { avatar_url: "mxc://matrix.org/MyC00lAvatar", displayname: "@asd6:rc1", is_direct: true, membership: "invite", }, depth: 7, hashes: { + sha256: "I5dSu0jfzgn0QSlSR6oo99DRQ35DAzo7oO5SBpwOTXs", - sha256: "669gCNgB3VnQWmH+vIg/9CwyC5wOQmGuA8+PiIhiT50", }, origin: "hs1", origin_server_ts: 1733107418773, prev_events: [ "$gdAY3-3DdjuG-uyFkDn8q5wPS4fbymH__fch9BQmOas" ], room_id: "!uTqsSSWabZzthsSCNf:hs1", sender: "@admin:hs1", signatures: { hs1: { + "ed25519:a_HDhg": "ENel2zpxscq+1n88gLM+t8rEq+UY0CTOX0hRaadTOajdP8grIlmw0KjKw9EvCU38/phj7a/puYJYxMsrxiulAw", - "ed25519:a_HDhg": "ZGtHq5OuryBhQZOhZRAxGSej9BKU+5nDhzhQ9GfuUoAvP3InUch+Jznca3sblfy0LeZcdGJ866QpbH1eAGYsBQ", }, }, state_key: "@asd6:rc1", type: "m.room.member", unsigned: { age: 4, age_ts: 1733107418773, invite_room_state: [ { content: { join_rule: "invite", }, sender: "@admin:hs1", state_key: "", type: "m.room.join_rules", }, { content: { creator: "@admin:hs1", room_version: "10", }, sender: "@admin:hs1", state_key: "", type: "m.room.create", }, { content: { displayname: "admin", membership: "join", }, sender: "@admin:hs1", state_key: "@admin:hs1", type: "m.room.member", } ], }, } - Expected - 6 + Received + 5 at /home/runner/work/homeserver/homeserver/packages/core/src/events/m.room.member-invite.spec.ts:116:17
error: expect(received).toStrictEqual(expected): packages/core/src/events/m.room.member.spec.ts#L60
{ auth_events: [ + undefined, + undefined, + undefined - "$0AQU5dG_mtjH6qavAxYrQsDC0a_-6T3DHs1yoxf5fz4" ], content: { displayname: "admin", membership: "join", }, depth: 2, hashes: { + sha256: "xqkz770GIzeWej3vov2PCRLxzQBE8AwpNzuMSoInRRk", - sha256: "7qLYbHf6z6nLGkN0DABO89wgDjaeZwq0ma7GsPbhZ8I", }, origin: "hs1", origin_server_ts: 1733107418672, prev_events: [ "$0AQU5dG_mtjH6qavAxYrQsDC0a_-6T3DHs1yoxf5fz4" ], room_id: "!uTqsSSWabZzthsSCNf:hs1", sender: "@admin:hs1", signatures: { hs1: { + "ed25519:a_HDhg": "MalCuzWHsGof727xQRekUhmQkrW6WdCP9bq89GYrZxtpgdfm8kQmwGFTv+jI+i5gYozE9RG5aC2m6PatPVSEBw", - "ed25519:a_HDhg": "y/qV5T9PeXvqgwRafZDSygtk4XRMstdt04qusZWJSu77Juxzzz4Ijyk+JsJ5NNV0/WWYMT9IhmVb7/EEBH4vDQ", }, }, state_key: "@admin:hs1", type: "m.room.member", unsigned: { age_ts: 1733107418672, }, } - Expected - 3 + Received + 5 at /home/runner/work/homeserver/homeserver/packages/core/src/events/m.room.member.spec.ts:60:17
base_branch_cov
Process completed with exit code 1.
base_branch_cov
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636