Cache map aerodrome distances and add Flutter CI workflow #23

Merged
brenno merged 1 commit from chore/cache-copy-ci into main 2026-06-30 23:52:13 +00:00
Owner

Summary

  • Cache _allAerodromeDistances for the unfiltered map view until location or aerodrome dataset changes.
  • Memoize _HieroCopy per AppLanguage to avoid rebuilding the large copy object on every rebuild.
  • Add .forgejo/workflows/flutter-ci.yml to run flutter analyze and flutter test on pushes to main and on pull requests.

Test plan

  • flutter analyze (no new errors)
  • flutter test (412 tests)
  • Confirm Forgejo Actions runner picks up the new CI workflow after merge
  • Pan/zoom map with empty search filter — markers should still update when location changes
## Summary - Cache `_allAerodromeDistances` for the unfiltered map view until location or aerodrome dataset changes. - Memoize `_HieroCopy` per `AppLanguage` to avoid rebuilding the large copy object on every rebuild. - Add `.forgejo/workflows/flutter-ci.yml` to run `flutter analyze` and `flutter test` on pushes to `main` and on pull requests. ## Test plan - [x] `flutter analyze` (no new errors) - [x] `flutter test` (412 tests) - [ ] Confirm Forgejo Actions runner picks up the new CI workflow after merge - [ ] Pan/zoom map with empty search filter — markers should still update when location changes
Cache map aerodrome distances and add Flutter CI workflow.
Some checks failed
Flutter CI / analyze-and-test (pull_request) Has been cancelled
0846c57bc4
Reuse sorted all-aerodrome distances until location or dataset changes,
memoize _HieroCopy per language, and run analyze/test on every PR via Forgejo Actions.

Co-authored-by: Cursor <cursoragent@cursor.com>
brenno merged commit 70e735b711 into main 2026-06-30 23:52:13 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
brenno/Hiero!23
No description provided.