Skip to content

feat: make upload chunk size configurable - #1264

Draft
TingjiaInFuture wants to merge 1 commit into
kitops-ml:mainfrom
TingjiaInFuture:feat/configurable-upload-chunk-size
Draft

feat: make upload chunk size configurable#1264
TingjiaInFuture wants to merge 1 commit into
kitops-ml:mainfrom
TingjiaInFuture:feat/configurable-upload-chunk-size

Conversation

@TingjiaInFuture

Copy link
Copy Markdown

Summary

  • add kit push --chunk-size with an allowed range of 16-32 MiB and a 32 MiB default
  • pass the selected size through a repository option to chunked blob uploads
  • add CLI and repository option tests

Validation

  • go test ./pkg/cmd/push ./pkg/lib/repo/remote
  • go vet ./...
  • go run . push --help

Review note

This is a draft because repository instructions require human review of files carrying AGENT_MODIFIED markers. A maintainer should review the changes and remove those markers before marking the PR ready.

Signed-off-by: zhangtingjia <zhangtingjia@tsingroc.com>
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