piece_cleanup stalls when the oldest deals are in dead data sets
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- Half a day
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- blockchain, typescript
- Domain
- backend, blockchain
Research direction
Start with PieceCleanupService.deletePiece, where createContext runs outside the try/catch that handles already-deleted pieces, and with DatasetLivenessService.probeFwssDataSetLive, which only matches "does not exist or is not live". Make DataSetNotLive mark the deal cleaned up and let the run continue, while other createContext failures still count as failed. Done when a test with a reverting data set shows the run moving past it to newer candidates and the liveness probe returns false for that error.
Written by the indexing model from the issue text.
Description
piece_cleanup has made almost no progress for Angelo (provider 13, mainnet) since at least 2026-10-11. Each daily run fails 50 deletes and stops with piece_cleanup_no_progress, so newer, deletable pieces are never reached.
The 50 oldest candidates are in data sets 843 (42 deals), 857, 965, 993, 1010, 1067, 1074, 1078 and 1082. All nine return dataSetLive = false, so validateDataSet reverts during createContext:
The contract function "getDataSetListener" reverted.
Error: DataSetNotLive()
PieceCleanupService.deletePiece calls createContext outside the try/catch that handles already-deleted pieces. These deals stay cleaned_up = false and remain the oldest candidates on every run.
Done when:
- A deal whose data set reverts with
DataSetNotLiveis marked cleaned up, and the run moves on to newer candidates. OthercreateContextfailures still count as failed. DatasetLivenessService.probeFwssDataSetLivereturnsfalseforDataSetNotLive. It currently matches only "does not exist or is not live", so this revert is rethrown.
- Dominant language
- TypeScript
- Stars
- 2
- Forks
- 9
- Avg merge
- 5d 6h
- Merged PRs (30d)
- 9
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from FilOzone/dealbot
-
Difficulty 1/5 Under an hour Newbie friendliness 76/100
FilOzone/dealbot#649 · 2 comments ·
Maintainers usually reply within 1 day
-
enhancement good first issue help wanted ready-for-work
Difficulty 1/5 Under an hour Newbie friendliness 86/100
FilOzone/dealbot#616 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 12/100
FilOzone/dealbot#775 · 1 comment ·
Maintainers usually reply within 1 day
-
Find what is causing OOMKilled dealbot workersPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 4/5 3-5 days Newbie friendliness 20/100
FilOzone/dealbot#765 · 3 comments ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 12/100
Maintainers usually reply within 1 day
All issues in FilOzone/dealbot
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
zabuton-app/meguri#875 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 86/100
iruzen-dono/workless#117 ·
Maintainers usually reply within 1 day
-
area:api area:web wave wave:trivial
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
vetro-protocol/vetro-monorepo#1321 ·
Maintainers usually reply within 1 day