Enhance offline upload, error handling, and CI workflows#22
Merged
MrAlders0n merged 11 commits intomaplibre_glfrom Apr 14, 2026
Merged
Enhance offline upload, error handling, and CI workflows#22MrAlders0n merged 11 commits intomaplibre_glfrom
MrAlders0n merged 11 commits intomaplibre_glfrom
Conversation
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sync dev to maplibre_gl for testing new map with bug fixes from dev