aeharding / aeharding/wingover

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

未关闭
#211 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
0
派生
0
平均合并
4 小时 2 分钟
30 天内合并 PR
6

描述

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.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。