Skip to content

bugfix : review assert and replace by if condition#8682

Draft
120EE0980 wants to merge 1 commit into
borgbackup:masterfrom
120EE0980:replaceassert
Draft

bugfix : review assert and replace by if condition#8682
120EE0980 wants to merge 1 commit into
borgbackup:masterfrom
120EE0980:replaceassert

Conversation

@120EE0980

@120EE0980 120EE0980 commented Mar 3, 2025

Copy link
Copy Markdown

Related to #8649
This PR only incorporates very small part of the solution to the issue.(i.e only replaces assert in 2 files)
This is just a draft to confirm whether right path is being followed.(will push other changes after I get an OK from reviewer)

@120EE0980 120EE0980 marked this pull request as draft March 10, 2025 07:38
@ThomasWaldmann

Copy link
Copy Markdown
Member

commenting to trigger re-indexing of this PR, so it gets visible again on the github web UI open PR list.

@codecov

codecov Bot commented Jun 22, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 84.69%. Comparing base (5237f9a) to head (e45959a).
⚠️ Report is 3 commits behind head on master.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/borg/legacy/hashindex.py 0.00% 3 Missing and 3 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8682      +/-   ##
==========================================
- Coverage   84.78%   84.69%   -0.09%     
==========================================
  Files          92       92              
  Lines       15251    15254       +3     
  Branches     2286     2289       +3     
==========================================
- Hits        12930    12920      -10     
- Misses       1621     1632      +11     
- Partials      700      702       +2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@ThomasWaldmann ThomasWaldmann force-pushed the replaceassert branch 3 times, most recently from 8abef29 to 11ec56f Compare June 22, 2026 21:20
@ThomasWaldmann

ThomasWaldmann commented Jun 22, 2026

Copy link
Copy Markdown
Member

Updated and force-pushed:

  • rebased on current master, fixed merge conflicts
  • fixed the failing test (wrong exception)

Quite some tests broken due to issues with our requirements, this is unrelated to this PR.

Signed-off-by: Nish_ <120EE0980@nitrkl.ac.in>
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