Skip to content

feat(SF2.0): Display Ferry predictions similar to CR#3081

Merged
jlucytan merged 2 commits intomainfrom
jlt/sf/match-ferry-departures-to-cr
Apr 7, 2026
Merged

feat(SF2.0): Display Ferry predictions similar to CR#3081
jlucytan merged 2 commits intomainfrom
jlt/sf/match-ferry-departures-to-cr

Conversation

@jlucytan
Copy link
Copy Markdown
Contributor

@jlucytan jlucytan commented Apr 2, 2026

Scope

Asana Ticket: 📅🔎 Render ferry predictions the same way as CR

Implementation

Changes the function guards for arrival status to include ferry instead of just commuter rail.

Added ferry to all the tests that were schedule related that included a commuter rail route, which includes some things that aren't affected by this code change directly, but do seem like behavior we expect. The tests passed even after repeating 300 times, so it's probably fine?

Screenshots

Currently no live data, but here's what it looks like without current arrivals.
Before
image

After
image

How to test

You can see this on any ferry SF2.0 (Hingam for convenience). We currently don't have live data though.

@jlucytan jlucytan requested a review from a team as a code owner April 2, 2026 22:08
@jlucytan jlucytan requested a review from joshlarson April 2, 2026 22:08
Copy link
Copy Markdown
Contributor

@lvachon1 lvachon1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We may not be able to test it on dev at the moment, but those unit tests are thorough and numerous. I think if it passes all of those it's good to go.

@lvachon1
Copy link
Copy Markdown
Contributor

lvachon1 commented Apr 7, 2026

Screenshot 2026-04-07 at 1 18 14 PM Screenshot 2026-04-07 at 1 17 09 PM

Looking good!

@jlucytan jlucytan merged commit 24450bb into main Apr 7, 2026
30 of 31 checks passed
@jlucytan jlucytan deleted the jlt/sf/match-ferry-departures-to-cr branch April 7, 2026 18:07
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