aeharding / aeharding/wingover

map: aircraft layer is never added when sync registers before styleReady

Offen
#211 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
0
Forks
0
Ø Merge
4 Std. 2 Min.
Gemergte PRs (30 T.)
6

Beschreibung

Found and verified during the flake campaign (#137, deferred there as out of scope for a flake PR); filing so it survives as its own work item.

`src/ui/shared/map/maplibre/adapter.ts`: line 245 registers `sync` before line 253 sets `styleReady`, so the first `style.load` bails at the line 163 guard and the aircraft layer is never added. `triggerRepaint()` at line 567 then prevents `idle` from ever serving as the retry path.

Two e2e specs assert `data-aircraft-layer` today, which makes the attribute unusable as a readiness gate until this is fixed (context: #209, #210 both had to route around it).

Line numbers are as of the 2026-07-30 audit; re-grep before relying on them.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.