fix: Add shuttles into Providence/Stoughton timetable#3211
Merged
joshlarson merged 3 commits intoMay 29, 2026
Conversation
jlucytan
approved these changes
May 29, 2026
…oughton-shuttles-on-timetables
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.
Scope
Asana Ticket: 🏖️⚽️🚄 Update Providence/Stoughton timetable to show match day shuttles
Implementation
This fully just copy-pastes the implementation from #3188, which did the same thing for Franklin/Foxboro shuttles.
The one difference is that the Providence line pulls in its associated shuttle route no matter what, and doesn't hard-code the dates - this still works because there are no shuttles on non-match days, which means that we simply add in an
[empty list]on those days, which changes nothing. The Franklin line still needs to use special-cased dates because it has to do some extra work to remove Canton Junction on non-shuttle days, but Providence doesn't have that concern.Screenshots
How to test
Look at schedules for match days and notice that the shuttle trips have been added in.
Look at schedules for non-match days, and notice that there are no shuttles.