Skip to content

Conversation

@nellh
Copy link
Contributor

@nellh nellh commented Sep 3, 2025

This solves a case where the command line tools could be interrupted during upload and fail to retransfer keys it created previously. See #3561

Instead of tracking the new annex keys as they are generated per run, we read all annex keys from HEAD and recheck them against the remote.

Reading the existing keys is also necessary to avoid rechecking MD5E hashes for #3562.

This solves a case where the CLI could be interrupted and fail to retransfer keys it created previously.

Instead of tracking the new annex keys as they are generated per run, we read all annex keys from HEAD and recheck them against the remote.
@nellh nellh changed the title refactor(cli): Recheck annex files added in previous upload runs refactor(cli): Recheck annexed object contents added in previous upload runs Sep 3, 2025
@codecov
Copy link

codecov bot commented Sep 3, 2025

Codecov Report

❌ Patch coverage is 0% with 78 lines in your changes missing coverage. Please review.
✅ Project coverage is 48.94%. Comparing base (e09d2ae) to head (48c4bae).
⚠️ Report is 3 commits behind head on master.

Files with missing lines Patch % Lines
cli/src/worker/annex.ts 0.00% 66 Missing ⚠️
cli/src/worker/git.ts 0.00% 12 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3563      +/-   ##
==========================================
- Coverage   49.00%   48.94%   -0.07%     
==========================================
  Files         612      612              
  Lines       43542    43598      +56     
  Branches     1477     1477              
==========================================
  Hits        21338    21338              
- Misses      22034    22090      +56     
  Partials      170      170              

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@nellh nellh requested a review from thinknoack September 3, 2025 16:21
Copy link
Contributor

@thinknoack thinknoack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the removal of annexed files, push of files to same dataset.

transferred the key and didn't make new changes

@nellh nellh merged commit 219ddb2 into master Sep 3, 2025
13 of 15 checks passed
@nellh nellh deleted the 3561/annex-key-checks branch September 3, 2025 17:55
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.

3 participants