feat: track reverse geolocation, file extraction and pmtiles as daily pipeline stages

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

メンテナーはふだん 2 日以内に返信

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
38/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python

調査の方向性

Start by reading parquet_builder, which the issue names as the reference implementation of TaskExecutionTracker (try_acquire, mark_completed, mark_failed), then follow create_pipeline_tasks to see how the downstream tasks are enqueued. The three workers to mirror it in are reverse_geolocation, gtfs_file_data_extractor and pmtiles_builder, and the daily monitor for gtfs_daily_pipeline needs the new stages joined by dataset_id. Done means each stage shows completed, failed or pending in the daily run, including enqueue failures marked from create_pipeline_tasks.

索引モデルが issue の本文から書いたものです。

説明

Describe the problem

The gtfs_daily_pipeline run shows feed outcomes but not the downstream tasks queued by create_pipeline_tasks, so a failed reverse geolocation, file extraction or pmtiles build is invisible in the daily view.

Proposed solution
  • reverse_geolocation, gtfs_file_data_extractor, pmtiles_builder: write TaskExecutionTracker rows (try_acquire, mark_completed, mark_failed), entity = dataset id (file extraction: dataset id + file name), as parquet_builder does.
  • create_pipeline_tasks: mark_triggered before enqueueing each task, commit first; mark_failed on enqueue failure.
  • Add each as a stage in the gtfs_daily_pipeline monitor, joined by dataset_id: completed / failed / pending.
Alternatives you've considered
  • Read each stage's status from its outputs (DB rows, GCS files): no failure state, and differs per stage.
主要言語
Python
スター
34
フォーク
7
平均マージ
3日 3時間
マージ済み PR(30日)
22

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

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

MobilityData/mobility-feed-api のほかの issue

MobilityData/mobility-feed-api の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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