Fix job in-progress bug for harvest sources

オープン
#6,504 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

この issue はまだ評価されていません。

説明

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

主要言語
Python
スター
1.2k
フォーク
207
平均マージ
3日 16時間
マージ済み PR(30日)
5

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

GSA/data.gov のほかの issue

GSA/data.gov の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。