Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion compute_horde/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions compute_horde_sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,25 @@ upcoming release can be found in [changelog.d](changelog.d).

<!-- towncrier release notes start -->

## [0.0.19](https://github.com/backend-developers-ltd/compute-horde-sdk/releases/tag/v0.0.19) - 2026-10-26

### Changed

- `HTTPOutputVolume` mount paths must be `/output/` followed by a canonical relative path; paths such as `/output//x`, `/output/../x` or `/output/x/` now raise `ValueError` when the job is created.

### Fixed

- HTTP PUT output uploads send the file in chunks of at most 64 KiB instead of one chunk per line, so a file without newlines is no longer read into memory whole.
- Output uploads are confined to the output directory: `relative_path` of single-file uploads must be a canonical relative path with no component longer than 255 bytes, the uploader opens output files without following symlinks and rejects anything that is not a regular file or exceeds the size limit, zipped uploads leave out symlinks, other non-regular entries and empty directories, and the HTTP response of an upload receiver is cut off at the 10 MiB cap.
- The SDK requires `certifi>=2026.10.19`, because earlier certifi releases trust the compromised eMudhra/emSign CAs.
- When one file of a `MultiUpload` fails to upload, the uploads still in progress are cancelled before `OutputUploadFailed` is raised; uploads that already finished stay delivered.
- Zipped output uploads accept files modified after 2107 and fail with `OutputUploadFailed` instead of an unhandled exception when a file name is not valid UTF-8. An output directory with directories nested more than 100 levels deep also fails with `OutputUploadFailed`. `MultiUpload` builds its system output zip before it sends any file.

### Added

- Added `compute_horde_core.untrusted_files` for reading files from, and writing files into, a directory populated by an untrusted process without following symlinks and with a size bound checked before reading.


## [0.0.18](https://github.com/backend-developers-ltd/compute-horde-sdk/releases/tag/v0.0.18) - 2025-12-18


Expand Down
1 change: 0 additions & 1 deletion compute_horde_sdk/changelog.d/+certifi-emudhra.fixed.md

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion compute_horde_sdk/changelog.d/+put-upload-chunks.fixed.md

This file was deleted.

1 change: 0 additions & 1 deletion compute_horde_sdk/changelog.d/+untrusted-files.added.md

This file was deleted.

This file was deleted.

2 changes: 1 addition & 1 deletion compute_horde_sdk/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ requires-python = ">=3.10,<3.13" # bittensor doesn't work on 3.13+
keywords = []
license = {text = "MIT"}
readme = "README.md"
version = "0.0.18"
version = "0.0.19"
authors = [
{name = "Reef Technologies", email = "opensource@reef.pl"},
]
Expand Down
2 changes: 1 addition & 1 deletion compute_horde_sdk/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion executor/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion facilitator/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion health_probe/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion local_stack/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion miner/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion scripts/stress/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion validator/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading