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
Breaking: Spawn webserver in separate process #1758
Conversation
BTW, I passed all the tests on Windows for the first time in a very long time 😊 |
@sarvaje I've done your feedback |
@alrra, did you change the script so major version bumps of |
@molant why are you ignoring |
Windows build keep failing on Windows and I'm testing things to make it work. I was expecting them to be more reliable by spawning less chrome instances :( |
But it is just for testing, or is it going to be permanent? |
🤷♂️, I'm doing tests for now |
6373ae3
to
de3127d
Compare
Done. |
b858d27
to
ff9f33f
Compare
I think this is ready for merge. I've done a few changes since the last review so it will be cool if you could review it again:
Also this PR should be rebased instead of squashed. I can do it later today if I get enough 👍 |
@antross can you please take another look? 🙏 🥺 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me with the updates assuming tests pass.
w4C7/uFcTns/5rYjv+vp+EGv5cupxJjXpd1O/buT/Tt/Ur5maySbu4vDYVgmPuXU | ||
7avEZJTeYgih | ||
-----END CERTIFICATE-----` | ||
private static readonly _key: string = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason to have these thinks hardcoded and not in a files?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perf, that way we avoid reading from disk and it's not like we are going to change them.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok!
Tests pass! mac is failing because of #1772 which happens randomly but that's unrelated to this PR. |
8345922
to
fc6136b
Compare
Pull request checklist
Make sure you:
For non-trivial changes, please make sure you also:
Short description of the change(s)
This currently spawns a new server per test. I was thinking about doing something smart and have just one per test file but ava spawns every test in parallel so I'm not sure that would change anything.
Also this PR is missing:
create-hint
packageBut it will be good if you can start taking a look into it.
Fix #1694