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 bug where entrances are removed from walk steps #6530

Open
wants to merge 1 commit into
base: dev-2.x
Choose a base branch
from

Conversation

HenrikSundell
Copy link
Contributor

@HenrikSundell HenrikSundell commented Mar 11, 2025

Summary

Prevents removing of walksteps with entrance information

Issue

Closes #6528

Unit tests

Write a few words on how the new code is tested.

Documentation

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 the label skip changelog to the PR.

Bumping the serialization version id

@HenrikSundell HenrikSundell requested a review from a team as a code owner March 11, 2025 07:40
Copy link

codecov bot commented Mar 11, 2025

Codecov Report

Attention: Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.

Project coverage is 70.17%. Comparing base (9807f18) to head (601e823).
Report is 29 commits behind head on dev-2.x.

Files with missing lines Patch % Lines
...ing/algorithm/mapping/StatesToWalkStepsMapper.java 0.00% 0 Missing and 2 partials ⚠️
...rg/opentripplanner/model/plan/WalkStepBuilder.java 0.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##             dev-2.x    #6530      +/-   ##
=============================================
- Coverage      70.18%   70.17%   -0.01%     
- Complexity     18310    18313       +3     
=============================================
  Files           2082     2082              
  Lines          77195    77219      +24     
  Branches        7827     7833       +6     
=============================================
+ Hits           54177    54189      +12     
- Misses         20251    20257       +6     
- Partials        2767     2773       +6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Member

@leonardehrenfried leonardehrenfried left a comment

Choose a reason for hiding this comment

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

Please add a test in StatesToWalkStepsMapperTest. You probably also have to update support for it in the TestStationBuilder.

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.

Station entrances get removed from Walk Steps
2 participants