Skip to content
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

Extend logging for outgoing pushes #334

Merged
merged 1 commit into from
Apr 21, 2023
Merged

Extend logging for outgoing pushes #334

merged 1 commit into from
Apr 21, 2023

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Apr 21, 2023

A bit more logging is useful for being able to diagnose issues. Log the room id and event id for each push, where we have them.

@richvdh richvdh requested a review from a team as a code owner April 21, 2023 09:06
@DMRobertson
Copy link
Contributor

(No idea why flake8 has fallen over. Presumably we don't pin something that we ought to.)

@richvdh
Copy link
Member Author

richvdh commented Apr 21, 2023

(No idea why flake8 has fallen over. Presumably we don't pin something that we ought to.)

well, I'm not in a position to investigate myself, and it's blocking the tests. Are you happy for me to mash the merge button without running the tests, or?

@DMRobertson
Copy link
Contributor

(No idea why flake8 has fallen over. Presumably we don't pin something that we ought to.)

well, I'm not in a position to investigate myself, and it's blocking the tests. Are you happy for me to mash the merge button without running the tests, or?

Mash it aggressively; I will to unsadden Sygnal today.

@richvdh richvdh merged commit 30b90b4 into main Apr 21, 2023
@richvdh richvdh deleted the rav/more_logging branch April 21, 2023 12:41
DMRobertson pushed a commit that referenced this pull request Apr 21, 2023
Presumably this fixes complaints from #333 and #334
DMRobertson pushed a commit that referenced this pull request Apr 21, 2023
* Move from setup.py to pyproject.toml

Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>

* Ensure unit tests run

IDK we sometimes have to invoke trial explicitly like this

* Use ruff instead of flake8

And remove py2-style type annotations, which ruff doesn't recognise

Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>

* Bump GHA actions

part of matrix-org/synapse#14203

* Run black

Presumably this fixes complaints from #333 and #334

* Move isort config to pyproject

* Also lint stubs

* Bump GHA actions

part of matrix-org/synapse#14203

* Fix an unintended rename in #333

Needed for unit tests to be happy

* Changelog

---------

Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants