Skip to content

feat: add runtime location override support#127

Merged
olalie merged 1 commit into
mainfrom
feat/location-env-override
May 26, 2026
Merged

feat: add runtime location override support#127
olalie merged 1 commit into
mainfrom
feat/location-env-override

Conversation

@olalie

@olalie olalie commented May 26, 2026

Copy link
Copy Markdown
Owner

Summary

Add runtime location override support using TAPMAP_LON and TAPMAP_LAT.

This allows:

  • skipping external public-IP lookup
  • overriding automatic local geolocation
  • setting fixed runtime coordinates without editing config.py

The PR also expands regression coverage for rolling 30-day insights persistence semantics and improves workflow naming consistency.

Changes

Runtime

  • Add location_override runtime context field
  • Add runtime env parsing and validation for:
    • TAPMAP_LON
    • TAPMAP_LAT
  • Apply runtime override precedence before config.py resolution

UI

  • Add ENV local-location mode to status line
  • Add ENV semantics to About view
  • Add ENV documentation to Help view

Documentation

  • Document runtime location override support in README
  • Document privacy behavior for public-IP lookup
  • Add Docker Hub examples for runtime location override
  • Document Daily Activity Report keyboard shortcut

Testing

  • Add focused regression tests for runtime location override parsing
  • Add validation and boundary coverage for runtime coordinate parsing
  • Add comprehensive regression coverage for rolling 30-day insights bitmaps
  • Add bitmap aging, pruning, and re-observation boundary tests
  • Clarify and preserve internal anchor_day bitmap semantics

CI

  • Clarify macOS build naming in artifact workflows

Maintenance

  • Ignore full Docker runtime directory
  • Fix MkDocs README list rendering
  • Remove unused Flask dependency

Validation

  • pytest
  • 265 passed

@olalie olalie merged commit bce2941 into main May 26, 2026
6 checks passed
@olalie olalie deleted the feat/location-env-override branch May 26, 2026 21:55
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