Fix job in-progress bug for harvest sources

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

Nobody has claimed this yet.

Assessment

This issue has not been assessed yet.

Description

bug Harvest-Runner Harvester

How to reproduce

  1. Run harvest on staging on this source: https://harvest-stage.data.gov/harvest_job/507c38d8-5688-4813-8457-422a327c423f
  2. Note the FailedJobCleanup error on the job \

Expected behavior

On app startup we check if there's any "in-progress" jobs in the db table which don't have a corresponding cloud foundry task running. Those jobs are then "cleaned" up. Expected behavior - job lifecycle completes as intended despite error.

Actual behavior

Job errors out before completing

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.