aprs.me/lib/aprsme_web/live/map_live
Graham McIntire d5781f2581
Fix comprehensive crash prevention and add missing RF path station markers
This commit addresses two major areas:

1. Crash Prevention & Error Handling:
   - Added error handling to all database queries to prevent crashes
   - Implemented circuit breaker pattern for APRS-IS connection
   - Added timeouts to all Redis operations (5 second timeout)
   - Fixed unsafe pattern matches that could cause MatchError crashes
   - Added try/rescue blocks around background tasks
   - Improved socket operation error handling with proper cleanup
   - Enhanced packet cleanup worker with comprehensive error handling

2. RF Path Station Markers:
   - Fixed issue where digipeater/iGate icons weren't shown when searching for callsigns
   - Now loads and displays position markers for all stations in the RF path
   - Extracts RF path stations from tracked callsign packets
   - Fetches latest position for each digipeater/iGate
   - Properly displays complete RF path visualization with station positions

Technical details:
- Added Process.alive? checks before sending messages
- Fixed resource cleanup in terminate functions
- Added proper error handling to File.read operations
- Implemented safe wrapper for ShutdownHandler health checks
- All changes ensure the app continues running even when errors occur

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-28 11:56:00 -05:00
..
bounds_manager.ex clean up warnings 2025-07-16 08:55:46 -05:00
data_builder.ex clean up warnings 2025-07-16 08:55:46 -05:00
display_manager.ex major refactor for cleanup 2025-07-14 12:06:10 -05:00
historical_loader.ex Fix comprehensive crash prevention and add missing RF path station markers 2025-07-28 11:56:00 -05:00
index.ex Fix comprehensive crash prevention and add missing RF path station markers 2025-07-28 11:56:00 -05:00
map_helpers.ex major refactor for cleanup 2025-07-14 12:06:10 -05:00
navigation.ex major refactor for cleanup 2025-07-14 12:06:10 -05:00
packet_manager.ex clean up warnings 2025-07-16 08:55:46 -05:00
packet_processor.ex Move Redis PubSub config to runtime initialization 2025-07-26 10:10:55 -05:00
packet_store.ex performance improvements 2025-07-14 16:35:58 -05:00
packet_utils.ex major refactor for cleanup 2025-07-14 12:06:10 -05:00
popup_component.ex integrate /:call to main page 2025-07-13 10:36:58 -05:00
rf_path.ex major refactor for cleanup 2025-07-14 12:06:10 -05:00
url_params.ex major refactor for cleanup 2025-07-14 12:06:10 -05:00
utils.ex major refactor for cleanup 2025-07-14 12:06:10 -05:00