-
Notifications
You must be signed in to change notification settings - Fork 22
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
Add v8 coverage & upgrade to Vite 5 #300
Conversation
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.
👍
@wouterlucas any ideas why the test pipeline fails? It doesn't look like my PR influences it. |
Investigating this. This change is somehow producing errors during the TypeScript build of the renderer when built within the VRT runner --ci container:
|
Okay. This issue is reproducible locally if you delete all the What seems to be happening is that the new dependency is pulling in [email protected] (likely somehow via peerDependency), whereas prior to this change [email protected] would get installed. Vite 4.5.2 seemed to have introduced this bug which seems to be fixed in Vite 5, but never backported to Vite 4: Upgrading to Vite 5 may solve this issue. If you could help try that, that would be greatly appreciated and we could get this PR merged sooner. Thanks 🙏 |
Actually not sure if that will solve the |
Nice! I'd rebase this against That way we don't even have to bother with stuff like:
😄 |
@frank-weindel @wouterlucas Crucial changes:
Let me know any of these require some additional checks to look for regression. |
src/core/utils.ts
Outdated
@@ -204,9 +204,9 @@ export const getTimingFunction = ( | |||
} | |||
|
|||
if (timingLookup[str] !== undefined) { | |||
const [a, b, c, d] = timingLookup[str]; |
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.
Is the @ts-ignore for this no longer needed? If so can you delete the comments related to it?
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.
@M4tiz Excellent. Thanks! That's much appreciated. Looks like there's an error in CI with this change related to the
|
pnpm-lock.yaml
Outdated
playwright: | ||
specifier: ^1.39.0 | ||
version: 1.39.0 | ||
version: 1.44.1 |
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.
Something seems a bit off about how you're pnpm
installing/upgrading the dependencies needed for this PR. I just did it myself on a test branch and I'm not seeing any version changes to any unrelated packages like this one in the pnpm-lock.yaml
file. Are you using a mix of npm
/pnpm
by accident by any chance? The package-lock.json
file should not be being updated.
It seems like the reason you're getting the visual regression failures is that your changes are updating playwright
to this newer version which seems to change how things are rendering. I'd advise that you start the new dependency installation from scratch and avoid the unnecessary 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.
You're right. It must've entered this state while I was tinkering with the dependencies. It's fixed now :)
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.
Thanks. Looks good!
No description provided.