Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Saving vehicle locations should never error out when GTFS-RT feed is valid #14

Open
EddyIonescu opened this issue May 18, 2024 · 0 comments

Comments

@EddyIonescu
Copy link
Member

There's currently no data saved for Brampton in orion-vehicles from 4/29 to 5/04. This was because Orion was erroring out due to the GTFS endpoint in transify-api (staging-api.transify.ca at the time) was unavailable - this was because there was no valid GTFS available as the new one started on April 29 and the previous one didn't extend past that.

Orion should not be dependent on having a valid GTFS to save vehicle locations. It’s okay for the real-time map to fail in this instance, but not saving vehicles to S3 - that needs to be robust since its failure results in data loss.

The issue was addressed by:

  • Receiving a valid GTFS URL from Brampton (as they'd changed the endpoint without notifying Transify)
  • Using api.transify.ca as deployment issues on staging-api.transify.ca caused the real-time map on orion-api to break

The scope of this issue includes:

  • Allow saving vehicle locations from GTFS-RT to S3 without relying on the GTFS - ideally without the need for a backfill/running a script once a valid GTFS is received.

Potential scope additions could include:

  • Making the real-time map work when there is no GTFS that corresponds to the GTFS-RT feed at that instant in time
  • Adding a staging environment to orion
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

No branches or pull requests

1 participant