Skip to content

fix(shortestpath): refresh transport data and reopen Al Kharid Palace - #1842

Open
infuse21 wants to merge 2 commits into
chsami:developmentfrom
infuse21:pr/walker-01-transport-data
Open

fix(shortestpath): refresh transport data and reopen Al Kharid Palace#1842
infuse21 wants to merge 2 commits into
chsami:developmentfrom
infuse21:pr/walker-01-transport-data

Conversation

@infuse21

Copy link
Copy Markdown
Contributor

Summary

  • refresh shortest-path transport and collision data
  • remove the erroneous blocked-edge perimeter that sealed Al Kharid Palace
  • add regressions proving routes enter the palace from the north and finish at the requested interior tiles

This is PR 1 of 6. Each PR is kept below 100 changed files for CodeRabbit. The remaining slices will be rebased and opened sequentially after their predecessor merges so earlier files are not counted again.

Validation

  • :client:runUnitTests --tests net.runelite.client.plugins.microbot.shortestpath.ShortestPathCoreTest
  • verified in game: the walker now enters Al Kharid Palace

Scope

16 changed files relative to development.

infuse21 and others added 2 commits August 20, 2026 20:59
Refreshed transport data from several weeks of live walking, delivered
as data only — every file parses with the loader already on
development (unknown header columns are ignored; no code changes).

- agility_shortcuts, canoes, minecarts, quetzals, ships, transports,
  teleportation_items/spells/minigames: coverage and coordinate
  corrections found by live walks.
- DURATION CORRECTIONS: spirit tree rows had a blank Duration column
  and non-teleport transports get no minimum, so every spirit tree
  edge cost the planner exactly ZERO — it picked them even when a
  short walk was faster. Spirit trees blank -> 10, gnome gliders
  8 -> 12, magic mushtrees blank -> 6, proportionate to the existing
  convention (fairy ring 5, quetzal 6, charter 6, boats 9, ships 10).
- blocked_edges/restrictions: entries for doors that never open and
  edges the live game refuses.
- collision-map.zip regenerated (newer map areas).

Part 1 of splitting chsami#1838 into reviewable PRs. Full suite
(:client:runUnitTests) green on this branch.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 2b6a9a1a-338f-40e3-acc4-5e43c9cc5ff6

📥 Commits

Reviewing files that changed from the base of the PR and between 846185d and bfa0fe4.

⛔ Files ignored due to path filters (15)
  • runelite-client/src/main/resources/net/runelite/client/plugins/microbot/shortestpath/agility_shortcuts.tsv is excluded by !**/*.tsv
  • runelite-client/src/main/resources/net/runelite/client/plugins/microbot/shortestpath/blocked_edges.tsv is excluded by !**/*.tsv
  • runelite-client/src/main/resources/net/runelite/client/plugins/microbot/shortestpath/canoes.tsv is excluded by !**/*.tsv
  • runelite-client/src/main/resources/net/runelite/client/plugins/microbot/shortestpath/collision-map.zip is excluded by !**/*.zip
  • runelite-client/src/main/resources/net/runelite/client/plugins/microbot/shortestpath/gnome_gliders.tsv is excluded by !**/*.tsv
  • runelite-client/src/main/resources/net/runelite/client/plugins/microbot/shortestpath/magic_mushtrees.tsv is excluded by !**/*.tsv
  • runelite-client/src/main/resources/net/runelite/client/plugins/microbot/shortestpath/minecarts.tsv is excluded by !**/*.tsv
  • runelite-client/src/main/resources/net/runelite/client/plugins/microbot/shortestpath/quetzals.tsv is excluded by !**/*.tsv
  • runelite-client/src/main/resources/net/runelite/client/plugins/microbot/shortestpath/restrictions.tsv is excluded by !**/*.tsv
  • runelite-client/src/main/resources/net/runelite/client/plugins/microbot/shortestpath/ships.tsv is excluded by !**/*.tsv
  • runelite-client/src/main/resources/net/runelite/client/plugins/microbot/shortestpath/spirit_trees.tsv is excluded by !**/*.tsv
  • runelite-client/src/main/resources/net/runelite/client/plugins/microbot/shortestpath/teleportation_items.tsv is excluded by !**/*.tsv
  • runelite-client/src/main/resources/net/runelite/client/plugins/microbot/shortestpath/teleportation_minigames.tsv is excluded by !**/*.tsv
  • runelite-client/src/main/resources/net/runelite/client/plugins/microbot/shortestpath/teleportation_spells.tsv is excluded by !**/*.tsv
  • runelite-client/src/main/resources/net/runelite/client/plugins/microbot/shortestpath/transports.tsv is excluded by !**/*.tsv
📒 Files selected for processing (1)
  • runelite-client/src/test/java/net/runelite/client/plugins/microbot/shortestpath/ShortestPathCoreTest.java

Included review availability: Your plan provides up to 2 included reviews per hour; 1 remains after this review.


Walkthrough

The test suite removes Al Kharid mine perimeter and rerouting coverage. It adds palace entrance and destination coordinates. A parameterized test verifies that the pathfinder enters Al Kharid Palace from the north, produces a non-empty path, completes successfully, and reaches each expected destination. Obsolete mine-specific assertion helpers and containment helpers are removed.

Merge Risk: ⚪ Minimal · up to bfa0f

This PR refreshes shortest-path data, reopens Al Kharid Palace routes, and adds regression coverage; no actionable merge-blocking risk remains beyond normal checks and review.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 6 functions across 1 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the transport-data refresh and Al Kharid Palace access fix.
Description check ✅ Passed The description accurately covers the data refresh, palace access fix, regression tests, and validation.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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.

1 participant