Skip to content

Enhance offline upload, error handling, and CI workflows#22

Merged
MrAlders0n merged 11 commits intomaplibre_glfrom
dev
Apr 14, 2026
Merged

Enhance offline upload, error handling, and CI workflows#22
MrAlders0n merged 11 commits intomaplibre_glfrom
dev

Conversation

@MrAlders0n
Copy link
Copy Markdown
Contributor

Sync dev to maplibre_gl for testing new map with bug fixes from dev

MrAlders0n and others added 11 commits April 12, 2026 08:03
…Advert your device on the mesh" when GPS is disabled. The error is caught before hitting the API. Device connection is not required for offline upload, only GPS and network connectivity.
…ts with oversized path lengths previously produced an unclear RangeError. The error message now describes the actual problem. Affected packets were already safely skipped; this only improves diagnostic output.
… into a new zone (e.g., BOS → PVD), the app now handles the transfer directly: releases the old session, acquires a new one for the target zone, updates regional channels and scopes, and resumes auto-ping automatically. A "Changing Zone..." overlay shows during the transfer with a cancel option. Previously, backend-side session transfers could intermittently fail with a bad_session error, forcing a disconnect mid-drive.
…connection. Previously these devices were not matched in the device database, requiring manual power level selection on every connect.
…de. Previously, switching to offline mode while retrying (e.g., no internet) left the retry timer running, causing repeated failed API calls in the background. Retry timers and maintenance polling are now cancelled immediately when offline mode is enabled.
…er list fails to load. The zone check now completes immediately and repeaters load in the background
…es (e.g., CDN/proxy error pages during network issues). Now logs a clear diagnostic message instead of a raw FormatException. No behavior change, zone check already handled this gracefully.
…or API payload. Only direct single-hop echoes are tracked, since multi-hop readings reflect the forwarding repeater's link rather than the original repeater's signal.
…olor, wider mouth, no eye. Existing users are automatically migrated on next launch.
Adds a new CI workflow that runs flutter analyze and flutter test on
every PR targeting main or dev, and a CODEOWNERS file routing all
review requests to @MrAlders0n. Combined with branch protection updates
(require_code_owner_reviews), this enforces owner approval on every
incoming PR before merge.

The workflow uses least-privilege contents:read permissions and does
not inject API_KEY, since analyze/test do not need it and keeping it
out of PR runs prevents fork-PR exposure.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
ci: add PR-triggered CI workflow and CODEOWNERS
@MrAlders0n MrAlders0n merged commit 4cdad50 into maplibre_gl Apr 14, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant