Back to Developer Logs
Core System Stability: Astro Routing & Race Condition Fixes2026-07-07

Summary of Key Updates

  • Astro Router Bypass & PushState: Resolved severe UI flashing and state-loss issues caused by Astro’s internal router hijacking sidebar clicks. Replaced standard anchor tags with scripted containers and implemented window.history.pushState for instant, seamless URL updates without page reloads.
  • Cloudflare Trailing Slash Resolution: Updated Regex URL parsers to dynamically handle and strip trailing slashes (/) automatically appended by Cloudflare routing, preventing critical failures in multi-skill detection.
  • Passive Tree Race Condition Fix: Solved a race condition where the Ascendancy UI would fail to render properly. The application now enforces a strict await fetch protocol, guaranteeing the game-passive-skill-tree.txt data is fully loaded and mapped before attempting to calculate coordinates or categorizing “Key Notables”.
  • Legacy Class Name Fallbacks: Built a robust mapping engine to instantly correlate legacy GGG internal class names (e.g., “Beastmaster”) with updated launch nomenclature (e.g., “Spirit Walker”), preventing missing heatmap focal points.