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

Abierto
#1,921 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 2 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
38/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
python

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.
Lenguaje dominante
Python
Estrellas
34
Forks
7
Merge medio
3 d 3 h
PR fusionados (30 d)
22

Preparar el entorno

  • Incluye un Dockerfile o un archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de MobilityData/mobility-feed-api

Todos los issues de MobilityData/mobility-feed-api

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.