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

Core: downgrade websockets and minor fixes #4166

Merged
merged 4 commits into from
Nov 10, 2024

Conversation

black-sliver
Copy link
Member

@black-sliver black-sliver commented Nov 10, 2024

What is this fixing or adding?

  • Downgrades websockets to 13.x, because
    • some API changed in 14.x, which is incompatible with current code
    • 14.x is incompatible with py3.8, making it unsuitable for AP 0.5.x
  • Add a timeout to hosting CI to make sure it fails if MultiProcessing MultiServer doesn't stop
  • Make cmd_exit set the exit_event on error (otherwise the process wouldn't stop)

How was this tested?

CI

14.x currently doesn't work for MultiServer.
14.x is not supported with py3.8, so updating to 14.x should be scheduled for AP 0.6.0.
@black-sliver black-sliver added is: bug/fix Issues that are reporting bugs or pull requests that are fixing bugs. affects: core Issues/PRs that touch core and may need additional validation. affects: release/blocker Issues/PRs that must be addressed before next official release. labels Nov 10, 2024
@github-actions github-actions bot added the waiting-on: peer-review Issue/PR has not been reviewed by enough people yet. label Nov 10, 2024
this is 4x expected time, just to be safe.
Copy link
Contributor

@qwint qwint left a comment

Choose a reason for hiding this comment

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

was able to recreate the 'ServerConnection' object has no attribute 'open' error Black Sliver posted in the discord on websockets 14 and was properly downgraded (and did not error) on this branch

rest of the changes look reasonable but didn't explicitly test them

Copy link
Member

@Berserker66 Berserker66 left a comment

Choose a reason for hiding this comment

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

LGTM

@black-sliver black-sliver merged commit 9be996b into ArchipelagoMW:main Nov 10, 2024
21 checks passed
@black-sliver black-sliver deleted the fix/websockets branch November 10, 2024 00:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects: core Issues/PRs that touch core and may need additional validation. affects: release/blocker Issues/PRs that must be addressed before next official release. is: bug/fix Issues that are reporting bugs or pull requests that are fixing bugs. waiting-on: peer-review Issue/PR has not been reviewed by enough people yet.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants