You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix(ci): work around Go 1.25 inliner crash in automation-worker build
The automation-worker build was failing on CI runners with:
internal compiler error: panic: runtime error: invalid memory address
at /usr/local/go/src/sync/atomic/type.go:47:6
while compiling internal/api. This is a Go 1.25 inliner bug that
triggers on the large internal/api package (~219 files) under runner
memory pressure.
Fix applies three defense-in-depth flags to the build:
- GOMEMLIMIT=2GiB caps Go GC growth so peak RSS fits runner budgets
- -p 2 limits parallel compile jobs (default = NumCPU, often too many)
- -gcflags=all=-l disables inlining, sidestepping the crash
Locally verified: docker build --no-cache produces a 56.4MB image in 71s
(vs 36s with inlining); the resulting binary boots and exits cleanly
from the built-in healthcheck path.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Expose Leaflet globally; update i18n placeholders
Add leafletGlobal.ts to mirror Leaflet onto window.L so classic plugins (leaflet-draw, markercluster, etc.) can find L when evaluated. Import this module in GeofenceDrawer and MarkerCluster before the plugin imports to ensure plugins don't throw `L is not defined`. Also update en.json placeholder formatting for pagination strings (noData, showing, pageOf) from JS template literals to i18n-style {{}} placeholders.
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments