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

Request logging refactor #410

Draft
wants to merge 17 commits into
base: hs/logging-refactor
Choose a base branch
from
Draft

Conversation

Half-Shot
Copy link
Contributor

@Half-Shot Half-Shot commented Jun 6, 2022

Depends on #412 (Based on hs/logging-refactor, change branch before merge)

This PR is quite an invasive one, but since we're planning a breaking release there isn't a better time to try. The intent here is to improve several components of the library:

Taking inspiration from Synapse and the teams bridge, this improves our Request components:

  • Request now extends the Logger class, so that messages are logged with a request ID.
  • Matrix events now use the MatrixRequest class types when handled through the controller, which should hopefully improve types.

The hope is that bridges further extend the request type for remote requests too, so that remote requests also gain their own IDs.

@Half-Shot Half-Shot requested a review from a team June 6, 2022 16:55
@Half-Shot Half-Shot mentioned this pull request Jun 8, 2022
@Half-Shot Half-Shot changed the base branch from develop to hs/logging-refactor June 9, 2022 13:04
@Half-Shot Half-Shot force-pushed the hs/logging-refactor branch 2 times, most recently from d097509 to 7da88b8 Compare September 14, 2022 14:29
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.

None yet

1 participant