Skip to content

fix add-piece to lookup existing pieces by CID#607

Merged
parkan merged 2 commits intomainfrom
fix/add-piece-cli
Feb 4, 2026
Merged

fix add-piece to lookup existing pieces by CID#607
parkan merged 2 commits intomainfrom
fix/add-piece-cli

Conversation

@parkan
Copy link
Collaborator

@parkan parkan commented Feb 4, 2026

this fixes a bunch of problems with the add-piece command, which remains somewhat problematic but should now work for the "add pieces from one prep to another prep" use case, which is useful when you want to send a "meta-prep" of a bunch of failed pieces from previous preps instead of re-running all of the schedules

I had previously done this by... literally direct DB manipulation, not recommended

@parkan
Copy link
Collaborator Author

parkan commented Feb 4, 2026

Brian is currently blocked on a big backfill without this functionality so I am tempted to sneak it in also... please tell me if I should stay my hand 😉

@parkan
Copy link
Collaborator Author

parkan commented Feb 4, 2026

given that this is an advanced/non-core feature and now labeled as such I am going to merge, it's still pretty tricky but less brittle and more functional than it was

@parkan parkan merged commit d049d84 into main Feb 4, 2026
3 of 4 checks passed
@parkan parkan deleted the fix/add-piece-cli branch February 4, 2026 13:56
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.

1 participant