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

fix: mark riverside as a terminal station #784

Merged
merged 1 commit into from
Jun 25, 2024

Conversation

sloanelybutsurely
Copy link
Contributor

@sloanelybutsurely sloanelybutsurely commented Jun 24, 2024

Summary of changes

Asana Ticket: "BRD" showing on GL terminals too early

Sets terminal: true for Riverside so when a prediction is 0 stops away BRD is not shown until within the predicted departure time.

Note: I still haven't reproduced the original issue locally. Any help verifying before merging is much appreciated.

Reviewer Checklist

  • Meets ticket's acceptance criteria
  • Any new or changed functions have typespecs
  • Tests were added for any new functionality (don't just rely on Codecov)
  • This branch was deployed to the staging environment and is currently running with no unexpected increase in warnings, and no errors or crashes (compare on Splunk: staging vs. prod)

@@ -5757,7 +5757,7 @@
"Green-D"
],
"platform": null,
"terminal": false,
"terminal": true,
"announce_arriving": false,
"announce_boarding": true
}
Copy link
Contributor Author

@sloanelybutsurely sloanelybutsurely Jun 24, 2024

Choose a reason for hiding this comment

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

@sloanelybutsurely sloanelybutsurely marked this pull request as ready for review June 24, 2024 19:01
@sloanelybutsurely sloanelybutsurely requested a review from a team as a code owner June 24, 2024 19:01
Copy link

Coverage of commit 02d7101

Summary coverage rate:
  lines......: 73.3% (2019 of 2754 lines)
  functions..: 75.2% (565 of 751 functions)
  branches...: no data found

Files changed coverage rate: n/a

Download coverage report

@dmaltzan
Copy link

@sloanelybutsurely my fault for not specifying this in the ticket but could we ensure that this also gets fixed (or maybe was never broken) at Medford/Tufts and Union Square, in addition to Riverside? Those would be the complete set of terminals that have PA/ESS.

Copy link
Contributor

@digitalcora digitalcora left a comment

Choose a reason for hiding this comment

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

Huh, it looks like this was just an oversight from when real-time data was originally enabled for these signs (a long time ago!), and maybe we never noticed because we were rarely able to make departure predictions at this terminal. Pending @dmaltzan's comment it looks fine to me.

@digitalcora
Copy link
Contributor

For reproducing the issue, it might help to reach out to Firas since he was originally able to do so. I'm also curious about exactly how it was done, since I haven't used Glides for testing before.

@sloanelybutsurely
Copy link
Contributor Author

@dmaltzan looks like the Medford/Tufts and Union Square are both already marked as terminal stations

Station Stop ID Config
Medford/Tufts 70512 1, 2, 3
Union Square 70504 1, 2

@panentheos
Copy link
Collaborator

Since this is a very low-risk change, and pretty evidently correct by inspection, I think it would be fine to merge as-is. Definitely feel free to verify end-to-end if you'd like, though.

@sloanelybutsurely
Copy link
Contributor Author

It seems something was/is keeping predictions based on Glides data from being created. I've deployed to dev-green to let Firas verify this fixes the issue.

@sloanelybutsurely sloanelybutsurely merged commit 6c2cc86 into main Jun 25, 2024
3 checks passed
@sloanelybutsurely sloanelybutsurely deleted the sloane/fix-brd-too-early branch June 25, 2024 12:14
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.

4 participants