Skip to content

Use io.Copy for SSH uploads#805

Merged
m90 merged 1 commit into
offen:mainfrom
J4kubS:ssh-io-copy
Jun 17, 2026
Merged

Use io.Copy for SSH uploads#805
m90 merged 1 commit into
offen:mainfrom
J4kubS:ssh-io-copy

Conversation

@J4kubS

@J4kubS J4kubS commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Addresses #804

Tested with a ~300 MiB archive uploaded to an SSH backend by a container with a 64 MiB memory limit. Memory usage hovered around 35 MiB for the duration of the upload

@m90

m90 commented Jun 17, 2026

Copy link
Copy Markdown
Member

This is very nice both in terms of functionality and also as a simplification 🎩

@m90 m90 merged commit cf023fd into offen:main Jun 17, 2026
3 checks passed
@m90

m90 commented Jun 17, 2026

Copy link
Copy Markdown
Member

I'll release this once #784 is ready, which I hope is rather soon. If this not being released is blocking you lmk and I can cut a release anyways.

@J4kubS J4kubS deleted the ssh-io-copy branch June 17, 2026 20:31
@J4kubS

J4kubS commented Jun 17, 2026

Copy link
Copy Markdown
Contributor Author

I have temporarily raised memory limits to prevent OOMs. That's going to hold nicely until a regular release; no need for an extra one

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.

2 participants