aprs.me/lib/aprsme_web
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
..
components Fix all failing tests 2025-07-25 14:14:04 -05:00
controllers Fix PgBouncer database connection and graceful shutdown 2025-07-26 15:51:06 -05:00
live Fix comprehensive crash prevention and add missing RF path station markers 2025-07-28 11:56:00 -05:00
plugs Fix ShutdownHandler health check errors 2025-07-28 08:19:27 -05:00
aprs_symbol.ex Add Redis-based distributed caching and rate limiting 2025-07-26 15:29:38 -05:00
endpoint.ex Fix Leaflet library loading race condition and enable Redis-free development 2025-07-27 12:20:23 -05:00
gettext.ex more languages 2025-07-06 10:08:58 -05:00
router.ex back to raster 2025-07-24 12:02:28 -05:00
telemetry.ex Fix TelemetryMetricsPrometheus buckets configuration properly 2025-07-27 14:24:25 -05:00
time_helpers.ex clean up warnings 2025-07-16 08:55:46 -05:00
time_utils.ex refactor and performance improvements 2025-07-10 10:53:34 -05:00
user_auth.ex refactor to use external parser 2025-06-24 14:22:09 -05:00
weather_units.ex fix nil weather units 2025-07-08 12:45:50 -05:00