Skip to content

Routing backend refactor + lots of cleanup and improvements - #4

Merged
igorizyumin merged 11 commits into
mainfrom
codex/routing-audit-fixtures
Sep 19, 2026
Merged

igorizyumin merged 11 commits into
mainfrom
codex/routing-audit-fixtures

Conversation

@igorizyumin

@igorizyumin igorizyumin commented Sep 19, 2026 •

Copy link
Copy Markdown
Owner

This branch replaces the legacy ETD/static-routing path with a unified GTFS + GTFS-Realtime pipeline, adds BART-specific normalization and routing behavior, updates followed-trip handling, and removes obsolete code and fixtures.

  • Added TransitFeedSnapshot and CanonicalTransitSnapshot as the shared transit source of truth.
  • Added canonical projections for:
    • Route departures
    • Followed-trip refreshes
    • Alarm scheduling
    • Service alerts
  • Added RAPTOR-based routing, transfer validation, trip identity handling, and itinerary refresh logic.
  • Improved BART-specific routing for transfers, terminal service, Yellow-line/DMU behavior, late-night service, and after-midnight schedules.
  • Migrated followed-trip persistence from mutable Departure state to durable Itinerary/TripLeg state.
  • Updated departure, trip-progress, home, and map screens to consume the new projection model.
  • Improved map rendering; replaced maps with official BART maps converted to editable vector SVG.
  • Added extensive GTFS/GTFS-Realtime audit fixtures, live-feed regression coverage, normalization documentation, and routing audit reports.
  • Cleaned up dead code.

@igorizyumin
igorizyumin merged commit 3809dba into main Sep 19, 2026
2 checks passed
@igorizyumin
igorizyumin deleted the codex/routing-audit-fixtures branch September 19, 2026 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant