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

chore: vite-dev-server refactor to enable version bumps and testing vite core perf improvements #20532

Merged
merged 26 commits into from
Mar 9, 2022

Conversation

JessicaSachs
Copy link
Contributor

Scope

This PR bumps versions for Vite and associated plugins. It's required so that we can test out if alpha Vite builds will fix the issues we're experiencing in our own repository.

This PR does not fix any run-only issues. If there is new flakiness that was introduced in Vite 2.8.4, we'll need to continue with the "build" improvements approach instead of merging this PR in directly.

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Mar 8, 2022

Thanks for taking the time to open a PR!

@cypress
Copy link

cypress bot commented Mar 8, 2022



Test summary

17787 0 217 0Flakiness 1


Run details

Project cypress
Status Passed
Commit 69989d1
Started Mar 9, 2022 9:14 PM
Ended Mar 9, 2022 9:26 PM
Duration 11:57 💡
OS Linux Debian - 10.10
Browser Multiple

View run in Cypress Dashboard ➡️


Flakiness

cypress/e2e/commands/xhr.cy.js Flakiness
1 ... > logs response

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

"@vue/compiler-core": "3.2.31",
"@vue/compiler-dom": "3.2.31",
"@vue/compiler-sfc": "3.2.31",
"@vueuse/core": "7.2.2",
"@windicss/plugin-interaction-variants": "1.0.0",
"ansi-to-html": "0.6.14",
Copy link
Contributor

Choose a reason for hiding this comment

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

A lot of new packages added here - some of them removed from the launchpad package.json, others added here (and still there). Is this just general cleanup, making sure things are required in the right place?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

A lot of these are legitimate, but there's a few that leaked in while debugging a frontend-shared-only failure

Copy link
Contributor Author

@JessicaSachs JessicaSachs Mar 9, 2022

Choose a reason for hiding this comment

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

K. Removed the few of them that were accidentally added. A lot of the additions were just missing dependencies, and Vite was somehow resolving them in other ways.

@elevatebart elevatebart self-requested a review March 9, 2022 20:53
Comment on lines +113 to +120
server: {
fs: {
// Since we're in a monorepo, we're going to serve packages from
// npm/vue/dist/* and other local places. This enables us to do that.
// https://vitejs.dev/config/#server-fs-strict
strict: false,
},
},
Copy link
Contributor

Choose a reason for hiding this comment

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

This is the only thing I don't like. We talked about it. That could probably be flagged as a security threat.

@JessicaSachs JessicaSachs merged commit ae884fb into 10.0-release Mar 9, 2022
@JessicaSachs JessicaSachs deleted the chore/vite-dev-server branch March 9, 2022 22:17
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.

3 participants