Skip to content
This repository was archived by the owner on Nov 25, 2024. It is now read-only.

Conversation

kegsay
Copy link
Member

@kegsay kegsay commented May 4, 2023

They are fundamentally different concepts, so should be represented as such. Proto events are exchanged in /make_xxx calls over federation, and made as "fledgling" events in /createRoom and general event sending. Building events is a reasonably complex VERSION SPECIFIC process which needs amongst other things, auth event providers, prev events, signing keys, etc.

Requires matrix-org/gomatrixserverlib#379

They are fundamentally different concepts, so should be
represented as such. Proto events are exchanged in /make_xxx calls
over federation, and made as "fledgling" events in /createRoom
and general event sending. *Building* events is a reasonably
complex VERSION SPECIFIC process which needs amongst other things,
auth event providers, prev events, signing keys, etc.
@kegsay kegsay added the T-Task Refactoring, removal, replacement, enabling or disabling functionality, other engineering tasks. label May 4, 2023
@kegsay kegsay requested a review from a team as a code owner May 4, 2023 09:04
@codecov
Copy link

codecov bot commented May 4, 2023

Codecov Report

Patch coverage: 30.00% and project coverage change: -0.07 ⚠️

Comparison is base (6284790) 67.05% compared to head (c330c9e) 66.98%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3075      +/-   ##
==========================================
- Coverage   67.05%   66.98%   -0.07%     
==========================================
  Files         497      497              
  Lines       53140    53167      +27     
==========================================
- Hits        35631    35614      -17     
- Misses      13897    13942      +45     
+ Partials     3612     3611       -1     
Flag Coverage Δ
unittests 50.09% <30.00%> (-0.07%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
clientapi/routing/profile.go 53.55% <0.00%> (-0.84%) ⬇️
clientapi/routing/redaction.go 52.08% <0.00%> (-3.13%) ⬇️
clientapi/routing/sendevent.go 72.19% <0.00%> (-1.35%) ⬇️
clientapi/threepid/invites.go 6.56% <0.00%> (ø)
federationapi/internal/perform.go 41.24% <0.00%> (-0.67%) ⬇️
federationapi/routing/join.go 53.52% <0.00%> (-0.79%) ⬇️
federationapi/routing/leave.go 42.44% <0.00%> (-1.64%) ⬇️
federationapi/routing/threepid.go 0.00% <0.00%> (ø)
roomserver/internal/alias.go 51.06% <0.00%> (-2.13%) ⬇️
clientapi/routing/createroom.go 62.15% <28.57%> (-1.38%) ⬇️
... and 8 more

... and 14 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@kegsay kegsay merged commit 2b34f88 into main May 4, 2023
@kegsay kegsay deleted the kegan/event-builder branch May 4, 2023 10:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T-Task Refactoring, removal, replacement, enabling or disabling functionality, other engineering tasks.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants