Skip to content

Add generalizedCostMaxLimit to page cursor #6491

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

Merged
merged 6 commits into from
Mar 14, 2025

Conversation

t2gran
Copy link
Member

@t2gran t2gran commented Feb 26, 2025

Summary

This prepare the page-token to include the generalized-cost-max-limit, so we do not have to do the extra on-street seach when paging.

Issue

Unit tests

Several new tests are added

Documentation

JavaDoc is updated

Changelog

🟥 Exclude

Bumping the serialization version id

Not needed

@t2gran t2gran added Improvement A functional improvement Skip Changelog labels Feb 26, 2025
@t2gran t2gran added this to the 2.7 (next release) milestone Feb 26, 2025
@t2gran t2gran requested a review from a team as a code owner February 26, 2025 11:50
Copy link

codecov bot commented Mar 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.21%. Comparing base (d048f93) to head (602a45f).
Report is 75 commits behind head on dev-2.x.

Additional details and impacted files
@@              Coverage Diff              @@
##             dev-2.x    #6491      +/-   ##
=============================================
+ Coverage      70.18%   70.21%   +0.03%     
- Complexity     18308    18329      +21     
=============================================
  Files           2082     2085       +3     
  Lines          77188    77308     +120     
  Branches        7828     7840      +12     
=============================================
+ Hits           54175    54284     +109     
- Misses         20247    20250       +3     
- Partials        2766     2774       +8     

☔ 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.

eibakke
eibakke previously approved these changes Mar 10, 2025
Copy link
Contributor

@eibakke eibakke left a comment

Choose a reason for hiding this comment

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

LGTM just the typo that Joel pointed out already.

@t2gran t2gran modified the milestones: 2.7, 2.8 (next release) Mar 12, 2025
eibakke
eibakke previously approved these changes Mar 13, 2025
optionsome
optionsome previously approved these changes Mar 14, 2025
Copy link
Member

@optionsome optionsome left a comment

Choose a reason for hiding this comment

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

The couple of typos can be fixed in a follow up pr by @VillePihlava for example.

Co-authored-by: Joel Lappalainen <[email protected]>
@t2gran t2gran dismissed stale reviews from optionsome and eibakke via 602a45f March 14, 2025 09:34
@t2gran t2gran merged commit 8a7a685 into opentripplanner:dev-2.x Mar 14, 2025
6 checks passed
@t2gran t2gran deleted the page_cursor_cost_limit branch March 14, 2025 09:41
@t2gran
Copy link
Member Author

t2gran commented Mar 14, 2025

I merged this since @eibakke allready approved and the last commit was just spelling fixes in doc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Improvement A functional improvement Skip Changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants