Skip to content

feat: Add methods for repairing hot/cold repositories - #255

Merged
aawsome merged 1 commit into
mainfrom
repair-hotcold
Feb 18, 2026
Merged

aawsome merged 1 commit into
mainfrom
repair-hotcold

Conversation

@aawsome

@aawsome aawsome commented Sep 4, 2024

Copy link
Copy Markdown
Member

No description provided.

@codecov

codecov Bot commented Sep 4, 2024 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 71.75141% with 50 lines in your changes missing coverage. Please review.
✅ Project coverage is 48.0%. Comparing base (e52985a) to head (907ec8f).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
crates/core/src/commands/repair/hotcold.rs 65.1% 30 Missing ⚠️
crates/core/src/repository.rs 78.0% 11 Missing ⚠️
crates/core/src/repository/warm_up.rs 75.6% 9 Missing ⚠️
Additional details and impacted files
Files with missing lines Coverage Δ
crates/core/src/backend.rs 64.4% <100.0%> (+1.2%) ⬆️
crates/core/src/commands/config.rs 45.0% <100.0%> (+4.6%) ⬆️
crates/core/src/commands/init.rs 90.0% <ø> (ø)
crates/core/tests/integration.rs 78.5% <ø> (ø)
crates/core/src/repository/warm_up.rs 66.1% <75.6%> (+10.6%) ⬆️
crates/core/src/repository.rs 60.6% <78.0%> (+5.4%) ⬆️
crates/core/src/commands/repair/hotcold.rs 65.1% <65.1%> (ø)

... 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 changed the title WIP: feat: Add methods for repairing hot/cold repositories feat: Add methods for repairing hot/cold repositories Sep 6, 2024
@aawsome
aawsome force-pushed the repair-hotcold branch 2 times, most recently from 9327d83 to 1b5fb66 Compare November 19, 2024 16:41
@simonsan

Copy link
Copy Markdown
Contributor

Merged main into it, because the test coverage failure is fixed there.

@aawsome

aawsome commented Nov 19, 2024

Copy link
Copy Markdown
Member Author

The failing test is due to missing tests...

@simonsan

Copy link
Copy Markdown
Contributor

The failing test is due to missing tests...

2024-11-20 00_35_37-feat_ Add methods for repairing hot_cold repositories by aawsome · Pull Request

I meant before 😅

@aawsome
aawsome marked this pull request as ready for review November 19, 2024 23:37
Comment thread crates/core/src/commands/init.rs Resolved
Comment thread crates/core/src/commands/init.rs Resolved
Comment thread crates/core/src/commands/init.rs Resolved
Comment thread crates/core/src/commands/repair.rs Resolved
Comment thread crates/core/src/repository.rs Resolved
Comment thread crates/core/src/repository.rs Resolved
Comment thread crates/core/src/repository.rs Resolved
@simonsan

simonsan commented Nov 19, 2024 •

Copy link
Copy Markdown
Contributor

First read through, for raw structure. Will read through it again for typos and impl.

EDIT: Can help fix the docs

@aawsome

aawsome commented Apr 26, 2025

Copy link
Copy Markdown
Member Author

@simonsan I overworked the docu. Next will be some unit tests..

@aawsome
aawsome force-pushed the repair-hotcold branch 3 times, most recently from 878ff64 to 79dd578 Compare February 16, 2026 22:28
@aawsome
aawsome merged commit 7535df0 into main Feb 18, 2026
25 checks passed
@aawsome
aawsome deleted the repair-hotcold branch February 18, 2026 05:59
@rustic-release-plz rustic-release-plz Bot mentioned this pull request Feb 18, 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.

2 participants