Skip to content

fix(UpcomingDepartures): omit past skip/canceled#2925

Merged
thecristen merged 1 commit intomainfrom
cbj/sf2.0/cancelled-past
Feb 6, 2026
Merged

fix(UpcomingDepartures): omit past skip/canceled#2925
thecristen merged 1 commit intomainfrom
cbj/sf2.0/cancelled-past

Conversation

@thecristen
Copy link
Collaborator

Scope

Asana Ticket: [SF/UD] Don't show past cancelled trips as upcoming departures

Implementation

Added a clause to the logic filtering out past schedules to treat skipped/cancelled predictions the same as we currently treat a nil prediction.

Screenshot

2:18PM
image

after 2:21PM
image

How to test

Issue a test alert which cancels a bus or commuter rail trip, and watch it disappear from Upcoming Departures at the requisite time.

@thecristen thecristen requested a review from a team as a code owner February 4, 2026 19:22
@thecristen thecristen requested a review from lvachon1 February 4, 2026 19:22
@thecristen thecristen merged commit 4c4a09e into main Feb 6, 2026
26 checks passed
@thecristen thecristen deleted the cbj/sf2.0/cancelled-past branch February 6, 2026 02:16
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