Worldwide 3-Tier Sync Telemetry Console, API Pull-Rate Governance, Immediate Stop-All Kill Switch & AI Studio Bug Report
Upgrades the Admin Worldwide Course Sync Console with a live progress bar, phase/ETA telemetry, per-tier outcomes, 4-step deduplication merge counts, and a filterable per-region Pass/Partial/Fail report; enforces strict upstream API pull-rate pacing across PDGA, OpenStreetMap Overpass mirrors, and DiscGolfAPI; adds an immediate Stop All Syncs kill switch that aborts both server syncs and client polling; fixes the /api/admin/databases/status render-effect retry loop; and adds a copy-pasteable AI Studio Diagnostic Bug Report (auto-triggered on Stop).
Dig into all 5 changes in v8.2.5
- Live 3-Tier Sync Progress Bar, Region Pass/Fail Report & 4-Step Deduplication Telemetry: Added real-time progress bar, active phase/region detail, dynamic ETA, Passed/Partial/Failed KPI cards, per-tier (PDGA / OSM Overpass / DiscGolfAPI) outcome counters, 4-step spatial + token-set deduplication merge totals, and a filterable per-region Pass/Partial/Fail report inside the Admin Control Modal.
- Immediate Stop-All Sync Kill Switch & Copy-Pasteable AI Studio Diagnostic Bug Report: Wired AbortSignal cancellation across PDGA, OSM Overpass, DiscGolfAPI, standalone region syncs, and background warmers with a 5-minute auto-warm pause and immediate client polling halt, plus an auto-triggered AI Studio Diagnostic Bug Report box that captures pre-stop errors, connected database states, rate-limit counters, and failed/partial regions for 1-click copy-paste into AI Studio.
- Strict Upstream API Pull-Rate Pacing & Batched Disk Cache Writes: Serialized PDGA requests (>=350ms mutex with Retry-After backoff), paced OpenStreetMap Overpass queries (>=2.2s across 3 rotating mirrors with per-mirror cooldowns), sliced the global DiscGolfAPI baseline locally during bulk syncs instead of 101+ repeated pulls, reduced URL verifier concurrency to 4, and coalesced 17 MB local catalog disk flushes to every 10 regions.
- v8.2.5 Energy & Cost Audit Synced Across All 13 Languages: Updated the project energy, token, and codebase audit to v8.2.5 (193k+ lines, 156 source files, 2,925 synced keys across 13 languages, 26–37 kWh build electricity, Google AI Ultra $249.99/mo plan, and ~$12–$60/yr scale-to-zero hosting) across English and all 12 translated locale dictionaries.
- Fixed /api/admin/databases/status Render-Loop 429 Storm & Stuck Retrying State: Stabilized AdminControlModal callbacks via refs + single-open guard, memoized App.tsx onCatalogSynced, added single-flight AbortController cancellation that never retries on HTTP 429/401/403, cached the server Firestore status probe for 15s with bounded 5s timeouts, and exempted Stop All Syncs from sync-trigger rate limits while clearing status rate-limit buckets on cancel.