Skip to content

fix: sort blobs before repacking#478

Merged
aawsome merged 1 commit intomainfrom
repack-sort-blobs
Feb 20, 2026
Merged

fix: sort blobs before repacking#478
aawsome merged 1 commit intomainfrom
repack-sort-blobs

Conversation

@aawsome
Copy link
Member

@aawsome aawsome commented Feb 20, 2026

closes rustic-rs/rustic#1680:

  • sort blobs-to-repack in prune
  • assert that no overlaps occur when coalescing BlobLocations.
  • added unit tests for the coalescing.

@codecov
Copy link

codecov bot commented Feb 20, 2026

Codecov Report

❌ Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 48.1%. Comparing base (f5108f3) to head (7e16a70).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
crates/core/src/blob.rs 0.0% 1 Missing ⚠️
crates/core/src/commands/prune.rs 0.0% 1 Missing ⚠️
Additional details and impacted files
Files with missing lines Coverage Δ
crates/core/src/blob.rs 63.8% <0.0%> (+5.5%) ⬆️
crates/core/src/commands/prune.rs 63.9% <0.0%> (-0.5%) ⬇️

... and 31 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@aawsome aawsome merged commit 0f441be into main Feb 20, 2026
24 of 25 checks passed
@aawsome aawsome deleted the repack-sort-blobs branch February 20, 2026 14:26
@rustic-release-plz rustic-release-plz bot mentioned this pull request Feb 20, 2026
github-merge-queue bot pushed a commit that referenced this pull request Mar 4, 2026
## 🤖 New release

* `rustic_core`: 0.10.0 -> 0.10.1 (✓ API compatible changes)
* `rustic_backend`: 0.6.0 -> 0.6.1 (✓ API compatible changes)
* `rustic_testing`: 0.4.0 -> 0.4.1 (✓ API compatible changes)

<details><summary><i><b>Changelog</b></i></summary><p>

## `rustic_core`

<blockquote>

##
[0.10.1](rustic_core-v0.10.0...rustic_core-v0.10.1)
- 2026-03-04

### Added

- Add methods for repairing hot/cold repositories
([#255](#255))

### Fixed

- use rclone url as-is for rclone command
([#485](#485))
- Add information about to_delete to check errors
([#484](#484))
- race condition in warmup tests
([#481](#481))
- only call warm-up/wait if #ids > 0
([#483](#483))
- show type/id for crypto errors
([#482](#482))
- ignore non-id files when listing
([#479](#479))
- sort blobs before repacking
([#478](#478))
- tag options in rewrite don't conflict with each other
([#476](#476))

### Other

- update dependencies
([#486](#486))
</blockquote>

## `rustic_backend`

<blockquote>

##
[0.6.1](rustic_backend-v0.6.0...rustic_backend-v0.6.1)
- 2026-03-04

### Fixed

- use rclone url as-is for rclone command
([#485](#485))
- ignore non-id files when listing
([#479](#479))

### Other

- update dependencies
([#486](#486))
</blockquote>

## `rustic_testing`

<blockquote>

##
[0.4.1](rustic_testing-v0.4.0...rustic_testing-v0.4.1)
- 2026-03-04

### Added

- Add methods for repairing hot/cold repositories
([#255](#255))

### Other

- update dependencies
([#486](#486))
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/release-plz/release-plz/).

Co-authored-by: rustic-release-plz[bot] <182542030+rustic-release-plz[bot]@users.noreply.github.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.

rustic-rs Crash Report

1 participant