feat: track reverse geolocation, file extraction and pmtiles as daily pipeline stages
Maintainers usually reply within 2 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 38/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- python
- Domain
- backend, data-engineering
Research direction
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.
Written by the indexing model from the issue text.
Description
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: writeTaskExecutionTrackerrows (try_acquire,mark_completed,mark_failed), entity = dataset id (file extraction: dataset id + file name), asparquet_builderdoes.create_pipeline_tasks:mark_triggeredbefore enqueueing each task, commit first;mark_failedon enqueue failure.- Add each as a stage in the
gtfs_daily_pipelinemonitor, joined bydataset_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.
- Dominant language
- Python
- Stars
- 34
- Forks
- 7
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 22
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from MobilityData/mobility-feed-api
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
MobilityData/mobility-feed-api#1927 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
MobilityData/mobility-feed-api#1846 ·
Maintainers usually reply within 2 days
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
MobilityData/mobility-feed-api#1755 · 1 reaction ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
MobilityData/mobility-feed-api#1647 ·
Maintainers usually reply within 2 days
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
MobilityData/mobility-feed-api#836 ·
Maintainers usually reply within 2 days
All issues in MobilityData/mobility-feed-api
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
OStrama/weishaupt_modbus#216 ·
-
bug follow-up
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
Maintainers usually reply within 1 day
-
Retire stale Python-parity labels in Rust ingress and auth testsPossibly taken @github-actions claimed this today. Openfactory factory:building factory:unowned ralph-status:in-progress via:opencode-free/hy4-flash-free
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
JoshCLWren/comic-pile#5874 · 2 comments ·
Maintainers usually reply within 1 day
-
good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
area: community lane: free-agent priority: P1 roadmap type: task
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
velella-sh/offing#1046 ·
Maintainers usually reply within 1 day