Skip to content

Don't try to repair trips with negative dwell or driving times, drop them instead - #4019

Merged
hannesj merged 1 commit into
opentripplanner:dev-2.xfrom
entur:otp2_siplify_filterStopTimes
Mar 24, 2022
Merged

hannesj merged 1 commit into
opentripplanner:dev-2.xfrom
entur:otp2_siplify_filterStopTimes

Conversation

@hannesj

@hannesj hannesj commented Mar 23, 2022

Copy link
Copy Markdown
Contributor

Summary

Currently we try to fix invalid stop times. This has caused multiple issues, as the fixed times are not guaranteed to be coherent. Rather than trying to fix the bugs, instead we'll filter out trips with invalid stop times, and record those in the issue store.

Changelog

The changelog file
is generated from the pull-request title, make sure the title describe the feature or issue fixed.
To exclude the PR from the changelog add [changelog skip] in the title.

@hannesj hannesj added !Bug Apply to issues describing a bug and PRs witch fixes it. !Technical Debt Improve code quality, no functional changes. labels Mar 23, 2022
@hannesj hannesj added this to the 2.2 milestone Mar 23, 2022
@hannesj
hannesj requested a review from a team as a code owner March 23, 2022 16:18

@leonardehrenfried leonardehrenfried left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I have no problem with the code itself but I think this should show up in the changelog as something like "Don't try to repair trips with negative dwell time anymore, drop them instead"

I can imagine that some people rely on this to use their broken feeds.

@hannesj hannesj changed the title Simplify filterStopTimes [changelog skip] Don't try to repair trips with negative dwell or driving times, drop them instead Mar 24, 2022
@hannesj

hannesj commented Mar 24, 2022

Copy link
Copy Markdown
Contributor Author

I updated the subject of the PR, so that it will be part of the changelog

@hannesj
hannesj merged commit f350ee4 into opentripplanner:dev-2.x Mar 24, 2022
t2gran pushed a commit that referenced this pull request Mar 24, 2022
@hannesj
hannesj deleted the otp2_siplify_filterStopTimes branch March 24, 2022 21:45
@t2gran t2gran added +Skip Changelog This is not a relevant change for a product owner since last release. and removed +Skip Changelog This is not a relevant change for a product owner since last release. labels Jun 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

!Bug Apply to issues describing a bug and PRs witch fixes it. !Technical Debt Improve code quality, no functional changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants