Skip to content

Recover from repeated route execution failures - #102

Merged
adrunkhuman merged 1 commit into
masterfrom
server/recover-route-execution-failures
Aug 10, 2026
Merged

Recover from repeated route execution failures#102
adrunkhuman merged 1 commit into
masterfrom
server/recover-route-execution-failures

Conversation

@adrunkhuman

Copy link
Copy Markdown
Owner

Closes #100.

Bot One now treats three consecutive movement-result mismatches for one destination as a bounded patrol failure. It records the stuck event, skips the failed patrol point, and either resumes at the next point or uses the existing service fallback when no patrol points remain.

Navigation resets clear the failure count, so unrelated routes cannot combine into a false recovery.

Verification

  • pwsh -File scripts/test-playerbot-gameplay.ps1 -Focused -FullNavigation -SkipBuild passed the existing temporary-blockage scenario and the deterministic repeated-execution-failure scenario.
  • The recovery fixture recorded three failed steps, skipped the failed destination, reached the next waypoint, and emitted no terminal event.

@adrunkhuman
adrunkhuman merged commit 81b25b7 into master Aug 10, 2026
1 check passed
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.

Recover from repeated route execution failures

1 participant