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

Update Actix crates to latest versions #3089

Merged
merged 3 commits into from
Apr 9, 2023

Conversation

djmitche
Copy link
Collaborator

@djmitche djmitche commented Apr 8, 2023

This avoids a vulnerability in tokio (#3085). The major version updates of both actix-web and actix-rt required some signficant changes. Chief among those, it turns out we were relying on actix-rt to run the HttpServer in a different thread from the rest of the test, so that we could talk to it from sync code in the test thread. This no longer works, so the sync code is now run in a dedicated thread with actix_rt::task::spawn_blocking.

This avoids a vulnerability in tokio (GothenburgBitFactory#3085). The major version updates
of both actix-web and actix-rt required some signficant changes. Chief
among those, it turns out we were relying on actix-rt to run the
HttpServer in a different thread from the rest of the test, so that we
could talk to it from sync code in the test thread. This no longer
works, so the sync code is now run in a dedicated thread with
`actix_rt::task::spawn_blocking`.
@djmitche
Copy link
Collaborator Author

djmitche commented Apr 8, 2023

(mac test failures are unrelated)

@djmitche djmitche requested a review from tbabej April 8, 2023 21:41
@tbabej
Copy link
Member

tbabej commented Apr 8, 2023

@djmitche The Mac OS-X failures now happening on develop?

@djmitche
Copy link
Collaborator Author

djmitche commented Apr 9, 2023

The error is

2023-04-08T20:59:43.2953730Z not ok 4 - tw-262.t: project.isnt works within parenthesis after a double leading space

which I assume is due to some flakiness? It definitely doesn't involve the sync server..

@djmitche djmitche merged commit 5f2d82d into GothenburgBitFactory:develop Apr 9, 2023
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