You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TL;DR: pre-commit install environments for it's hooks in a cache and can reuse
them (if versions matches etc), which is a big win for performance. Link to
pre-commit docs
Describe the solution you'd like
Adding a persistent cache shared between all the runs of the pre-commit
pipeline + a periodic (infrequent, like monthly cache cleanup (pre-commit gc)
Additional context
Quick local measurement for a idea of the order of magnitude for the space needed:
$ du -h -d 0 ~/.cache/pre-commit
1.3G /home/max/.cache/pre-commit
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Context: thoth-station/prescriptions-refresh-job#52 (comment)
(and the preceding discussion).
TL;DR: pre-commit install environments for it's hooks in a cache and can reuse
them (if versions matches etc), which is a big win for performance. Link to
pre-commit docs
Describe the solution you'd like
Adding a persistent cache shared between all the runs of the pre-commit
pipeline + a periodic (infrequent, like monthly cache cleanup (
pre-commit gc
)Additional context
Quick local measurement for a idea of the order of magnitude for the space needed:
$ du -h -d 0 ~/.cache/pre-commit 1.3G /home/max/.cache/pre-commit
The text was updated successfully, but these errors were encountered: