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

Gremlins should use a separate temporary directory as Go build cache #177

Open
k3rn31 opened this issue Sep 30, 2022 · 1 comment
Open
Assignees
Labels
c/enhancement Category: An issue or PR related to sn enhancement p/hight Priority: Hight

Comments

@k3rn31
Copy link
Member

k3rn31 commented Sep 30, 2022

As suggeste by @hknutzen in #178, Gremlins should use a separate temporary directory as Go build cache. This should be removed after each run of gremlins.
This should be done to avoid an unbound growth of the default cache directory.

https://pkg.go.dev/cmd/go#hdr-Build_and_test_caching

The go command caches build outputs for reuse in future builds. The default location for cache data is a subdirectory named go-build in the standard user cache directory for the current operating system. Setting the GOCACHE environment variable overrides this default, and running 'go env GOCACHE' prints the current cache directory.

@k3rn31 k3rn31 added the c/enhancement Category: An issue or PR related to sn enhancement label Sep 30, 2022
@k3rn31 k3rn31 added this to the v0.5.0 milestone Sep 30, 2022
@k3rn31 k3rn31 self-assigned this Sep 30, 2022
@k3rn31 k3rn31 added the p/hight Priority: Hight label Sep 30, 2022
@k3rn31 k3rn31 removed their assignment Sep 30, 2022
@k3rn31
Copy link
Member Author

k3rn31 commented Oct 24, 2022

@giorgiaroccetti whould you like to start looking into this?

@k3rn31 k3rn31 removed this from the v0.5.0 milestone Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c/enhancement Category: An issue or PR related to sn enhancement p/hight Priority: Hight
Projects
None yet
Development

No branches or pull requests

2 participants