-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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 printing package folder sizes to the build script #5978
Conversation
Thanks for the contribution! Below are some guidelines Cypress uses when doing PR reviews.
PR Review ChecklistIf any of the following requirements can't be met, leave a comment in the review selecting 'Request changes', otherwise 'Approve'. User Experience
Functionality
Maintainability
Quality
Internal
|
Test summaryRun details
View run in Cypress Dashboard ➡️ 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 |
|
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.
@bahmutov the changes to parse-domain
cause building the PSL to fail:
[driver:install ] Running sanity check...
[driver:install ] Could not update list of known top-level domains for parse-domain because of "Command failed: /home/flotwig/.n/bin/node /tmp/rfff/packages/driver/node_modules/jest/bin/jest.js"
[driver:install ] Using possibly outdated prebuilt list from Sat Nov 02 2019
It's semi-important that we ship an up-to-date PSL, since Cypress needs to match the PSL behavior of the browser to avoid document.domain
errors.
Reviewed in the parse-domain
repo: peerigon/parse-domain#91
So I don't why it says "Nov 2019" in your case. It built the list yesterday when I pointed at my fork - the fact that it tries to run Jest to sanity check this is the 50MB question. Here is my branch that we are installing https://github.com/bahmutov/parse-domain/tree/dist It should have been installed in
|
Lol, that's because the I can't tell if it's broken in our CI, since we cache dependencies, the I do still get an error using the fork in the
It's a little dangerous to rely on a cached PSL stored in a git repo, since it will become stale almost immediately and nobody will check up on it - that is, until we get a bug report of the As a band-aid we could run the |
Co-Authored-By: Zach Bloomquist <github@chary.us>
not really, the official thing is "github:..." but both work.
…On Tue, Dec 17, 2019 at 4:10 PM Zach Bloomquist ***@***.***> wrote:
***@***.**** approved this pull request.
------------------------------
In packages/driver/package.json
<#5978 (comment)>:
> @@ -52,7 +54,7 @@
"moment": "2.24.0",
"morgan": "1.9.1",
"npm-install-version": "6.0.2",
- "parse-domain": "2.3.4",
+ "parse-domain": "github:bahmutov/parse-domain#fb60bd4",
never seen this before, we usually do it like this:
⬇️ Suggested change
- "parse-domain": "github:bahmutov/parse-domain#fb60bd4",
+ "parse-domain": "bahmutov/parse-domain#fb60bd4",
is there any difference?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5978?email_source=notifications&email_token=AAQ4BJVIGO3DHW7XDPRUUJDQZE533A5CNFSM4J3QSHLKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCPRAXGY#pullrequestreview-333581211>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAQ4BJSZXUNHXJKRHZW53ODQZE533ANCNFSM4J3QSHLA>
.
--
Dr. Gleb Bahmutov, PhD
Schedule video chat / phone call / meeting with me via
https://calendly.com/bahmutov
gleb.bahmutov@gmail.com @bahmutov <https://twitter.com/@bahmutov>
https://glebbahmutov.com/ https://glebbahmutov.com/blog
https://github.com/bahmutov
|
…nto print-package-sizes
for Trace why the built zip size keeps increasing #5977
zip file is back to 157 MB
also did a little bit of duplicate config code consolidation to prepare for Do not load full environment while building Test Runner #5990
during CI build on Mac and Linux prints the total folder sizes for
app/packages/*
folders. Example output