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

Binary cache cleanup #19278

Open
mjhenkes opened this issue Dec 6, 2021 · 1 comment
Open

Binary cache cleanup #19278

mjhenkes opened this issue Dec 6, 2021 · 1 comment
Assignees
Labels
E2E Issue related to end-to-end testing type: feature New feature that does not currently exist

Comments

@mjhenkes
Copy link
Member

mjhenkes commented Dec 6, 2021

What would you like?

Today there is no logic implemented to clean up old or unused cypress binaries from the cache. This could use up a large amount of space on a users computer unnecessarily . With the proposed addition of downloadable browser binaries this problem could get worse. The ask is to design and implement a system to remove binaries after a certian amount of time.

Why is it needed?

To reduce hard drive burden on a users computer over time.

Cases to consider, Does a user have multiple versions of cypress across several different repositories
What does the experience look like when the binary has been removed but npm has not re-installed.

Scope: we could scope this change to just the new browser binaries, but we should at least consider it for the cypress binary as well as we're building out a design that accounts for them.

@mjhenkes mjhenkes added the type: feature New feature that does not currently exist label Dec 6, 2021
@jennifer-shehane jennifer-shehane added E2E Issue related to end-to-end testing and removed stage: work in progress labels Oct 4, 2023
@alexsch01
Copy link
Contributor

"remove binaries after a certian amount of time"

  • I think this should mean: "remove binaries after a certain amount of time after last use of the binary"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E2E Issue related to end-to-end testing type: feature New feature that does not currently exist
Projects
None yet
Development

No branches or pull requests

3 participants