Skip to content

Perf | Reuse branch stream for Kustomize refs - #488

Merged
dag-andersen merged 1 commit into
mainfrom
perf/reuse-kustomize-branch-stream
Aug 24, 2026
Merged

Perf | Reuse branch stream for Kustomize refs#488
dag-andersen merged 1 commit into
mainfrom
perf/reuse-kustomize-branch-stream

Conversation

@dag-andersen

Copy link
Copy Markdown
Owner

Summary

  • Stream the existing branch checkout directly for Kustomize sources with refs
  • Reuse the path-keyed tgz cache instead of creating and recompressing a full checkout per request
  • Remove the now-unused hardlink staging helper and update regression coverage

Context

This is a performance follow-up to #474. That fix correctly makes the full checkout available to Kustomize sources with refs, but its unique staging directory prevents compressed archive reuse across applications. Kustomize does not consume the local .refs staging tree, which is only used for Helm value files and file parameters, so it can use the existing branch stream directly.

Testing

  • go test ./pkg/reposerverextract/...
  • go test ./pkg/reposerver/...

@dag-andersen
dag-andersen merged commit 6f6eb8e into main Aug 24, 2026
3 checks passed
@dag-andersen
dag-andersen deleted the perf/reuse-kustomize-branch-stream branch August 24, 2026 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant