Skip to content

Conversation

@Bibo-Joshi
Copy link
Member

See #4125 for discussion

Since the tests for these things usually don't run well on Windows, I haven't run the unit tests yet - let's see.
Adding new unit tests will also likely be chellanging. If the test coverage doesn't drop, I might be content with leaving as is 😬

@Bibo-Joshi Bibo-Joshi added the 🛠 refactor change type: refactor label Feb 22, 2024
@Bibo-Joshi
Copy link
Member Author

All right, tests seem to be stuck. will have to debug on linux

@Bibo-Joshi Bibo-Joshi marked this pull request as ready for review February 24, 2024 14:15
@Bibo-Joshi
Copy link
Member Author

Test coverage seems to be fine and as expected adjusting the existing tests was already rather annoying, so tbh I'm not eager to try and add another unit test here.
I manually ran the customwebhook as well, which still works fine.

@Bibo-Joshi Bibo-Joshi requested a review from harshil21 February 24, 2024 14:19
Copy link
Member

@harshil21 harshil21 left a comment

Choose a reason for hiding this comment

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

code looks good. Didn't have a very close look at the tests.. they are kind of a black box because of so many Event's. I assume you ran an example bot on both Windows and linux and checked if Ctrl+C works well?

@Bibo-Joshi
Copy link
Member Author

Didn't have a very close look at the tests.. they are kind of a black box because of so many Event's.

They are certainly not very pretty :/

I assume you ran an example bot on both Windows and linux and checked if Ctrl+C works well?

Yes, I ran echobot & the example from #4125.

@Bibo-Joshi Bibo-Joshi merged commit 20e0f87 into master Mar 3, 2024
@Bibo-Joshi Bibo-Joshi deleted the refactor-updater-network-retry-stop branch March 3, 2024 18:22
@github-actions github-actions bot locked and limited conversation to collaborators Mar 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

🛠 refactor change type: refactor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants