feat: cache compressed archives for package uploads#2929
Open
mattevans wants to merge 1 commit intokurtosis-tech:mainfrom
Open
feat: cache compressed archives for package uploads#2929mattevans wants to merge 1 commit intokurtosis-tech:mainfrom
mattevans wants to merge 1 commit intokurtosis-tech:mainfrom
Conversation
Each kurtosis run the Starlark package is tarball'd. This caches the compressed archive by a content hash, so repeated runs with unchanged packages skip compression entirely. Includes ComputeContentHash and .kurtosisignore support from path-compression as dependencies for the content hash computation.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
~/.kurtosis/archive-cache/.kurtosisignoresupport. A.gitignore-style file at the package root to exclude files/directories from hashing and compression (e.g..git/, large static files, test fixtures)ComputeContentHashas a public function in path-compressionWhat?
.kurtosisignoreis a file users create in their package root (e.g. ethereum-package/.kurtosisignore) to exclude files/dirs from being hashed and compressed during upload. Think .gitignore but for kurtosis run.Without it, things like
.git/, large test fixtures, or static data files all get tarball'd and uploaded every run, even though Kurtosis doesn't need them.Is this change user facing?
NO