-
Notifications
You must be signed in to change notification settings - Fork 323
Stop sending or processing the origin
field in PDUs
#18418
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
0fd9fe7
to
2106d70
Compare
@@ -45,6 +45,8 @@ def make_graph(pdus: List[dict], filename_prefix: str) -> None: | |||
colors = {"red", "green", "blue", "yellow", "purple"} | |||
|
|||
for pdu in pdus: | |||
# TODO: The "origin" field have since been removed from events generated | |||
# by Synapse. | |||
origins.add(pdu.get("origin")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the intention to actually eventually remove this or why is it retained? Is there a functional reason why it's still being retained?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The contrib/graph/graph.py
is not a tool maintained by the core development team (as is anything else under contrib/
), hence me not changing it.
But we'd accept a PR that updates the tool to remove that bit.
Bystander Q to understand intended scope and direction: Will the references to |
That "origin" is referring to the Also note the |
Converting to draft while CI is still failing. |
Thanks for clarifying! |
To align with this change in Matrix v1.12. Addresses part of #18118.
Pull Request Checklist
EventStore
toEventWorkerStore
.".code blocks
.(run the linters)