fix(cli): decrease the length of pre-release cache path#20961
fix(cli): decrease the length of pre-release cache path#20961
Conversation
|
Thanks for taking the time to open a PR!
|
Test summaryRun details
View run in Cypress Dashboard ➡️ Flakiness
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 |
||||||||||||||||||||||||||||||||||||||||||
| * Commit Timestamp: 1996-11-27Txx:xx:xx.000Z | ||
|
|
||
| Installing Cypress (version: https://cdn.cypress.io/beta/binary/0.0.0-development/darwin-x64/aBranchName-abc123/cypress.zip) | ||
| Installing Cypress (version: https://cdn.cypress.io/beta/binary/0.0.0-development/darwin-x64/aBranchName-3b7f0b5c59def1e9b5f385bd585c9b2836706c29/cypress.zip) |
There was a problem hiding this comment.
shouldn't the sha be 8 chars & the version dropped?
There was a problem hiding this comment.
This is the CDN URL, which this PR isn't changing
|
|
||
| const getVersionDir = (version = util.pkgVersion(), buildInfo = util.pkgBuildInfo()) => { | ||
| if (buildInfo && !buildInfo.stable) { | ||
| version = ['beta', version, buildInfo.commitBranch, buildInfo.commitSha].join('-') |
There was a problem hiding this comment.
I personally like the version being included so you know what you are working with 🤷🏻♀️
There was a problem hiding this comment.
NVM. your above comment clarified.
Since this is just the cache dir, beta could also prob beta since the branch name shows its a non-release ver
There was a problem hiding this comment.
I was thinking that version is sorta useless since we use semantic versioning and it can change based on your branch's base commits, but I guess it is still useful as a rough indicator of when the pre-release came out w.r.t Cypress versions. I can add it back in.
|
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
User facing changelog
Additional details
C:\Users\Administrator\AppData\Local\Cypress\Cache\beta-10.0.0-10.0-release-404447e397190ebb0f8ce0bb270ea9a806ca78c6\Cypress\resources\app\node_modules\remark-mdx\node_modules\@babel\plugin-proposal-object-rest-spread\node_modules\@babel\helper-plugin-utils\liband failing on Windows because the path is too long (261 characters)RemovedKeepingversionfrom the path altogether since it's not relevant in development.versionas a rough indicator of when the pre-release was installed.How has the user experience changed?
PR Tasks
cypress-documentation?type definitions?cypress.schema.json?