harvest jobs lifecycle isn't completing

Open
#6,547 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Active
Tech stack
python
Domain
backend

Research direction

The payload names no files or tests; the entry point is the harvest job runner and the cleanup that reaps unfinished jobs on app restart. Reproduce by force-harvesting one of the sources shown in the screenshot and capture the uncaught exception from the worker log before cleanup runs. Done looks like a forced harvest whose jobs reach a terminal success state and survive an app restart without being deleted.

Written by the indexing model from the issue text.

Description

bug
Screenshot 2026-11-24 at 1 49 28 PM

after force harvesting all source there's an abnormal amount of jobs with uncaught exceptions leading to job cleanup on app restart (see picture)

How to reproduce

go to any of those sources and see that the job didn't complete as expected

Expected behavior

jobs finish without being cleaned up

Actual behavior

jobs finish by being cleaned up

Sketch

[Notes or a checklist reflecting our understanding of the selected approach]

Dominant language
Python
Stars
1.2k
Forks
207
Avg merge
3d 16h
Merged PRs (30d)
5

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from GSA/data.gov

All issues in GSA/data.gov

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.