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

feat: include passthrough_time from rtr in enhanced trip update feed #361

Merged
merged 5 commits into from
Oct 30, 2024

Conversation

bfauble
Copy link
Contributor

@bfauble bfauble commented Oct 9, 2024

Summary of changes

Asana Ticket: 🐛 [Investigate] Subway passthrough trips in Concentrate have schedule_relationship CANCELED

The initial fix for this was scoping down the bus block waiver logic which was inadvertently catching these sorts of updates and switching the schedule_relationship to cancelled. Once that issue was resolved, these updates were being caught in the added+skipped filter which was completely removing the updates from the downstream feed.

  • Parse passthrough_time coming from rtr
  • Only filter out added+skipped stus if there is no passthrough_time present
  • in enhanced feed, remove arrival/departure info and leave only passthrough_time
  • in normal feed, do not include updates with a passthrough_time

@bfauble bfauble requested review from a team, Whoops and lemald and removed request for a team and Whoops October 10, 2024 16:04
@bfauble bfauble merged commit 8ecf45d into master Oct 30, 2024
3 checks passed
@bfauble bfauble deleted the bf-allow-passthrough-value-enhanced-feed branch October 30, 2024 14:09
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.

2 participants