Repository navigation
feat(path): add live PATH rail coverage - #25
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add PATH as an experimental rail agency with live station countdowns, five current service patterns, 13 drawn stations and 29 seeded boarding stops.
The generic station-board adapter now supports network documents and numeric-string countdowns. Polls share the document across platforms; cached reads preserve absolute predictions and recheck observation age. Synthetic observation identities do not depend on array positions or claim to identify a physical train. PATH publishes no verified GPS source.
Closes #15.
Evidence
After: Live Newark, Newport and 33 Street boards show source-timed departures with the correct destinations through Worker and self-hosted endpoints. The overnight blue/orange combination maps to the published via-Hoboken service.
Sources checked November 13, 2026: live board, official alerts, planned changes, current rider configuration, weekday map, weekend map. Map revision 236_26 v1_r2. City presets use the corresponding GTFS parent coordinates for Newark, Journal Square, Hoboken, WTC and 33 Street.
Merge Danger
Door: Two-way
No schema migration. PATH is seeded locally only; production needs its initial targeted seed after deployment and review.
Blast Radius: Feeds
Network station mappings and new advisory parsers are opt-in. Shared mapped-board caching now stores the wire document and validates source age on each read. The operator's intermittent incident-endpoint failures remain visible as stale snapshots.