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

Prevent infinite loop in getPushRules #2470

Closed
wants to merge 1 commit into from
Closed

Conversation

texuf
Copy link
Contributor

@texuf texuf commented Jun 23, 2022

During integration tests that start and stop the client quickly, getPushRules fails and doesn't exit cleanly.

getPushRules fails with Getting push rules failed M_MISSING_TOKEN: missing access token, but shouldAbortSync only checks for M_UNKNOWN_TOKEN

Tests: pulled down project locally and ran all tests.

Signed-off-by: Austin Ellis austin@hntlabs.com


Here's what your changelog entry will look like:

🐛 Bug Fixes

  • Prevent infinite loop in getPushRules (#2470). Contributed by @texuf.

During integration tests that start and stop the client quickly, getPushRules fails and doesn't exit cleanly. 

getPushRules fails with `Getting push rules failed M_MISSING_TOKEN: missing access token`, but shouldAbortSync only checks for `M_UNKNOWN_TOKEN`

Tests: pulled down project locally and ran all tests.
@texuf texuf requested a review from a team as a code owner June 23, 2022 23:36
@github-actions github-actions bot added the Z-Community-PR Issue is solved by a community member's PR label Jun 23, 2022
Copy link
Contributor

@andybalaam andybalaam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks sensible, but to help me understand it I'd really like to see a new test that failed before your change, and passes now.

@texuf
Copy link
Contributor Author

texuf commented Jun 30, 2022

This looks sensible, but to help me understand it I'd really like to see a new test that failed before your change, and passes now.

That is a reasonable request. I will give it a shot when I get a minute.

@texuf
Copy link
Contributor Author

texuf commented Apr 20, 2023

I don't currently have this issue. closing.

@texuf texuf closed this Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Defect Z-Community-PR Issue is solved by a community member's PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants