aprs.me/test/aprsme
Graham McIntire 753fa50463
Fix ConnectionMonitor deadlock and LeaderElection silent leadership loss
ConnectionMonitor.gather_cluster_stats was calling :rpc.call(Node.self())
which GenServer.call'd back into itself while blocked in handle_info,
causing a 5-second deadlock timeout every 30 seconds. Fixed by computing
local stats directly from state.

LeaderElection never verified that a leader still held the :global
registration. After :global conflict resolution (two isolated nodes
merging), the loser was silently unregistered but stayed is_leader: true
forever, causing both pods to connect to APRS-IS with the same callsign
in a reconnect loop. Fixed by adding verify_leadership/1 to
check_leadership which detects lost registrations and steps down.
2026-02-19 18:18:31 -06:00
..
accounts add callsign to users 2025-07-10 16:07:05 -05:00
cluster Fix ConnectionMonitor deadlock and LeaderElection silent leadership loss 2026-02-19 18:18:31 -06:00
is Add TCP backpressure to packet pipeline 2026-02-19 15:31:51 -06:00
packets Fix credo warnings and start on design suggestions 2026-02-09 11:23:01 -06:00
workers Add mix parse_file task, fix datetime deprecation, update gitignore, fix cleanup worker test 2026-02-18 14:49:14 -06:00
archiver_test.exs refactor to use external parser 2025-06-24 14:22:09 -05:00
bad_packet_test.exs refactor to use external parser 2025-06-24 14:22:09 -05:00
broadcast_task_supervisor_test.exs test: Make tests time-independent and increase timeouts for reliability 2025-08-02 10:07:47 -05:00
callsign_test.exs more permissive callsign parsing 2025-07-12 09:10:49 -05:00
connection_monitor_test.exs Fix ConnectionMonitor deadlock and LeaderElection silent leadership loss 2026-02-19 18:18:31 -06:00
connection_prevention_test.exs refactor to use external parser 2025-06-24 14:22:09 -05:00
convert_test.exs Optimize test suite performance - 32.5% faster execution 2025-07-21 09:23:07 -05:00
data_extended_test.exs fix messaging name 2025-06-24 14:29:47 -05:00
db_optimizer_test.exs Add tests for 14 modules with 0% coverage 2026-02-09 17:19:50 -06:00
device_identification_test.exs fix: Fix failing tests and improve test reliability 2025-07-30 14:24:21 -05:00
dynamic_supervisor_test.exs Add tests for 14 modules with 0% coverage 2026-02-09 17:19:50 -06:00
encoding_utils_test.exs update deps 2025-07-16 08:20:20 -05:00
enhanced_parser_test.exs Fix credo issues 2026-02-09 11:17:56 -06:00
error_handler_test.exs Add tests for 14 modules with 0% coverage 2026-02-09 17:19:50 -06:00
geo_utils_test.exs Fix all failing tests 2025-07-25 14:14:04 -05:00
geometry_test.exs fix: Resolve majority of dialyzer type errors 2025-07-30 13:30:21 -05:00
is_test.exs Add TCP backpressure to packet pipeline 2026-02-19 15:31:51 -06:00
migration_lock_test.exs Add tests for 14 modules with 0% coverage 2026-02-09 17:19:50 -06:00
mock_helpers_test.exs Add tests for 14 modules with 0% coverage 2026-02-09 17:19:50 -06:00
packet_consumer_pool_test.exs Fix API documentation to match implementation 2026-02-19 10:22:10 -06:00
packet_consumer_test.exs Improve packet pipeline reliability, security, and cleanup efficiency 2026-02-19 14:11:48 -06:00
packet_counter_test.exs Add tests for 14 modules with 0% coverage 2026-02-09 17:19:50 -06:00
packet_parsing_test.exs Fix ArgumentError for unknown field :phg in schema 2025-07-28 12:27:19 -05:00
packet_pipeline_integration_test.exs clean up warnings 2025-07-16 08:55:46 -05:00
packet_pipeline_setup_test.exs Add tests for 14 modules with 0% coverage 2026-02-09 17:19:50 -06:00
packet_pipeline_supervisor_test.exs Fix API documentation to match implementation 2026-02-19 10:22:10 -06:00
packet_producer_backpressure_test.exs Add TCP backpressure to packet pipeline 2026-02-19 15:31:51 -06:00
packet_producer_test.exs Add TCP backpressure to packet pipeline 2026-02-19 15:31:51 -06:00
packet_replay_test.exs refactor to use external parser 2025-06-24 14:22:09 -05:00
packet_test.exs fix: Comprehensive packet processing and test optimization improvements 2025-08-01 17:50:07 -05:00
packet_weather_extraction_test.exs integrate /:call to main page 2025-07-13 10:36:58 -05:00
packets_encoding_test.exs refactor to use external parser 2025-06-24 14:22:09 -05:00
packets_mic_e_test.exs add packet batcher 2025-06-24 15:06:09 -05:00
packets_oldest_test.exs updates with parser updates 2025-08-03 09:19:31 -05:00
packets_test.exs Add other SSIDs list to map sidebar, fix context/web boundary 2026-02-18 18:15:02 -06:00
packets_weather_test.exs fix geolocation hopefully 2025-07-10 17:12:49 -05:00
passcode_test.exs Optimize test suite performance - 32.5% faster execution 2025-07-21 09:23:07 -05:00
streaming_packets_pubsub_test.exs test: Make tests time-independent and increase timeouts for reliability 2025-08-02 10:07:47 -05:00