Deliveries for items that were deleted in the meantime retry every 30 minutes forever
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 76/100
Research direction
Start in services/pipeline/src/pipeline/jobs/dispatch.py around lines 242–249 and trace how the delivery job handles missing items or items with no matching files. Add or locate a test for deleted-item delivery and check the record’s state after one attempt. Done means it reaches a final state instead of cycling through pending and failed.
Written by the indexing model from the issue text.
Description
Found in the 2026-11-29 whole-repo review. Reported by a reviewer from reading the code; re-check before fixing.
Problem
In services/pipeline/src/pipeline/jobs/dispatch.py (~lines 242-249) the delivery job returns early when the item no longer exists or has no matching files. That happens before the attempt counter is incremented, so the delivery record stays "pending". A sweep marks it failed after 30 minutes, the retry sweep sets it back to pending, and the cycle repeats. It never reaches the final "dead" state, so no alert fires and no operator action applies.
How it goes wrong
Normal for any rolling-window collection: a destination is down for a while, retention deletes the items, and their delivery records loop forever, each cycle taking a lock and inflating the error counters.
Suggested fix
When the item is gone or has nothing to deliver, move the record to a final state (e.g. "skipped" with a reason).
Acceptance criteria
- Test: delivery for a deleted item ends in a final state after one attempt
- Dominant language
- Python
- Stars
- 0
- Forks
- 2
- Avg merge
- 8h 26m
- Merged PRs (30d)
- 47
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
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 TechTraverse/stac-higher
-
ci
Difficulty 1/5 Under an hour Newbie friendliness 85/100
TechTraverse/stac-higher#261 ·
Maintainers usually reply within 1 day
-
ready
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
TechTraverse/stac-higher#258 ·
Maintainers usually reply within 1 day
-
Error messages hide the server's reason: users see only '400 Bad Request'Possibly taken @aman-code-io claimed this 3 days ago. Openbug good first issue ready
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
TechTraverse/stac-higher#232 · 1 comment ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
TechTraverse/stac-higher#216 ·
Maintainers usually reply within 1 day
-
queue: container images (C) ready
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
TechTraverse/stac-higher#66 ·
Maintainers usually reply within 1 day
All issues in TechTraverse/stac-higher
Similar issues
-
docs(contributing): the two things that silently block a PRPossibly taken A pull request linked to this issue is open or already merged. Openavailable documentation good first issue
Difficulty 1/5 1-3 hours Newbie friendliness 95/100
Nixitov/Riptide-Native#944 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
JTHCode/secretguard#24 ·
Maintainers usually reply within 1 day
-
area: middleware documentation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
good first issue
Difficulty 1/5 Under an hour Newbie friendliness 95/100
omarelshamy25x/shamy-hijri#63 ·
Maintainers usually reply within 1 day