-
Notifications
You must be signed in to change notification settings - Fork 45
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
Persist theme - Reload everything on a disconnect #3250
Conversation
A coverage request was created for this pull request. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Is it possible that this broke the ability of the unit tests to connect to the engine? because build-test-web https://github.com/KittyCAD/modeling-app/actions/runs/10230111319/job/28304548336?pr=3250 failed and I tried a re-run. Other branches are passing just fine so think something has gone awry here I will try and take a look but you can run this test locally with |
We could do a playwright snapshot test here or otherwise make sure qawolf adds coverage |
Lee FYI I'll take a look at fixing the tests this morning. |
src/lang/std/engineConnection.ts
Outdated
if (!this.pingPongSpan.ping) | ||
this.connect(this.engineCommandManager.disableWebRTC ? true : false) |
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.
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.
Only seeing this comment now. Let's see what happens with the latest changes
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.
@lf94 replying to
#3250 (comment)
This is my fix for the failing artifact map unit tests
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.
Oh but it's broken again hmmm.
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.
Actually I think #3265 is not a separate issue, but is introduced by this change as Test network and connection issues › simulate network down and network little widget
seems to be consistently failing
@Irev-Dev what's the artifact map stuff failing in the web test? |
So failure here Basically that test tries to connect to the real-dev engine websockets, but without webRTC, I did manage to fix it once earlier on this branch, but it's seems to be broken again not sure why. |
Ok should be no problem to fix |
Ah the issue must be because I removed the await and instead added this in the artifactGraph.test
|
* kurts attempts * we're almost sane * get tests working, praise be --------- Co-authored-by: 49lf <ircsurfer33@gmail.com>
So much effort to make the theme persist haha. |
This reverts commit 3f082c8.
Closes #3106 (@franknoirot didn't set you as a reviewer on this one since I know you're traveling atm)